Comments (34)
I think you've accidentally copy pasted the path to the NDK wrong. It shouldn't start with the dollar sign ($E:/mayur_...).
from boost-for-android.
Thanks... I have change the path to NDK and then compile the code.
It first download the code and Unpacking it but after Bootstrapping is done get following error.
Bootstrapping is done. To build, run:
./b2
To adjust configuration, edit 'project-config.jam'.
Further information:
- Command line help:
./b2 --help - Getting started guide:
http://www.boost.org/more/getting_started/unix-variants.html - Boost.Build documentation:
http://www.boost.org/boost-build2/doc/html/index.html
patching file boost/asio/detail/fenced_block.hpp
patching file boost/asio/detail/socket_types.hpp
patching file boost/asio/ip/impl/address_v6.ipp
patching file boost/config/user.hpp
patching file boost/detail/endian.hpp
patching file boost/interprocess/detail/workaround.hpp
patching file bootstrap.log
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] y
Hunk #1 FAILED at 1.
File bootstrap.log is not empty after patch, as expected
1 out of 1 hunk FAILED -- saving rejects to file bootstrap.log.rej
patching file libs/filesystem/v2/src/v2_operations.cpp
patching file libs/filesystem/v3/src/operations.cpp
patching file tools/build/v2/tools/android.jam
patching file tools/build/v2/tools/android.py
ERROR: Patch failure !! Please check your patches directory!
Try to perform a clean build using --clean .
Problem patch: /cygdrive/e/jeevan_troxy/framework/Boost/Boost-for-Android-e2001539cd70121b7354a4ff05b5a55a24677bad/patches/boost-1_48_0/boost-1_48_0.patch
from boost-for-android.
Mhhhh could yuou try to revert to an older version? Could be some of the
recent commits.
On Wed, Apr 24, 2013 at 9:02 AM, jeevan-ghule [email protected]:
Thanks... I have change the path to NDK and then compile the code.
It first download the code and Unpacking it but after Bootstrapping is
done get following error.Bootstrapping is done. To build, run:
./b2
To adjust configuration, edit 'project-config.jam'.
Further information:
Command line help:
./b2 --helpGetting started guide:
http://www.boost.org/more/getting_started/unix-variants.htmlBoost.Build documentation:
http://www.boost.org/boost-build2/doc/html/index.htmlpatching file boost/asio/detail/fenced_block.hpp
patching file boost/asio/detail/socket_types.hpp
patching file boost/asio/ip/impl/address_v6.ipp
patching file boost/config/user.hpp
patching file boost/detail/endian.hpp
patching file boost/interprocess/detail/workaround.hpp
patching file bootstrap.log
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] y
Hunk #1 https://github.com/MysticTreeGames/Boost-for-Android/issues/1FAILED at 1.
File bootstrap.log is not empty after patch, as expected
1 out of 1 hunk FAILED -- saving rejects to file bootstrap.log.rej
patching file libs/filesystem/v2/src/v2_operations.cpp
patching file libs/filesystem/v3/src/operations.cpp
patching file tools/build/v2/tools/android.jam
patching file tools/build/v2/tools/android.py
ERROR: Patch failure !! Please check your patches directory!
Try to perform a clean build using --clean .
Problem patch:
/cygdrive/e/jeevan_troxy/framework/Boost/Boost-for-Android-e2001539cd70121b7354a4ff05b5a55a24677bad/patches/boost-1_48_0/boost-1_48_0.patch—
Reply to this email directly or view it on GitHubhttps://github.com//issues/27#issuecomment-16910985
.
Moritz Wundke
www.MysticTreeGames.com
www.DarkCultureGames.com http://www.darkculturegames.com/
from boost-for-android.
I have try some older version from recent commits but still get the following error
Please guide me to compile Boost-for-android for ndk-7 or ndk-8.
Bootstrapping is done. To build, run:
./b2
To adjust configuration, edit 'project-config.jam'.
Further information:
- Command line help:
./b2 --help - Getting started guide:
http://www.boost.org/more/getting_started/unix-variants.html - Boost.Build documentation:
http://www.boost.org/boost-build2/doc/html/index.html
patching file boost/asio/detail/socket_types.hpp
Hunk #1 succeeded at 124 (offset 1 line).
patching file boost/asio/ip/impl/address_v6.ipp
patching file boost/config/user.hpp
patching file boost/detail/endian.hpp
patching file boost/interprocess/detail/workaround.hpp
patching file libs/filesystem/src/operations.cpp
patching file tools/build/v2/tools/android.jam
patching file tools/build/v2/tools/android.py
Could not find directory '/cygdrive/e/jeevan_troxy/framework/Coost/Boost-for-Android-a2594ba60a8638f6226b67c9622add1ab70e3784/patches/boost-1_53_0/ndk-androidR4' while looking for patches
from boost-for-android.
@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
$./build-android.sh [PATH-TO-NDK]
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
from boost-for-android.
I try to compile code from given link.
Here --clean command work but --verbose not .
Is path to ndk correct?
Android@Android-PC /cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master
$ ./build-android.sh --clean
To follow build in another terminal, please use: tail -F /cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/logs/myst-log-2616.log
Building boost version: 1.53.0
Cleaning: ./build/
Cleaning: boost_1_53_0
Cleaning: boost_1_53_0.tar.bz2
Cleaning: logs
Android@Android-PC /cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master
$ ./build-android.sh --verbose E:/mayur_eclipse/Android-sdk/android-ndk-r8e
To follow build in another terminal, please use: tail -F /cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/logs/myst-log-4680.log
Building boost version: 1.53.0
cat: E:/mayur_eclipse/Android-sdk/android-ndk-r8e/RELEASE.TXT: No such file or directory
Detected Android NDK version
Undefined or not supported Android NDK version!
Thanks..
from boost-for-android.
Where does the RELEASE.TXT ly in the R8e ndk?
On Wed, Apr 24, 2013 at 2:18 PM, jeevan-ghule [email protected]:
I try to compile code from given link.
Here --clean command work but --verbose not .
Is path to ndk correct?Android@Android-PC/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master
$ ./build-android.sh --clean
To follow build in another terminal, please use: tail -F
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/logs/myst-log-2616.log
Building boost version: 1.53.0
Cleaning: ./build/
Cleaning: boost_1_53_0
Cleaning: boost_1_53_0.tar.bz2
Cleaning: logsAndroid@Android-PC/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master
$ ./build-android.sh --verbose E:/mayur_eclipse/Android-sdk/android-ndk-r8e
To follow build in another terminal, please use: tail -F
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/logs/myst-log-4680.log
Building boost version: 1.53.0
cat: E:/mayur_eclipse/Android-sdk/android-ndk-r8e/RELEASE.TXT: No such
file or directory
Detected Android NDK version
Undefined or not supported Android NDK version!—
Reply to this email directly or view it on GitHubhttps://github.com//issues/27#issuecomment-16922762
.
Moritz Wundke
www.MysticTreeGames.com
www.DarkCultureGames.com http://www.darkculturegames.com/
from boost-for-android.
The path to the ndk indeed looks incorrect. It should point to the directory which contains the RELEASE.TXT file.
from boost-for-android.
RELEASE.TXT file present in E:/mayur_eclipse/Android-sdk/android-ndk-r8e directory.
from boost-for-android.
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 [email protected]:
RELEASE.TXT file present in E:/mayur_eclipse/Android-sdk/android-ndk-r8e
directory.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/27#issuecomment-16924126
.
Moritz Wundke
www.MysticTreeGames.com
www.DarkCultureGames.com http://www.darkculturegames.com/
from boost-for-android.
Output is:
Android@Android-PC ~
$ cat: E:/mayur_eclipse/Android-sdk/android-ndk-r8e/RELEASE.TXT
-bash: cat:: command not found
from boost-for-android.
@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 :) )
from boost-for-android.
Here is give error No such file or directory but file is present in my ndk.
Where I am wrong?
Android@Android-PC ~
$ cat E:/mayur_eclipse/Android-sdk/android-ndk-r8e/RELEASE.TXT
cygwin warning:
MS-DOS style path detected: E:/mayur_eclipse/Android-sdk/android-ndk-r8e/RELEASE.TXT
Preferred POSIX equivalent is: /cygdrive/e/mayur_eclipse/Android-sdk/android-ndk-r8e/RELEASE.TXT
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
cat: E:/mayur_eclipse/Android-sdk/android-ndk-r8e/RELEASE.TXT: No such file or directory
from boost-for-android.
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
$ ./build-android.sh /cygdrive/e/mayur_eclipse/Android-sdk/android-ndk-r8e
Besides any errors you'll see, copy/paste here the first 6 lines from file logs/myst-log-[SOME-NUMBER].log .
Thanks.
from boost-for-android.
Thanks..
But Output is:
For : cat
Android@Android-PC /cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master
$ cat /cygdrive/e/mayur_eclipse/Android_sdk/android-ndk-r8e/RELEASE.TXT
r8e
For: ./build-android.sh
Android@Android-PC /cygdrive/e/jeevan_troxy/framework/reply/Boost for-Android-master
$ ./build-android.sh /cygdrive/e/mayur_eclipse/Android-sdk/android-ndk-r8e
To follow build in another terminal, please use: tail -F /cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/logs/myst-log-4028.log
Building boost version: 1.53.0
cat: /cygdrive/e/mayur_eclipse/Android-sdk/android-ndk-r8e/RELEASE.TXT: No such file or directory
Detected Android NDK version
Undefined or not supported Android NDK version!
from boost-for-android.
I'm almost out of ideas, a silly one is to show us the output from all these commands:
$ ls -l /cygdrive
$ ls -l /cygdrive/e
$ ls -l /cygdrive/e/mayur_eclipse
$ ls -l /cygdrive/e/mayur_eclipse/Android-sdk
$ ls -l /cygdrive/e/mayur_eclipse/Android-sdk/android-ndk-r8e
$ ls -l /cygdrive/e/mayur_eclipse/Android-sdk/android-ndk-r8e/RELEASE.TXT
from boost-for-android.
1: For $ ls -l /cygdrive
Android@Android-PC ~
$ ls -l /cygdrive
total 72
d---------+ 1 TrustedInstaller TrustedInstaller 0 Apr 22 20:14 c
d---------+ 1 ???????? ???????? 0 Apr 22 20:14 d
d---------+ 1 ???????? ???????? 0 Apr 24 15:36 e
drwxr-xr-x 1 Android None 0 Jan 1 1980 f
2: For $ ls -l /cygdrive/e
Android@Android-PC ~
$ ls -l /cygdrive/e
total 11178804
d---------+ 1 Android None 0 Feb 9 2012 $RECYCLE.BIN
d---------+ 1 ???????? ???????? 0 Aug 9 2011 240x320
d---------+ 1 ???????? ???????? 0 Aug 9 2011 320x480
d---------+ 1 ???????? ???????? 0 Aug 18 2011 480x800
d---------+ 1 ???????? ???????? 0 Aug 9 2011 480x854
drwx------+ 1 Administrators None 0 Apr 16 15:47 a
drwx------+ 1 Administrators None 0 Feb 10 2012 add-ons
----------+ 1 ???????? ???????? 4499880 Jul 5 2011 android.jar
drwx------+ 1 Administrators None 0 Nov 3 12:58 apache-tomcat-6.0. 36-windows-x86
-rwx------+ 1 Administrators None 7763104 Nov 2 10:57 apache-tomcat-6.0. 36-windows-x86.zip
----------+ 1 ???????? ???????? 2401484255 Jan 12 2012 Archive.rar
drwx------+ 1 Administrators None 0 Oct 15 2012 Ayaz backup
drwx------+ 1 Administrators None 0 Mar 7 2012 CAS
-rwx------+ 1 Administrators None 2207464 Mar 7 2012 CAS.rar
d---------+ 1 ???????? ???????? 0 Oct 25 2011 cocos2d_android
drwx------+ 1 Administrators None 0 Jun 13 2012 Counter Strike 1.6
-rwx------+ 1 Administrators None 730 Jun 13 2012 Counter Strike 1.6 - Shortcut.lnk
drwx------+ 1 Administrators None 0 Mar 6 2012 CSA
d---------+ 1 ???????? ???????? 0 Jun 11 2012 Diwali2011
-rwx------+ 1 Administrators None 3041408 Dec 7 03:13 Dope-Shop.mp3
-rwx------+ 1 Administrators None 250767613 Apr 4 2012 eclipse.zip
drwx------+ 1 Administrators None 0 Nov 3 12:58 eclipse-jee-juno-S R1-win32
-rwx------+ 1 Administrators None 232305176 Nov 2 11:32 eclipse-jee-juno-S R1-win32.zip
----------+ 1 ???????? ???????? 19872 Aug 12 2011 Employees Details. xlsx
drwx------+ 1 Administrators None 0 Dec 9 2011 HR Policy
----------+ 1 ???????? ???????? 12713658 Dec 9 2011 HR Policy.zip
drwx------+ 1 Administrators None 0 Mar 14 2012 I SECURE BACKUP
drwx------+ 1 Administrators None 0 Feb 20 2012 ip & beyond compar e
drwx------+ 1 Administrators None 0 Feb 10 2012 Isecure
drwx------+ 1 Administrators None 0 Apr 24 15:36 jeevan_troxy
-rwx------+ 1 Administrators None 77557544 Apr 16 2011 Kies_2.0.0.11032_1 2_9.exe
-rwx------+ 1 Administrators None 4175585280 Feb 23 2012 Lion_10.7_11a494.i so
-rwx------+ 1 Administrators None 3687482263 Oct 15 2012 Lion_10.7_11a494.r ar
drwx------+ 1 Administrators None 0 Jul 17 2012 Map Key
-rwx------+ 1 Administrators None 279203 Jul 17 2012 Map Key.zip
d---------+ 1 ???????? ???????? 0 Aug 10 2012 Mayur
drwx------+ 1 Administrators None 0 Apr 15 11:16 mayur_eclipse
drwx------+ 1 Administrators None 0 May 24 2012 music
drwx------+ 1 Administrators None 0 Apr 17 2012 my software
drwx------+ 1 Administrators None 0 Nov 8 14:05 New
drwx------+ 1 Administrators None 0 Aug 7 2012 new poker
drwx------+ 1 Administrators None 0 Apr 4 2012 Office
d---------+ 1 ???????? ???????? 0 Sep 10 2011 old
drwx------+ 1 Administrators None 0 Aug 7 2012 OnlineGameDemo
-rwx------+ 1 Administrators None 5063076 Aug 7 2012 OnlineGameDemo.zip
drwx------+ 1 Administrators None 0 Jul 23 2012 OW_sign_APK
drwx------+ 1 Administrators None 0 Jul 23 2012 OW_SIGN_DEBUG_KEY
drwx------+ 1 Administrators None 0 Oct 3 2012 pics of tnex
----------+ 1 ???????? ???????? 361508 Jan 18 2012 PIPCommunicationpr otocol(1).pdf
drwx------+ 1 Administrators None 0 Feb 10 2012 platforms
drwx------+ 1 Administrators None 0 Apr 6 2012 Play screen poker
d---------+ 1 ???????? ???????? 0 Jan 23 2012 Poker
d---------+ 1 ???????? ???????? 0 Aug 31 2011 Racing moto
d---------+ 1 ???????? ???????? 0 Oct 25 2011 RECYCLER
d---------+ 1 ???????? ???????? 0 Aug 19 2011 sample surface vie w
----------+ 1 ???????? ???????? 156500925 Jan 14 2012 setup_3.0.5606.exe
d---------+ 1 ???????? ???????? 0 Sep 5 2011 site
----------+ 1 ???????? ???????? 7039588 Feb 3 2011 site-1.0.6.zip
-rwx------+ 1 Administrators None 538200 Jun 15 2012 smartdraw_XG_SJV6W _setup.exe
d---------+ 1 ???????? ???????? 0 Aug 16 2011 smita backup
drwx------+ 1 Administrators None 0 Dec 26 15:17 songs
-rwx------+ 1 Administrators None 41097216 Mar 2 2012 spark_2_6_3.exe
----------+ 1 ???????? ???????? 84591 Nov 22 2011 student.jpg
d---------+ 1 Android None 0 Mar 13 2012 swapnil
d---rwx---+ 1 Administrators SYSTEM 0 Oct 18 2011 System Volume Info rmation
----------+ 1 ???????? ???????? 7680 Dec 22 2011 Thumbs.db
d---------+ 1 ???????? ???????? 0 Dec 22 2011 timer
d---------+ 1 ???????? ???????? 0 Jan 18 2012 tnex
drwx------+ 1 Administrators None 0 Sep 20 2012 Unity 3d 3.5 (setu p + crack)
drwx------+ 1 Administrators None 0 Jan 9 20:30 VirtualBox
-rwx------+ 1 Administrators None 346862889 Jan 9 20:23 VirtualBox.zip
-rwx------+ 1 Administrators None 28052543 Sep 17 2012 wampserver2.2e-php 5.3.13-httpd2.2.22-mysql5.5.24-32b.exe
drwx------+ 1 Administrators None 0 Feb 11 2012 xml isecure
----------+ 1 ???????? ???????? 5690648 Jan 25 2012 Yale dining.rar
3: For $ ls -l /cygdrive/e/mayur_eclipse/
Android@Android-PC ~
$ ls -l /cygdrive/e/mayur_eclipse/
total 12
drwx------+ 1 Administrators None 0 Apr 24 17:24 Android_sdk
drwx------+ 1 Administrators None 0 Apr 16 15:18 eclipse
drwx------+ 1 Administrators None 0 Aug 7 2012 mayur eclipse
drwx------+ 1 Administrators None 0 Jan 23 11:12 New folder
4: For $ ls -l /cygdrive/e/mayur_eclipse/Android_sdk/
Android@Android-PC ~
$ ls -l /cygdrive/e/mayur_eclipse/Android_sdk/
total 862568
drwx------+ 1 Administrators None 0 Dec 3 2010 android-ndk-r5
-rwx------+ 1 Administrators None 62217450 Apr 22 11:58 android-ndk-r5-windows. zip
drwx------+ 1 Administrators None 0 Nov 3 2011 android-ndk-r7
-rwx------+ 1 Administrators None 71262092 Apr 19 16:14 android-ndk-r7-darwin-x 86.tar.bz2
-rwx------+ 1 Administrators None 81270552 Apr 19 16:19 android-ndk-r7-windows. zip
drwx------+ 1 Administrators None 0 Apr 24 2012 android-ndk-r8
drwx------+ 1 Administrators None 0 Oct 22 2012 android-ndk-r8c
-rwx------+ 1 Administrators None 233787657 Apr 23 19:33 android-ndk-r8c-windows .zip
drwx------+ 1 Administrators None 0 Apr 24 19:52 android-ndk-r8e
-rwx------+ 1 Administrators None 434701805 Apr 23 12:15 android-ndk-r8e-windows -x86.zip
drwx------+ 1 Administrators None 0 Apr 16 16:47 android-sdk-windows
5: For $ ls -l /cygdrive/e/mayur_eclipse/Android_sdk/android-ndk-r8e
Android@Android-PC ~
$ ls -l /cygdrive/e/mayur_eclipse/Android_sdk/android-ndk-r8e
total 264
drwx------+ 1 Administrators None 0 Apr 24 19:52 build
drwx------+ 1 Administrators None 0 Apr 24 19:50 docs
-rwx------+ 1 Administrators None 201 Sep 4 2012 documentation.html
-rwx------+ 1 Administrators None 1306 Sep 4 2012 GNUmakefile
-rwx------+ 1 Administrators None 9823 Mar 13 09:01 ndk-build
-rwx------+ 1 Administrators None 797 Jan 9 09:52 ndk-build.cmd
-rwx------+ 1 Administrators None 22760 Feb 18 18:24 ndk-gdb
-rwx------+ 1 Administrators None 27588 Jan 9 09:52 ndk-gdb.py
-rwx------+ 1 Administrators None 351 Jan 9 09:52 ndk-gdb-py
-rwx------+ 1 Administrators None 442 Jan 9 09:52 ndk-gdb-py.cmd
-rwx------+ 1 Administrators None 167936 Mar 15 00:37 ndk-stack.exe
-rwx------+ 1 Administrators None 1674 Sep 11 2012 ndk-which
drwx------+ 1 Administrators None 0 Apr 24 19:52 platforms
drwx------+ 1 Administrators None 0 Apr 24 19:52 prebuilt
-rwx------+ 1 Administrators None 1360 Sep 4 2012 README.TXT
-rwx------+ 1 Administrators None 4 Mar 19 03:22 RELEASE.TXT
drwx------+ 1 Administrators None 0 Apr 24 19:52 samples
drwx------+ 1 Administrators None 0 Apr 24 19:50 sources
drwx------+ 1 Administrators None 0 Apr 24 19:52 tests
drwx------+ 1 Administrators None 0 Apr 24 19:51 toolchains
6 : For $ ls -l /cygdrive/e/mayur_eclipse/Android_sdk/android-ndk-r8e/RELEASE.TXT
Android@Android-PC ~
$ ls -l /cygdrive/e/mayur_eclipse/Android_sdk/android-ndk-r8e/RELEASE.TXT
-rwx------+ 1 Administrators None 4 Mar 19 03:22 /cygdrive/e/mayur_eclipse/Android_sdk/android-ndk-r8e/RELEASE.TXT
from boost-for-android.
Hello ,
I try code to compile one more time after restart system it get processed ..
- First few output lines are like follow:
Android@Android-PC /cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master
$ 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/reply/Boost-for-Android-master/logs/myst-log-3780.log
Building boost version: 1.53.0
cat: $: No such file or directory
Detected Android NDK version 8e
Building with TOOLSET=gcc-androidR8e CXXPATH=$ E:/mayur_eclipse/Android_sdk/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/arm-linux-androideabi-g++ CXXFLAGS=
build-android.sh: line 203: [: $: binary operator expected
Downloading boost 1.53.0 please wait...
--2013-04-25 11:16:24-- http://downloads.sourceforge.net/project/boost/boost/1.53.0/boost_1_53_0.tar.bz2?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fboost%2Ffiles%2Fboost%2F1.53.0%2F&ts=1291326673&use_mirror=garr
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.34.181.59
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://garr.dl.sourceforge.net/project/boost/boost/1.53.0/boost_1_53_0.tar.bz2 [following]
--2013-04-25 11:16:28-- http://garr.dl.sourceforge.net/project/boost/boost/1.53.0/boost_1_53_0.tar.bz2
Resolving garr.dl.sourceforge.net (garr.dl.sourceforge.net)... 193.206.140.34, 2001:760:ffff:b0::34
Connecting to garr.dl.sourceforge.net (garr.dl.sourceforge.net)|193.206.140.34|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 55765258 (53M) [application/octet-stream]
Saving to: `/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0.tar.bz2'
0K .......... .......... .......... .......... .......... 0% 29.4K 30m53s
50K .......... .......... .......... .......... .......... 0% 73.7K 21m34s
2 : After completing download and unpacking
Last few output lines are follow:
patching file boost/asio/detail/socket_types.hpp
Hunk #1 succeeded at 124 (offset 1 line).
patching file boost/asio/ip/impl/address_v6.ipp
patching file boost/config/user.hpp
patching file boost/detail/endian.hpp
patching file boost/interprocess/detail/workaround.hpp
patching file libs/filesystem/src/operations.cpp
patching file tools/build/v2/tools/android.jam
patching file tools/build/v2/tools/android.py
---------------
Build using NDK
---------------
Building boost for android
dirname: extra operand E:/mayur_eclipse/Android_sdk/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/arm-linux-androideabi-g++' Try
dirname --help' for more information.
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/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 /cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0/tools/build/v2/user-config.jam:85
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0/tools/build/v2/build/toolset.jam:39: in toolset.using from module toolset
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0/tools/build/v2/build/project.jam:898: in using from module project-rules
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0/tools/build/v2/user-config.jam:85: in modules.load from module user-config
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0/tools/build/v2/build-system.jam:257: in load-config from module build-system
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0/tools/build/v2/build-system.jam:399: in load-configuration-files from module build-system
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0/tools/build/v2/build-system.jam:555: in load from module build-system
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0/tools/build/v2/kernel/modules.jam:283: in import from module modules
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0/tools/build/v2/kernel/bootstrap.jam:142: in boost-build from module
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0/boost-build.jam:17: in module scope from module
ERROR: Failed to build boost for android!
from boost-for-android.
@jeevan-ghule, seems you've made the copy/paste mistake as in the beginning (with the dollar sign).
from boost-for-android.
I am using cygwin for compile code.
Which one of following is correct?
- $ sh build-android.sh E:/mayur_eclipse/Android_sdk/android-ndk-r8e
- $ sh build-android.sh /cygdrive/e/mayur_eclipse/Android_sdk/android-ndk-r8e
from boost-for-android.
You should prefer the second one.
from boost-for-android.
Thanks.
I am preferred second one.
But still get same error .
---------------
Build using NDK
---------------
Building boost for android
/cygdrive/e/jeevan_troxy/framework/Boost-for-Android-master/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 /cygdrive/e/jeevan_troxy/framework/Boost-for-Android-master/boost_1_53_0/tools/build/v2/user-config.jam:85
/cygdrive/e/jeevan_troxy/framework/Boost-for-Android-master/boost_1_53_0/tools/build/v2/build/toolset.jam:39: in toolset.using from module toolset
/cygdrive/e/jeevan_troxy/framework/Boost-for-Android-master/boost_1_53_0/tools/build/v2/build/project.jam:898: in using from module project-rules
/cygdrive/e/jeevan_troxy/framework/Boost-for-Android-master/boost_1_53_0/tools/build/v2/user-config.jam:85: in modules.load from module user-config
/cygdrive/e/jeevan_troxy/framework/Boost-for-Android-master/boost_1_53_0/tools/build/v2/build-system.jam:257: in load-config from module build-system
/cygdrive/e/jeevan_troxy/framework/Boost-for-Android-master/boost_1_53_0/tools/build/v2/build-system.jam:399: in load-configuration-files from module build-system
/cygdrive/e/jeevan_troxy/framework/Boost-for-Android-master/boost_1_53_0/tools/build/v2/build-system.jam:555: in load from module build-system
/cygdrive/e/jeevan_troxy/framework/Boost-for-Android-master/boost_1_53_0/tools/build/v2/kernel/modules.jam:283: in import from module modules
/cygdrive/e/jeevan_troxy/framework/Boost-for-Android-master/boost_1_53_0/tools/build/v2/kernel/bootstrap.jam:142: in boost-build from module
/cygdrive/e/jeevan_troxy/framework/Boost-for-Android-master/boost_1_53_0/boost-build.jam:17: in module scope from module
from 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.
from boost-for-android.
I tried as you say but it gives same error as follow.
patching file boost/asio/detail/socket_types.hpp
Hunk #1 succeeded at 124 (offset 1 line).
patching file boost/asio/ip/impl/address_v6.ipp
patching file boost/config/user.hpp
patching file boost/detail/endian.hpp
patching file boost/interprocess/detail/workaround.hpp
patching file libs/filesystem/src/operations.cpp
patching file tools/build/v2/tools/android.jam
patching file tools/build/v2/tools/android.py
Build using NDK
Building boost for android
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/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 /cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0/tools/build/v2/user-config.jam:85
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0/tools/build/v2/build/toolset.jam:39: in toolset.using from module toolset
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0/tools/build/v2/build/project.jam:898: in using from module project-rules
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0/tools/build/v2/user-config.jam:85: in modules.load from module user-config
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0/tools/build/v2/build-system.jam:257: in load-config from module build-system
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0/tools/build/v2/build-system.jam:399: in load-configuration-files from module build-system
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0/tools/build/v2/build-system.jam:555: in load from module build-system
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0/tools/build/v2/kernel/modules.jam:283: in import from module modules
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0/tools/build/v2/kernel/bootstrap.jam:142: in boost-build from module
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0/boost-build.jam:17: in module scope from module
ERROR: Failed to build boost for android!
from boost-for-android.
The error means that 'arm-linux-androideabi-g++' is not found in the
location where it should be.
On Thu, Apr 25, 2013 at 3:07 PM, jeevan-ghule [email protected]:
I tried as you say but it gives same error as follow.
patching file boost/asio/detail/socket_types.hpp
Hunk #1 https://github.com/MysticTreeGames/Boost-for-Android/issues/1succeeded at 124 (offset 1 line).
patching file boost/asio/ip/impl/address_v6.ipp
patching file boost/config/user.hpp
patching file boost/detail/endian.hpp
patching file boost/interprocess/detail/workaround.hpp
patching file libs/filesystem/src/operations.cpp
patching file tools/build/v2/tools/android.jampatching file tools/build/v2/tools/android.py
Build using NDK
Building boost for android
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0/tools/build/v2/tools/gcc.jam:78:
in gcc.init from module gccerror: toolset gcc initialization:
error: provided command 'arm-linux-androideabi-g++' not found
error: initialized from
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0/tools/build/v2/user-config.jam:85
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0/tools/build/v2/build/toolset.jam:39:
in toolset.using from module toolset
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0/tools/build/v2/build/project.jam:898:
in using from module project-rules
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0/tools/build/v2/user-config.jam:85:
in modules.load from module user-config
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0/tools/build/v2/build-system.jam:257:
in load-config from module build-system
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0/tools/build/v2/build-system.jam:399:
in load-configuration-files from module build-system
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0/tools/build/v2/build-system.jam:555:
in load from module build-system
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0/tools/build/v2/kernel/modules.jam:283:
in import from module modules
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0/tools/build/v2/kernel/bootstrap.jam:142:
in boost-build from module
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0/boost-build.jam:17:
in module scope from moduleERROR: Failed to build boost for android!
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/27#issuecomment-17005494
.
Moritz Wundke
www.MysticTreeGames.com
www.DarkCultureGames.com http://www.darkculturegames.com/
from boost-for-android.
Please give me idea about how to solve this problem?
from boost-for-android.
@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:
arm-linux-androideabi-g++
and change it to:
/cygdrive/e/mayur_eclipse/Android_sdk/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/arm-linux-androideabi-g++
Then try it again:
$ sh build-android.sh --clean
$ sh build-android.sh /cygdrive/e/mayur_eclipse/Android_sdk/android-ndk-r8e
Also, out of curiosity, let us know what is the output from:
$ echo $PATH
from boost-for-android.
I have made the change in configs/user-config-boost-1_53_0.jam.
Still got same error.
patching file boost/asio/detail/socket_types.hpp
Hunk #1 succeeded at 124 (offset 1 line).
patching file boost/asio/ip/impl/address_v6.ipp
patching file boost/config/user.hpp
patching file boost/detail/endian.hpp
patching file boost/interprocess/detail/workaround.hpp
patching file libs/filesystem/src/operations.cpp
patching file tools/build/v2/tools/android.jam
patching file tools/build/v2/tools/android.py
Build using NDK
Building boost for android
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/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 /cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0/tools/build/v2/user-config.jam:85
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0/tools/build/v2/build/toolset.jam:39: in toolset.using from module toolset
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0/tools/build/v2/build/project.jam:898: in using from module project-rules
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0/tools/build/v2/user-config.jam:85: in modules.load from module user-config
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0/tools/build/v2/build-system.jam:257: in load-config from module build-system
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0/tools/build/v2/build-system.jam:399: in load-configuration-files from module build-system
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0/tools/build/v2/build-system.jam:555: in load from module build-system
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0/tools/build/v2/kernel/modules.jam:283: in import from module modules
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0/tools/build/v2/kernel/bootstrap.jam:142: in boost-build from module
/cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master/boost_1_53_0/boost-build.jam:17: in module scope from module
ERROR: Failed to build boost for android!
For : path
Android@Android-PC /cygdrive/e/jeevan_troxy/framework/reply/Boost-for-Android-master
$ echo $PATH
/usr/local/bin:/usr/bin:/cygdrive/c/Program Files (x86)/Java/jdk1.6.0_21/bin:/cygdrive/c/Program Files (x86)/Java/jre6/bin:/cygdrive/e/jeevan_troxy/MinGW/MinGW:/cygdrive/e/mayur_eclipse/Android_sdk/android-ndk-r8e:/usr/bin:/usr/lib/lapack
from boost-for-android.
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.
from boost-for-android.
@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.
from boost-for-android.
Thanks a lot...
I have successfully compiled Boost code on Ubuntu.
from boost-for-android.
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 [email protected]:
Thanks a lot...
I have successfully compiled Boost code on Ubuntu.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/27#issuecomment-17068917
.
Moritz Wundke
www.MysticTreeGames.com
www.DarkCultureGames.com http://www.darkculturegames.com/
from boost-for-android.
I am having the same problem here (Win7 64 bits). Is there any fix already? thank you!
from boost-for-android.
I tried this, but i still have same errorrs.
from boost-for-android.
Related Issues (20)
- Error before patch, on windows, how to fix? HOT 1
- when Suppport 1.7.7?
- Fixed ndk[19,20,21,22] building failed bug.
- Can you update the shell of 1.77.0 version ,thanks
- Error: No best alternative for libs/context/build/asm_sources HOT 1
- i build boost success but i build project faild HOT 5
- build-boost-without-version-number-suffixes
- Boost 1.74.0 armv7a
- boost_version for 1.72.0
- windows does not compile HOT 3
- "Undefined or not supported Android NDK version: 23.2" on GitHub Actions HOT 2
- fail to identify Windows when using '--with-conv'
- Can't build NDK
- Open source license HOT 2
- How to generate shared libboost_xxxx.so without the version number such as .so.1.74.0 HOT 2
- Please stop requiring approvals for pull requests HOT 3
- Add NDK 26.1 and 26.2 to build-android.sh
- Build Boost 1.70.0 By NDK r21e, product libthread libsystem size is unnormal
- I see the following error when building Boost 1.78.0 thought the build seems to finish. error: No best alternative for libs/context/build/asm_sources
- error: No best alternative for libs/context/build/asm_sources with ms 64 off pe <boost.cobalt.executor>any_io_executor <boost.cobalt.pmr>std fcontext off object on linker on on off off static yes yes off NT on on off off 3.9 abi address-model architecture binary-format toolset on on shared native off windows <testing.execute>on win32 multi toolset-msvc:version14.3 msvc debug off hidden off on desktop HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boost-for-android.