linux/videodev.h: No such file or directory错误解决方法
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash
·
yum install libv4l-dev*
上面错误的问题是两个2.4以上的内核里面都没有包含videodev.h这个文件了。但是有的在include/linux/下面有videodev.h文件和videodev2.h这个文件,但是在v4lgrab.c文件中只有部分包含了videodev2.h这个文件。这样导致了就算是包含了videodev2.h这个文件,但是还是会报错。解决的办法是:
vi Documentation/video4linux/v4lgrab.c
linux/videodev.h: No such file or directory然后将v4lgrab.c中的
"#include <linux/videodev.h>"
用
#include <libv4l1-videodev.h>
代替。
A beautiful web dashboard for Linux
最近提交(Master分支:27 天前 )
186a802e
added ecosystem file for PM2 5 年前
5def40a3
Add host customization support for the NodeJS version 5 年前
更多推荐


所有评论(0)