Opencv 2.2 branch rev 5206 build fails (linux/videodev.h: No such file or directory) (Bug #1115)
Description
When I try to compile r5206 of the 2.2 branch on Ubuntu 11.04 I get the error:
/home/gijs/Archive/opencv/opencv-2.2.1+svn5206/modules/highgui/src/cap_v4l.cpp:217:28: fatal error: linux/videodev.h: No such file or directory
compilation terminated.
There seems to be some related fixing done in r5206
History
Updated by Gijs Molenaar almost 14 years ago
I can't figure out why there is a cap_v4l.cpp and a cap_libv4l.cpp also
Updated by Gijs Molenaar almost 14 years ago
OK, my bad, it turnes out I forgot to install libv4l-dev, which contains a symlink from libv4l.so.0 to libv4l.so, so CMake coudn't find the libv4l lib and triggered some sort of legacy v4l fallback mechanism or something.
Anyway, it is compiling after installing the libv4l-dev ubuntu package.
- Status changed from Open to Done
- (deleted custom field) set to fixed
Updated by Andrey Kamaev almost 13 years ago
- Description changed from When I try to compile rev5206 of the 2.2 branch on Ubuntu 11.04 I get the err... to When I try to compile r5206 of the 2.2 branch on Ubuntu 11.04 I get the error... More
Updated by Andrey Kamaev over 12 years ago
- Category changed from highgui-images to highgui-camera