-
Notifications
You must be signed in to change notification settings - Fork 483
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails to build on Win7 and Ndk r8e with boost 1.48 #27
Comments
I think you've accidentally copy pasted the path to the NDK wrong. It shouldn't start with the dollar sign ($E:/mayur_...). |
Thanks... I have change the path to NDK and then compile the code. Bootstrapping is done. To build, run:
To adjust configuration, edit 'project-config.jam'.
patching file boost/asio/detail/fenced_block.hpp |
Mhhhh could yuou try to revert to an older version? Could be some of the On Wed, Apr 24, 2013 at 9:02 AM, jeevan-ghule notifications@github.comwrote:
Moritz Wundke |
I have try some older version from recent commits but still get the following error Bootstrapping is done. To build, run:
To adjust configuration, edit 'project-config.jam'.
patching file boost/asio/detail/socket_types.hpp |
@jeevan-ghule , I removed the patch for bootstrap.log (not sure how it got there) in this branch: https://github.com/inetic/Boost-for-Android if you give it a go, try the following commands: $./build-android.sh --clean It should generate files "build.log" and "logs/myst-log-[SOME-NUMBER].log". If it still goes wrong, please attach them to your post here. Thanks |
I try to compile code from given link. Android@Android-PC /cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master Android@Android-PC /cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master Thanks.. |
Where does the RELEASE.TXT ly in the R8e ndk? On Wed, Apr 24, 2013 at 2:18 PM, jeevan-ghule notifications@github.comwrote:
Moritz Wundke |
The path to the ndk indeed looks incorrect. It should point to the directory which contains the RELEASE.TXT file. |
RELEASE.TXT file present in E:/mayur_eclipse/Android-sdk/android-ndk-r8e directory. |
Could you check what: $> cat: E:/mayur_eclipse/Android-sdk/android-ndk-r8e/RELEASE.TXT outputs? On Wed, Apr 24, 2013 at 2:50 PM, jeevan-ghule notifications@github.comwrote:
Moritz Wundke |
Output is: Android@Android-PC ~ |
@jeevan-ghule , the command Moritz had in mind was actually: $ cat E:/mayur_eclipse/Android-sdk/android-ndk-r8e/RELEASE.TXT (without the colon after the cat command :) ) |
Here is give error No such file or directory but file is present in my ndk. Android@Android-PC ~ |
Oh, that is one useful output. Try this: Pull latest changes from https://github.com/inetic/Boost-for-Android and then $ ./build-android.sh --clean Besides any errors you'll see, copy/paste here the first 6 lines from file logs/myst-log-[SOME-NUMBER].log . Thanks. |
Thanks.. For : cat Android@Android-PC /cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master For: ./build-android.sh Android@Android-PC /cygdrive/e/jeevan_troxy/framework/reply/Boost for-Android-master |
I'm almost out of ideas, a silly one is to show us the output from all these commands: $ ls -l /cygdrive |
1: For $ ls -l /cygdrive Android@Android-PC ~ 2: For $ ls -l /cygdrive/e Android@Android-PC ~ 3: For $ ls -l /cygdrive/e/mayur_eclipse/ Android@Android-PC ~ 4: For $ ls -l /cygdrive/e/mayur_eclipse/Android_sdk/ 5: For $ ls -l /cygdrive/e/mayur_eclipse/Android_sdk/android-ndk-r8e Android@Android-PC ~ 6 : For $ ls -l /cygdrive/e/mayur_eclipse/Android_sdk/android-ndk-r8e/RELEASE.TXT Android@Android-PC ~ |
Hello ,
Android@Android-PC /cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master
2 : After completing download and unpacking patching file boost/asio/detail/socket_types.hpp ---------------Build using NDK---------------Building boost for android ERROR: Failed to build boost for android! |
@jeevan-ghule, seems you've made the copy/paste mistake as in the beginning (with the dollar sign). |
I am using cygwin for compile code.
|
You should prefer the second one. |
Thanks. ---------------Build using NDK---------------Building boost for android |
@jeevan-ghule, I've added some checks and debug output to my branch: https://github.com/inetic/Boost-for-Android Give it a try, maybe it'll tell us something. |
I tried as you say but it gives same error as follow. patching file boost/asio/detail/socket_types.hpp Build using NDK Building boost for android ERROR: Failed to build boost for android! |
The error means that 'arm-linux-androideabi-g++' is not found in the On Thu, Apr 25, 2013 at 3:07 PM, jeevan-ghule notifications@github.comwrote:
Moritz Wundke |
Please give me idea about how to solve this problem? |
@moritz-wundke, According to this post, it seems that Boost.Build might have problems understanding the PATH variable on windows. The test in my latest commit (in my branch) is checking whether the compiler can be found as specified by the CXXPATH variable from the shell. It seems it indeed can be found (even when executed without using the full path). @jeevan-ghule, as a temporary workaround, open the file: configs/user-config-boost-1_53_0.jam goto line 90 which reads like this:
and change it to:
Then try it again:
Also, out of curiosity, let us know what is the output from:
|
I have made the change in configs/user-config-boost-1_53_0.jam. patching file boost/asio/detail/socket_types.hpp Build using NDK Building boost for android ERROR: Failed to build boost for android! For : path Android@Android-PC /cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master |
I'm afraid I'm out of ideas, I might have a look again when I happen to be behind a windows PC, that might take couple of days though. |
@jeevan-ghule , I tried to compile the project on windows today and got the same error as you were having. I did manage to fix it, but then another, completely different errors popped up on me. I tried to fix the next two errors but then I gave up. The fastest solution for you to get boost for android going is to either install some virtual machine on your desktop or just boot to a live CD and compile it from there. |
Thanks a lot... |
I'll add a issue so that we get it fixed in Win7 64 bits On Fri, Apr 26, 2013 at 1:45 PM, jeevan-ghule notifications@github.comwrote:
Moritz Wundke |
I am having the same problem here (Win7 64 bits). Is there any fix already? thank you! |
I tried this, but i still have same errorrs. |
Try to build boost-android-master in window with cygwin and ndk-r8e get following error.
Android@Android-PC /cygdrive/e/jeevan_troxy/framework/Boost/Boost-for-Android-e2001539cd70121b7354a4ff05b5a55a24677bad
$ sh build-android.sh $E:/mayur_eclipse/Android-sdk/android-ndk-r8e
To follow build in another terminal, please use: tail -F /cygdrive/e/jeevan_troxy/framework/Boost/Boost-for-Android-e2001539cd70121b7354a4ff05b5a55a24677bad/logs/myst-log-3316.log
Building boost version: 1.48.0
Building with TOOLSET=gcc-androidR4 CXXPATH=:/mayur_eclipse/Android-sdk/android-ndk-r8e/build/prebuilt/windows-x86/arm-eabi-4.4.0/bin/arm-eabi-g++ CXXFLAGS=-I:/mayur_eclipse/Android-sdk/android-ndk-r8e/build/platforms/android-8/arch-arm/usr/include
Cannot find C++ compiler at: :/mayur_eclipse/Android-sdk/android-ndk-r8e/build/prebuilt/windows-x86/arm-eabi-4.4.0/bin/arm-eabi-g++
The text was updated successfully, but these errors were encountered: