Compile++ thumb: cocos2dcpp_shared <= myStatisticsRole.cpp
Compile++ thumb: cocos2dcpp_shared <= myTimeBar.cpp
Compile++ thumb: cocos2dcpp_shared <= myTouchOnceLayer.cpp
Compile++ thumb: cocos2dcpp_shared <= myWatiFaceUI.cpp
Compile++ thumb: cocos2dcpp_shared <= myWinRoleFace.cpp
Compile++ thumb: cocos2dcpp_shared <= myWinUILayer.cpp
SharedLibrary : libcocos2dcpp.so
make.exe: Leaving directory `E:/MyCocos2dWorkSpace/MyGame/proj.android’
process_begin: CreateProcess(C:\android-ndk-r10c\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-g++.exe, C:/android-ndk-r10c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-g++ -Wl,-soname,libcocos2dcpp.so -shared --sysroot=C:/android-ndk-r10c/platforms/android-9/arch-arm ./obj/local/armeabi/objs/cocos2dcpp_shared/hellocpp/main.o ./obj/local/armeabi/objs/cocos2dcpp_shared///Classes/AppDelegate.o
(此处省略无数.o文件)
/obj/local/armeabi/objs/cocos2dcpp_shared///Classes/myUI\myWinUILayer.o -Wl,–whole-archive ./obj/local/armeabi/libcocos2dandroid.a ./obj/local/armeabi/libcpufeatures.a -Wl,–no-whole-archive ./obj/local/armeabi/libcocos2d.a ./obj/local/armeabi/libcocostudio.a ./obj/local/armeabi/libcocosbuilder.a ./obj/local/armeabi/libcocos3d.a ./obj/local/armeabi/libspine.a ./obj/local/armeabi/libnetwork.a ./obj/local/armeabi/libaudioengine.a ./obj/local/armeabi/libiconv.a ./obj/local/armeabi/libui.a ./obj/local/armeabi/libcocosdenshion.a ./obj/local/armeabi/libprotobuf-lite.a jni/…/…/cocos2d/external/websockets/prebuilt/android/armeabi/libwebsockets.a ./obj/local/armeabi/libextension.a ./obj/local/armeabi/libcocos2dxinternal.a jni/…/…/cocos2d/external/curl/prebuilt/android/armeabi/libcurl.a ./obj/local/armeabi/libbox2d.a jni/…/…/cocos2d/external/freetype2/prebuilt/android/armeabi/libfreetype.a jni/…/…/cocos2d/external/png/prebuilt/android/armeabi/libpng.a jni/…/…/cocos2d/external/jpeg/prebuilt/android/armeabi/libjpeg.a jni/…/…/cocos2d/external/tiff/prebuilt/android/armeabi/libtiff.a jni/…/…/cocos2d/external/webp/prebuilt/android/armeabi/libwebp.a jni/…/…/cocos2d/external/chipmunk/prebuilt/android/armeabi/libchipmunk.a jni/…/…/cocos2d/external/curl/prebuilt/android/armeabi/libssl.a jni/…/…/cocos2d/external/curl/prebuilt/android/armeabi/libcrypto.a C:/android-ndk-r10c/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi/thumb/libgnustl_static.a -lgcc -no-canonical-prefixes -Wl,–no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -latomic -LC:/android-ndk-r10c/platforms/android-9/arch-arm/usr/lib -lOpenSLES -lGLESv2 -llog -lz -landroid -lGLESv1_CM -lGLESv2 -lEGL -llog -lz -landroid -ldl -lc -lm -o ./obj/local/armeabi/libcocos2dcpp.so, …) failed.
make (e=87): 参数错误。
make.exe: *** Error 87
We will remove this script next version,you should use cocos console to build android project.
Traceback (most recent call last):
File “E:/MyCocos2dWorkSpace/MyGame/proj.android/build_native.py”, line 149, in
The Selected NDK toolchain version was 4.9 !
build(opts.ndk_build_param,opts.android_platform,opts.build_mode)
File “E:/MyCocos2dWorkSpace/MyGame/proj.android/build_native.py”, line 134, in build
do_build(cocos_root, ndk_root, app_android_root,ndk_build_param,sdk_root,android_platform,build_mode)
File “E:/MyCocos2dWorkSpace/MyGame/proj.android/build_native.py”, line 70, in do_build
raise Exception(“Build dynamic library for project " + app_android_root + " ] fails!”)
Exception: Build dynamic library for project E:\MyCocos2dWorkSpace\MyGame\proj.android ] fails!