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