编译时报错如下:
/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
视图如下:

本文介绍了解决在编译过程中遇到的 'UINT64_C' 未声明错误的方法。通过在 common.h 文件中添加 UINT64_C 的宏定义来解决此问题。
编译时报错如下:
/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
视图如下:


被折叠的 条评论
为什么被折叠?