0

I have built the boost libraries after downloading it. Now if I right click on the Project-> Properties-> C/C++ general -> Paths and symbols and add the $(NDK_PATH)/boost, the files get recognized before building it but when I try to build I get unresolved error. Note that I do not make the Android.mk file in the boost library as shown here

because I include it in the paths and symbols. Is it wrong??

I followed the step Igor told me in my previous comment Using Boost in android ndk with windows. I do not have any $ANDROID_NDK/sources/boost/android folder as pointed in the codeexperiments link.. Is anything wrong?

I am using the following command:

b2 --without-python --without-serialization threading=multi link=static runtime-link=static toolset=gcc-android target-os=linux --stagedir=android stage 

The error I get is:

notice: could not find main target stage notice: assuming it is a name of file to create. don't know how to make <e>stage ...found 1 target... ...can't find 1 target...

Android ndk: r8e

Env: Windows 64 bit

Eclipse: Juno 4.2.1

Community
  • 1
  • 1
user2508941
  • 245
  • 3
  • 11
  • 1
    possible duplicate of [Using Boost in android ndk with windows](http://stackoverflow.com/questions/17667978/using-boost-in-android-ndk-with-windows) – Alex Cohn Jul 16 '13 at 14:19
  • Add 'stage' at the end of `b2` line, so that BoostBuild would copy all the binaries to "stagedir", i.e. to /boost/android in your case. – Igor R. Jul 16 '13 at 16:12
  • Dude I am using the following command............ b2 --without-python --without-serialization threading=multi link=static runtime-link=static toolset=gcc-android target-os=linux --stagedir=android stage ..... The error I get is ...... notice: could not find main target stage notice: assuming it is a name of file to create. don't know how to make stage ...found 1 target... ...can't find 1 target... – user2508941 Jul 17 '13 at 06:42

0 Answers0