moritz-wundke / Boost-for-Android

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

bjam problem #37

Open lkalneus opened 11 years ago

lkalneus commented 11 years ago

Hi everyone! I'm trying to build Boost 1.53 with using NDK 8e

I got an error:

Building boost for android build-android.sh: line 309: ./bjam: No such file or directory build-android.sh: line 318: [: !=: unary operator expected

It seems like It can't find bjam. How can I solve it?

lkalneus commented 11 years ago

Fixed it. But now got this:

....\Boost-for-Android/boost_1_53_0/tools/build/v2/tools\gcc.jam:78: in gcc.init from module gcc error: toolset gcc initialization: error: provided command 'arm-linux-androideabi-g++' not found error: initialized from ....\Boost-for-Android\boost_1_53_0\tools/build/v2\user-config.jam:85 ....\Boost-for-Android/boost_1_53_0/tools/build/v2/build\toolset.jam:39: in toolset.using from module toolset ....

inetic commented 11 years ago

@lkalneus, correct me if I'm wrong, but it seems you're trying to build Boost-for-Android on windows. The script is known to not work on windows.

The fastest solution for you to get boost for android going is to either install some linux virtual machine on your desktop or just boot to a live CD and compile it from there.