After installing OpenCV 2.9.0.0, I can't compile any program, g++ gives errors (e.g g++: error: pthread: No such file or directory). Please help!
After cloning the source, I followed the instructions on the website to the letter, but on compiling any of the programs that worked fine with OpenCV 2.4.5 with this command:
g++ -ggdb 'pkg-config --cflags opencv' main.cpp 'pkg-config --libs opencv'
, I receive this:
g++: error: rt: No such file or directory
g++: error: pthread: No such file or directory
g++: error: m: No such file or directory
g++: error: dl: No such file or directory
Please help, I'm a beginner here and I really need the intersection and chi^2 kernels for SVMS that aren't in the previous version. If there's any way to use those in the older version, I'd be grateful. Thanks!
Small remark. We suggest not to use hashtags in the tags of your topic. They generate a lot of double tags, rendering the search and filter options useless. Keep this in mind at your next post, adjusted it for you now.