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

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 17078


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>