首页 > 其他 > 详细

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

时间:2015-03-31 17:54:22      阅读:1102      评论:0      收藏:0      [点我收藏+]

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

 

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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!