moritz-wundke / Boost-for-Android

Android port of Boost C++ Libraries
MIT License
1.01k stars 483 forks source link

How to build out arm64-v8a archive with NDK r10b #176

Open wuseal opened 5 years ago

wuseal commented 5 years ago

For NDK r10 has support abi : arm64-v8a, I want to build out and arm64-v8a archive, but when I run with the command it told me something not support like this:

android@android-srv:~/android-ndk-r10b$ ../boost-for-android/Boost-for-Android-master/build-android.sh $NDK_ROOT --boost=1.53.0 --arch=arm64-v8a
To follow build in another terminal, please use: tail -F /home/android/android-ndk-r10b/logs/myst-log-13489.log
Building boost version: 1.53.0
Detected Android NDK version 10b (64-bit)
Old NDK versions only support ARM architecture

I Want to build out the 64-bit archive, for Google Play new policy, Please help, Thanks to anyone who could help me, Thanks. 😭

wuseal commented 5 years ago

@moritz-wundke Help 😢

moritz-wundke commented 5 years ago

I have no change-set for it sorry but you should be able to tweak it (with some effort of course) have a look at https://stackoverflow.com/questions/29883257/ndk-r10-b-32-bit-or-64-bit-or-compile-using-both-and-how-to-achieve-it for some guidance.