0
点赞
收藏
分享

微信扫一扫

FFmpeg:‘UINT64_C‘ was not declared in ths scope


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

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​​

 

举报

相关推荐

0 条评论