Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 11.04 compile error #14

Open
ExReanimator opened this issue Sep 2, 2011 · 3 comments
Open

Ubuntu 11.04 compile error #14

ExReanimator opened this issue Sep 2, 2011 · 3 comments

Comments

@ExReanimator
Copy link

Videodev.h library is no longer supporting in kernel.

$ make
[ 11%] Built target qtInterfaces_lib
[ 17%] Building CXX object src/CMakeFiles/AndroidUsbCameraStaticLib.dir/framesconverter.cpp.o
AndroidUsbCamera/src/framesconverter.cpp:32:28: fatal error: linux/videodev.h: No such file or directory
compilation terminated.
make[2]: *** [src/CMakeFiles/AndroidUsbCameraStaticLib.dir/framesconverter.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/AndroidUsbCameraStaticLib.dir/all] Error 2
make: *** [all] Error 2

@00091701
Copy link

I have the same problem.

@jalcine
Copy link

jalcine commented Jan 22, 2012

Same here, I've forked this project and revamping it.

I just wish that the Android source code was available; I have to re-write that from source as well. Oh well :)

@jalcine
Copy link

jalcine commented Jan 22, 2012

I should note that you can fix this by just changing

#include <linux/videodev.h>

to

#include <linux/videodev2.h>

The old file isn't in Linux 2.6.38.x +

http://www.pclinuxos.com/forum/index.php?topic=92683.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants