VideoCapture problem in opencv 2.4.11, Ubuntu 14.04, eclipse mars [closed]
Hi,
I downloaded opencv 2.4.11 and the linker can not find some functions (VideoCapture, namedWindow, ...): /test/gstreamer2opencv/Debug/../gstreamer2opencv.cpp:160: undefined reference to `cv::VideoCapture::VideoCapture(cv::String const&)'
/test/gstreamer2opencv/Debug/../gstreamer2opencv.cpp:167: undefined reference to `cv::namedWindow(cv::String const&, int)'
/test/gstreamer2opencv/Debug/../gstreamer2opencv.cpp:171: undefined reference to `cv::VideoCapture::read(cv::_OutputArray const&)'
/test/gstreamer2opencv/Debug/../gstreamer2opencv.cpp:174: undefined reference to `cv::imshow(cv::String const&, cv::_InputArray const&)'
I am linking core and highgui libs. grep finds lines with those functions in libhighgui.so, so I do not understand what is going on. If I remove highgui lib I get even more reference errors, so my paths seem to be correct, too. Anyone have an idea what could be the problem?