码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2015-03-31 17:54:26      阅读:236      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!