v4l2驱动摄像头 出现错误UINT64_C' was not declared in this scope 解决

编译时报错如下:

/usr/include/libavutil/common.h:168: 错误:'UINT64_C' was not declared in this scope

解决:

在common.h里面添加#ifndef   UINT64_C


#define   UINT64_C(value)__CONCAT(value,ULL)


#endif

视图如下:

v4l2驱动摄像头 出现错误UINT64_C' was not declared in this scope 解决_第1张图片


你可能感兴趣的:(v4l2驱动摄像头 出现错误UINT64_C' was not declared in this scope 解决)