mpeg4ip.h:126: error: new declaration ‘char* strcasestr(const char*, const char*)’ 分类: ffmpeg 2015-02-02 13:44 116人阅读 评论(0) 收藏
Posted on 2015-02-02 13:44 LuckyBill 阅读(225) 评论(0) 收藏 举报
编译faac的时候出错了,需要修改代码.
如下:
从123行开始修改此文件mpeg4ip.h,到129行结束。
修改前:
#ifdef __cplusplus extern "C++" { #endif const char *strcasestr(const char *haystack, const char *needle); #ifdef __cplusplus } #endif
修改后:
<span style="color:#444444;">#ifdef __cplusplus extern </span><span style="color:#ff0000;">"C++" </span><span style="color:#444444;">{ #endif </span><span style="color:#ff0000;">const</span><span style="color:#444444;"> char *strcasestr(const char *haystack, const char *needle); #ifdef __cplusplus } #endif</span>编译通过,原文转至:http://www.xsdou.com/1801.html