videodev.h still required even if HAVE_CAMV4L disabled (Feature #1968)
Description
The file cap_v4l.cpp requires videodev.h to be present even if HAVE_CAMV4L is disabled in the config (I'm trying to use V4L2 so only have HAVE_CAMV4L2 enabled). In the linux distribution I'm using, videodev.h is no longer present so this prevents me from using the video capture functionality.
Associated revisions
Merge pull request #1968 from pentschev:fix_indentation_freak_2.4
History
Updated by Andrey Kamaev almost 13 years ago
Currently
cap_v4l.cpp
is not compiled at all if HAVE_CAMV4L
is disabled. So, please, provide all the details about your case. At least:
- the name/version of your Linux
- what have you changed
- what build error you have
- cmake command output
- Tracker changed from Bug to Feature
- Assignee changed from Alexander Reshetnikov to Henry Rowley
Updated by Henry Rowley almost 13 years ago
Thanks, this got me pointed in the right direction. It looks like I should be using libv4l support instead. (I can't use cmake in my environment so I'm configuring settings by hand, which is probably why this tripped me up.)
- Henry
Updated by Andrey Kamaev almost 13 years ago
So I'm cancelling coz no change for cap_v4l.cpp is required.
- Status changed from Open to Cancelled
- Target version set to 2.4.1
- Assignee changed from Henry Rowley to Andrey Kamaev
Updated by Andrey Kamaev over 12 years ago
- Category changed from highgui-images to highgui-camera