cmake error sys/video.h: No such file (OpenCV 3.1)

asked 2016-09-18 05:18:20 -0600

DevelopB gravatar image

While doing cmake getting below error (OpenCV 3.1 source):

OpenCV/build/make_dir/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:25: fatal error: sys/videoio.h: No such file or directory. compilation terminated. CMakeFiles/cmTC_01654.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_01654.dir/CheckIncludeFile.c.o' failed make[1]: * [CMakeFiles/cmTC_01654.dir/CheckIncludeFile.c.o] Error 1

I'd already installed below libs: libv4l-0:amd64 libv4l-dev:amd64 libv4l2rds0:amd64 libv4lconvert0:amd64 v4l-utils cmake cmd used: sudo cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_NEW_PYTHON_SUPPORT=ON -D BUILD_EXAMPLES=ON -D WITH_TBB=ON -D WITH_V4L=ON -D WITH_EIGEN=OFF -DOPENCV_EXTRA_MODULES_PATH=<path of="" opencv_contrib=""> <path of="" opencv="">

edit retag flag offensive close merge delete

Comments

I am actually unable to proceed from here. Kindly suggest.

DevelopB gravatar imageDevelopB ( 2016-09-19 09:07:31 -0600 )edit