Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17076

Enable C++11 when using NDK?

$
0
0

@Tsing wrote:

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.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 17076

Trending Articles