Error buliding opencv2.4.10 on Ubuntu 14.04 with v4l2 support

asked 2015-01-06 16:37:55 -0600

eng.eslam gravatar image

I’m trying to build opencv2.4.10 with_v4l2 and I’m stuck with that build error i have installed the latest v4l2 lib and libv4l2-dev please help me

Linking CXX executable ../../bin/opencv_perf_imgproc

//usr/local/lib/libv4l2.so.0: undefined reference to `v4lconvert_fixup_fmt'

//usr/local/lib/libv4l2.so.0: undefined reference to `v4lconvert_vidioc_g_ext_ctrls'

//usr/local/lib/libv4l2.so.0: undefined reference to `v4lconvert_vidioc_s_ext_ctrls'

//usr/local/lib/libv4l2.so.0: undefined reference to `v4lconvert_vidioc_try_ext_ctrls'

collect2: error: ld returned 1 exit status

make[2]: * [bin/opencv_perf_imgproc] Error 1

make[1]: * [modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/all] Error 2

make: * [all] Error 2

edit retag flag offensive close merge delete