2016-01-24 19:47:07 -0600 | commented question | Why mac cannot build opencv file ? My code is working fine with my linux computer |
2016-01-24 16:03:47 -0600 | commented question | Why mac cannot build opencv file ? cmake_install.cmake sss:server salemalqahtani$ cmake . -- Configuring done -- Generating done -- Build files have been written to: /Users/salemalqahtani/Desktop/server sss:server salemalqahtani$ make [ 50%] Linking CXX executable server Undefined symbols for architecture x86_64: "cv::CascadeClassifier::detectMultiScale(cv::_InputArray const&, std::__1::vector<cv::rect_<int>, std::__1::allocator<cv::rect_<int> > >&, double, int, int, cv::Size_<int>, cv::Size_<int>)", referenced from: input_option() in server.cpp.o thread_comm(void) in server.cpp.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: [server] Error 1 make[1]: [CMakeFiles/server.dir/all] Error 2 make: ** [all] Error |
2016-01-24 15:14:19 -0600 | commented question | Why mac cannot build opencv file ? I install everything again used home-brew but I still have the same problem |
2016-01-23 12:29:47 -0600 | commented question | Why mac cannot build opencv file ? What do you mean ? Can you be more specific. |
2016-01-23 09:49:16 -0600 | asked a question | Why mac cannot build opencv file ? Hi there, I have mac El Capitan 10.11.2. I installed opencv 2.4.11 I follow many tutorials and non of them working. When I build my program like this cmake . make It generate the following errors. Can anybody guid me with a lot of thanks. sss:NewNetwork salemalqahtani$ make [ 50%] Linking CXX executable NewNetwork Undefined symbols for architecture x86_64: "cv::CascadeClassifier::detectMultiScale(cv::_InputArray const&, std::__1::vector<cv::rect_<int>, std::__1::allocator<cv::rect_<int> > >&, double, int, int, cv::Size_<int>, cv::Size_<int>)", referenced from: input_option() in server.cpp.o thread_comm(void) in server.cpp.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: [NewNetwork] Error 1 make[1]: [CMakeFiles/NewNetwork.dir/all] Error 2 make: ** [all] Error 2 |