錯誤信息:
libSBRdec/src/lpp_tran.cpp:122:21: fatal error: log/log.h: No such file or directory
#include "log/log.h"
^
compilation terminated.
make: *** [Makefile:1575: libSBRdec/src/lpp_tran.lo] Error 1
CXX libSBRdec/src/lpp_tran.lo
libSBRdec/src/lpp_tran.cpp:122:21: fatal error: log/log.h: No such file or directory
#include "log/log.h"
^
compilation terminated.
make: *** [Makefile:1575: libSBRdec/src/lpp_tran.lo] Error 1
大佬解釋是:這是因爲fdk-aac已經作爲android的一部分被構建了,所以直接引入了android纔有的log庫打印一些日誌。
解決辦法:打開/libSBRdec/src/llp_tran.cpp源碼,把log相關的引用代碼和調用的地方刪掉即可。