Android4.0.4编译问题‘SetState’ was not declared in this scope

来源:互联网 发布:淘宝海外代购哪家靠谱 编辑:程序博客网 时间:2024/05/29 06:37

xternal/srec/tools/thirdparty/OpenFst/fst/lib/cache.h:132:17: error: ‘SetState’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]


Fix:
cd external/srec
wget "https://github.com/CyanogenMod/android_external_srec/commit/4d7ae7b79eda47e489669fbbe1f91ec501d42fb2.diff"
patch -p1 < 4d7ae7b79eda47e489669fbbe1f91ec501d42fb2.diff
rm -f 4d7ae7b79eda47e489669fbbe1f91ec501d42fb2.diff
cd ../..



0 0