错误提示 relocation overflow in R_ARM_THM_CALL
frameworks\runtime-src\proj.android\jni mk 文件中加入LOCAL_ARM_MODE := arm
也没用 用的NDK R10C
错误提示 relocation overflow in R_ARM_THM_CALL
frameworks\runtime-src\proj.android\jni mk 文件中加入LOCAL_ARM_MODE := arm
也没用 用的NDK R10C
用的是刚刚用COOCS命令新建的lua工程
cocos//editor-support/cocostudio/CCComAttribute.cpp:32: error: relocation overfl
ow in R_ARM_THM_CALL
E:/android-ndk-r10c/sources/cxx-stl/gnu-libstdc++/4.8/include\bits/hashtable.h:3
98: error: relocation overflow in R_ARM_THM_CALL
E:/android-ndk-r10c/sources/cxx-stl/gnu-libstdc++/4.8/include\bits/hashtable.h:3
98: error: relocation overflow in R_ARM_THM_CALL
E:/android-ndk-r10c/sources/cxx-stl/gnu-libstdc++/4.8/include\bits/hashtable.h:3
98: error: relocation overflow in R_ARM_THM_CALL
E:/android-ndk-r10c/sources/cxx-stl/gnu-libstdc++/4.8/include/iostream:74: error
: relocation overflow in R_ARM_THM_CALL
E:/android-ndk-r10c/sources/cxx-stl/gnu-libstdc++/4.8/include\bits/hashtable.h:3
98: error: relocation overflow in R_ARM_THM_CALL
/tmp/ndk-user/tmp/gnu-libstdc++/static-armeabithumb-4.8/include/ext/atomicity.h:
49: error: relocation overflow in R_ARM_THM_CALL
/tmp/ndk-user/tmp/gnu-libstdc++/static-armeabithumb-4.8/include/bits/basic_strin
g.h:249: error: relocation overflow in R_ARM_THM_CALL
/tmp/ndk-user/tmp/gnu-libstdc++/static-armeabithumb-4.8/include/ext/atomicity.h:
49: error: relocation overflow in R_ARM_THM_CALL
/tmp/ndk-user/tmp/gnu-libstdc++/static-armeabithumb-4.8/include/bits/basic_strin
g.h:249: error: relocation overflow in R_ARM_THM_CALL
clang++.exe: error: linker command failed with exit code 1 (use -v to see invoca
tion)
make.exe: *** [obj/local/armeabi/libcocos2dlua.so] Error 1
这是在Application.mk 里加入USE_ARM_MODE := 1 后仍报错
需要在所有的Android.mk加入LOCAL_ARM_MODE := arm
,包括external下的第三方库。
好的 谢谢 后来我更新到最新的git库上的就可以了
我都加了,还是出错。