Start learning cocos2d-x-3.*
With the 2.* of the various versions of the knowledge and upgrade experience, this thought directly with the latest 3.2RC0 version practiced hand should be no problem, the result is a big pit. Your sister!
Android ndk:invalid App_stl value:c++_static
After an afternoon of comparison with 3.1.1,3.2ALPHA0,3.2RC0
Finally, 2 solutions were found:
1. Upgrade android-ndk-r9b to the latest android-ndk-r9d (: https://developer.android.com/tools/sdk/ndk/index.html), this is the best policy!
2. Modify JNI/APPLICATION.MK:
Put the first 4 lines:
[Plain]View Plaincopy
- App_stl: = c++_static
- Ndk_toolchain_version=clang
- App_cppflags: =-frtti-dcc_enable_chipmunk_integration=1-std=c++11-fsigned-char
- App_ldflags: =-latomic
Into:
[Plain]View Plaincopy
- App_stl: = gnustl_static
- # add-wno-literal-suffix to avoid warning:warning:invalid suffix on literal; C++11 requires a space between literal and identifier [-wliteral-suffix]
- # in Ndk_root/arch-arm/usr/include/sys/cdefs_elf.h:35:28:when using NDK-R9
- App_cppflags: =-frtti-dcocos2d_debug=1-std=c++11-wno-literal-suffix-fsigned-char
Can!
Windows 7/mac compiled cocos2d-x-3.2* Android project error