Failed to create cocos2d-x android project project: Unknown attribute of EABI object 44

Today I use cygwinand ndk-r8for cross-building my project cocos2d-x android: HelloCpp, I fail and get some errors, for example:

Unknown EABI object attribute 44

Here are the messages from cygwin:

StaticLibrary  : libcocos2d.a
SharedLibrary  : libhellocpp.so
E:/android-ndk-r8/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld.exe: Warning: ./obj/local/armeabi/webp.a(alpha.o): Unknown EABI object attribute 44
E:/android-ndk-r8/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld.exe: Warning: ./obj/local/armeabi/webp.a(buffer.o): Unknown EABI object attribute 44

I found some tips on the Internet, and some guys say the ndk toolchains problem. But I do not know what to do. Anyone learning cocos2d-x has the same problem as me? really hope someone can give me guidance.

+5
source share
2 answers

The toolchain you use does not understand the attribute and ignores it. Try updating ndk-r9b to avoid this warning.

+4

Android NDK R8 Windows. Mac, Windows android-ndk-r8c, .

NDK (r8c) .

0

All Articles