In function 'int av_clipl_int32_c(int64_t)': error: 'UINT64_C' was not declared in this scope

时间:2015-03-31 17:54:22   收藏:0   阅读:1102

cygwin下使用ndk编译jni时遇到的错误:

/ffmpeg/include/libavutil/common.h: In function ‘int av_clipl_int32_c(int64_t)‘:

/ffmpeg/include/libavutil/common.h:178:47: error: ‘UINT64_C‘ was not declared in this scope

解决方法:

修改头文件 /ffmpeg/include/libavutil/common.h

添加如下代码:

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

 

参考:

http://www.cnblogs.com/dyllove98/archive/2013/06/07/3125111.html

 

原文:http://www.cnblogs.com/wainiwann/p/4381238.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!