Ask Your Question

hqt08's profile - activity

2013-08-22 02:14:15 -0600 received badge  Editor (source)
2013-08-22 01:21:46 -0600 asked a question 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.

2013-08-22 00:40:11 -0600 received badge  Necromancer (source)
2013-08-21 05:40:48 -0600 answered a question how to read the document of opencv 2.4.4

Hi, I know this is a bit old but I was myself recently searching to parse the rst files to html to get the documentation offline. What you'll need to do is go to your build directory and run the command make html_docs. This uses sphinx to build the documentation (so make sure it is installed).

More details found in this post.