当我为Android构建Gamekit时,我收到了以下错误:
...(deleted)
[ 98%] Built target OgreKitCore
Linking CXX executable ../../../bin/StripBlend
/usr/local/android-ndk-r8b/toolchains/mipsel-linux-android-4.6/prebuilt/linux-x86/bin/../lib/gcc/mipsel-linux-android/4.6.x-google/../../../../mipsel-linux-android/bin/ld: cannot open linker script file /usr/local/android-ndk/toolchains/mipsel-linux-android-4.6/mipself.x: No such file or directory
collect2: ld returned 1 exit status
make[2]: *** [../bin/StripBlend] Error 1
make[1]: *** [FileTools/Strip/CMakeFiles/StripBlend.dir/all] Error 2
make: *** [all] Error 2
我谷歌搜索并发现相关帖子: https://groups.google.com/forum/#!msg/doubango/TVOUjTxfbtA/y6eaikfcTu0J 他们只是回滚NDK版本来解决这个问题。
但是,我必须为MIPS CPU构建一个Android Gamekit库,所以我需要NDK-r8或NDK-r8b。
有什么建议可以解决这个问题吗?
PS:GameKit是http://code.google.com/p/gamekit/