Created attachment 345502 [details] Patch File to fix compiling opencv with v4l Somewhere in the 3.6+ they removed V4L support in the kernel headers. so linux/videodev.h is now gone. The system will fail with a bunch of errors like: /var/tmp/portage/media-libs/opencv-2.4.4a/work/opencv-2.4.4/modules/highgui/src/cap_libv4l.cpp:1485:21: error: 'CvCaptureCAM_V4L' has no member named 'capability' Since opencv still can use libv4l2, they have added a compatibility include called libv4l1-videodev.h that is installed. I have attached a small one line patch that worked for me
Created attachment 345504 [details] Slighly modified ebuild to add patch to list
I cannot reproduce this with gentoo-sources-3.8.10, linux-headers-3.8 and opencv-2.4.5. If you still have problems with opencv-2.4.5, please re-open and attach emerge --info output and build log.