How to load thread support in C++ with cmake and Android NDK -


i have problem using threads in application. writing c++ files, used in android, compiled ndk , cmake. have no idea how load thread support. there have write cmakelists or makefile or that? absolute beginner in writing c++ code...

if using cmake android, e.g. https://github.com/taka-no-me/android-cmake, enable std::thread should specify

android_toolchain_name=arm-linux-androideabi-4.8 

and

android_stl=gnustl_static 

(or gnustl_shared),


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -