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, std::__1::allocator>>&, double, int, int, cv::Size_, cv::Size_)", 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
↧