Building Boost with NDK

Posted: May 9, 2013 in android, c++, JNI/NDK, mobile

found this nice post, I hope it works

http://www.codexperiments.com/android/2011/05/tips-tricks-building-boost-with-ndk-r5/

http://stackoverflow.com/questions/14036311/official-boost-library-support-for-android-and-ios

https://github.com/markshiz/cross-platform-tutorial

It didn’t. this is shit.


Another try:

found this nice code

https://github.com/mcxiaoke/boost-ndk

download + extract + put the “boost” dir in the same level of your android project (not inside, but in the same level).

Edit boost\tools\build\v2\user-config.jam –> change “ANDROID_NDK = E:/android/ndk ;” to ANDROID_NDK = <YOUR NDK LOCATION> ;

Final thoughts

I didn’t manage to build boost with android. Just use plain POSIX threading. Works great.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s