FFmpeg:'UINT64_C' was not declared in ths scope

来源:互联网 发布:问道九游端口 编辑:程序博客网 时间:2024/06/17 20:57

这个错误的出现还会伴随着下面这个错误:

error: #error missing -D__STDC_CONSTANT_MACROS / #define __STDC_CONSTANT_MACROS
 #error missing -D__STDC_CONSTANT_MACROS / #define __STDC_CONSTANT_MACROS

  

解决的办法是在libavuti\common.h开头处加入

#ifndef UINT64_C
#define UINT64_C(c) (c ## ULL)
#endif

参考链接:https://github.com/AutonomyLab/ardrone_autonomy/issues/1



12 0
原创粉丝点击