I’m using Cocos2d-x v3.10. NDK_TOOLCHAIN_VERSION: 4.9. I met some errors like to_stirng, stoi is not defined.
I have tried adding
APP_STL := c++_static
NDK_TOOLCHAIN_VERSION := clang
to the end of Android.mk. But it doesn’t work.
I’m using Cocos2d-x v3.10. NDK_TOOLCHAIN_VERSION: 4.9. I met some errors like to_stirng, stoi is not defined.
I have tried adding
APP_STL := c++_static
NDK_TOOLCHAIN_VERSION := clang
to the end of Android.mk. But it doesn’t work.
You have to add -std=c++11 to the APP_CPPFLAGS.