编译TQCamera_210出错
编译TQ210的摄像头例子代码时候出现:main.cpp: In function 'int main(int, char**)':
main.cpp:66: error: 'V4L2_DEV_NODE' was not declared in this scope
main.cpp:73: error: 'CAMERA_SET_SIZE' was not declared in this scope
main.cpp:73: error: 'CAMERA_SIZE_ARG' was not declared in this scope
main.cpp:74: error: 'CAMERA_SET_FORMAT' was not declared in this scope
main.cpp:74: error: 'CAMERA_FORMAT_ARG' was not declared in this scope
main.cpp:77: error: 'FB_DEV_NODE' was not declared in this scope
main.cpp:84: error: 'fb_grab' was not declared in this scope
main.cpp:94: error: 'v4l2_show_on_fb' was not declared in this scope
main.cpp:103: error: 'fb_ungrab' was not declared in this scope
make: *** Error 1
文件中已经添加了:
#include <linux/videodev2.h>
请问怎样解决?
页:
[1]