undefined reference to `cvCreateCameraCapture_V4L(int)' on OpenCV 2.9.0 build
Hi I'm trying to build from the latest git source however am getting error
Linking CXX executable ../../bin/opencv_perf_core
../../lib/libopencv_highgui.so.2.9.0: undefined reference to `cvCreateCameraCapture_V4L(int)'
collect2: ld returned 1 exit status
make[2]: *** [bin/opencv_perf_core] Error 1
make[1]: *** [modules/core/CMakeFiles/opencv_perf_core.dir/all] Error 2
make: *** [all] Error 2
Any idea what I should do? I'm on ubuntu 12.04 and have installed libv4l-dev
Edit: Ah my bad, it's silly - turns out I must have messed up the git directory, did a git clean -d -f and a new cmake, and it's building alright now.