调用ffmpeg库编译时出现common.h:175:47: error: 'UINT64_C' was not declared in this scope
生活随笔
收集整理的這篇文章主要介紹了
调用ffmpeg库编译时出现common.h:175:47: error: 'UINT64_C' was not declared in this scope
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
解決辦法
出現錯誤:jni/ffmpeg/libavutil/common.h:175:47: error: 'UINT64_C' was not declared in this scope
解決:在 jni/ffmpeg/libavutil/common.h中添加
// add by XXX
#ifndef UINT64_C
#define UINT64_C(value)__CONCAT(value,ULL)
#endif
//-//
最后編譯通過,在目錄~/workspace/ffmpeg_android/libs/armeabi-v7a/下面會生成android可執行文件ffmpeg_android (實現H264解碼的demo程序)?
http://www.linuxidc.com/Linux/2013-08/88545p3.htm
?
http://blog.csdn.net/ccm_oliver/article/details/8968860?undifine
?
?
總結
以上是生活随笔為你收集整理的调用ffmpeg库编译时出现common.h:175:47: error: 'UINT64_C' was not declared in this scope的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: robots.txt网站爬虫文件设置
- 下一篇: objloader使用方法