编译 Boost for android的库方法
What we need: Boost ( http://switch.dl.sourceforge.net/project/boost/boost/1.56.0/boost_1_56_0.7z ) A compiler ( Visual C++ 2010 ) Android NDK ( http://dl.google.com/android/ndk/android-ndk32-r10b-windows-x86.zip ) Download and extract Boost (ex: D:\boost; you can extract only boost, libs, tools subdirs and the files in the main dir). Download and unzip Android NDK (ex: D:\android-ndk-r10b). Go to Boost_dir\tools\build\src and create a new file, user-config.jam Open that file with a text editor and add: import os ; androidNDKRoot = D:/android-ndk-r10 ; using gcc : android : $(androidNDKRoot)