picaosgeo / qgismapper

Automatically exported from code.google.com/p/qgismapper
0 stars 0 forks source link

linux/videodev.h: No such file or directory #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. In the 2nd step of the installation guide, the part about the optional 
qgismapper audio/video support library,
2. In the building of the project.

What is the expected output? What do you see instead?
The optional qgismapper audio/video support library failed to build, giving the 
following error :
"[...]mapper/video-capture/PluginVideoWorker.cpp:17:28: fatal error: 
linux/videodev.h: No such file or directory"

What version of the product are you using? On what operating system?
Debian Sid GNU/Linux

$ uname -a
Linux XXX 3.0.0-2-amd64 #1 SMP Fri Oct 7 20:48:45 UTC 2011 x86_64 GNU/Linux

Please provide any additional information below.
v4l support has been dropped since kernel version 2.6.38.
To fix this, we need to install libv4l-dev and to replace "#include 
<linux/videodev.h>" with "#include <libv4l1-videodev.h>"

See attached patch.

Original issue reported on code.google.com by adrien.p...@gmail.com on 26 Oct 2011 at 1:04

Attachments: