How to add Boost Libraries to Android Game ???


#1

Hello everyone,
I tried to add Boost Libraries to my Android Game. After searching for few days, I have been using following link to create a sample Android application, but not successful yet :frowning:
[[https://github.com/MysticTreeGames/Boost-for-Android]]
Could anyone help me to solve that. I am using:

  • cocos2dx 2.1.5
  • android-ndk-r9
  • adt-bundle-mac-x86_64-20130917
  • one more question: which version of Boost Libraries should i use?

Thanks,
Duc,


#2

Boost for android readme says it only support r8. Or use 1.54 and read this [[http://stackoverflow.com/questions/17667978/using-boost-in-android-ndk-with-windows]]
1.54 have updated its code, it not need to patch, just modify the jam file is ok


#3

I wonder why on earth do you need Boost in mobile gamedev?


#4

I have used boost mostly for threads in many projects, and then started using boost’s other libraries also.

But now with C++11, I use std::thread and I have stopped using boost.