Comments (10)
Could you verify the path to the actual compiler? make sure '
/cygdrive/c/android-ndk-r8/toolchains/arm-linux-androideabi-4.4.3/prebuilt/
windows-x86/bin/arm-linux-androideabi-g++' is valid
On Thu, Apr 18, 2013 at 10:47 AM, asloobq [email protected] wrote:
I am trying to build it on windows7 64 bit with Cygwin installed and
Android-ndk-r8, but getting the following error message.CONSOLE
admin@admin-PC /cygdrive/c/users/admin/Downloads/Boost-for-Android-master
$ sh build-android.sh
To follow build in another terminal, please use: tail -F /cygdrive/c/users/admin/Downloads/Boost-for-Android-master/logs/myst-log-2272.log
Building boost version: 1.53.0
Using AndroidNDKRoot = /cygdrive/c/android-ndk-r8
Detected Android NDK version 8
Building with TOOLSET=gcc-androidR8 CXXPATH=/cygdrive/c/android-ndk-r8/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows-x86/bin/arm-linux-androideabi-g++ CXXFLAGS=
Cannot find C++ compiler at: /cygdrive/c/android-ndk-r8/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows-x86/bin/arm-linux-androideabi-g++Any help would be appreciated. Thanks
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/26
.
Moritz Wundke
www.MysticTreeGames.com
www.DarkCultureGames.com http://www.darkculturegames.com/
from boost-for-android.
This path is valid and a .exe file is present at the location
C:\android-ndk-r8\toolchains\arm-linux-androideabi-4.4.3\prebuilt\windows\bin\arm-linux-androideabi-g++.exe
I tested it using
admin@admin-PC ~
$ /cygdrive/c/android-ndk-r8/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/bin/arm-linux-androideabi-g++.exe
arm-linux-androideabi-g++.exe: no input files
Thanks @moritz-wundke
from boost-for-android.
and if you just do: /cygdrive/c/android-ndk-r8/toolchains/arm-linux-
androideabi-4.4.3/prebuilt/windows/bin/arm-linux-androideabi-g++
without the extension I mean?
On Thu, Apr 18, 2013 at 11:09 AM, asloobq [email protected] wrote:
This path is valid and a .exe file is present at the location
C:\android-ndk-r8\toolchains\arm-linux-androideabi-4.4.3\prebuilt\windows\bin\arm-linux-androideabi-g++.exe
I tested it using
admin@admin-PC ~
$ /cygdrive/c/android-ndk-r8/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/bin/arm-linux-androideabi-g++.exe
arm-linux-androideabi-g++.exe: no input files—
Reply to this email directly or view it on GitHubhttps://github.com//issues/26#issuecomment-16565615
.
Moritz Wundke
www.MysticTreeGames.com
www.DarkCultureGames.com http://www.darkculturegames.com/
from boost-for-android.
Same response
admin@admin-PC ~
$ /cygdrive/c/android-ndk-r8/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/bin/arm-linux-androideabi-g++
arm-linux-androideabi-g++.exe: no input files
from boost-for-android.
Jim Dovey has only very recently added support for 64bit NDKs, it hasn't been merged to this branch yet. I don't have neither windows nor 64bit system, so perhaps you could be among first ones to give it a go? This
http://github.com/readium/Boost-for-Android
is the branch where he's made the changes.
from boost-for-android.
Also, the paths don't seem to match:
/cygdrive/c/android-ndk-r8/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows-x86/bin/arm-linux-androideabi-g++
/cygdrive/c/android-ndk-r8/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/bin/arm-linux-androideabi-g++
(the first one is reported by the build-android.sh script and the second one is the one asloobq tried)
Looking at the patch from Jim Dovey, it appears it won't fully fix the problem on cygwin though.
from boost-for-android.
@inetic I tried building from http://github.com/readium/Boost-for-Android . It built successfully more or less, but I still got a few errors.
# ---------------
# Build using NDK
# ---------------
Building boost for android
/cygdrive/C/Users/admin/Downloads/readium-Boost-for-Android-master/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/C/Users/admin/Downloads/readium-Boost-for-Android-master/Boost-for-Android-master/boost_1_53_0/tools/build/v2/user-config.jam:85
/cygdrive/C/Users/admin/Downloads/readium-Boost-for-Android-master/Boost-for-Android-master/boost_1_53_0/tools/build/v2/build/toolset.jam:39: in toolset.using from module toolset
/cygdrive/C/Users/admin/Downloads/readium-Boost-for-Android-master/Boost-for-Android-master/boost_1_53_0/tools/build/v2/build/project.jam:898: in using from module project-rules
/cygdrive/C/Users/admin/Downloads/readium-Boost-for-Android-master/Boost-for-Android-master/boost_1_53_0/tools/build/v2/user-config.jam:85: in modules.load from module user-config
/cygdrive/C/Users/admin/Downloads/readium-Boost-for-Android-master/Boost-for-Android-master/boost_1_53_0/tools/build/v2/build-system.jam:257: in load-config from module build-system
/cygdrive/C/Users/admin/Downloads/readium-Boost-for-Android-master/Boost-for-Android-master/boost_1_53_0/tools/build/v2/build-system.jam:399: in load-configuration-files from module build-system
/cygdrive/C/Users/admin/Downloads/readium-Boost-for-Android-master/Boost-for-Android-master/boost_1_53_0/tools/build/v2/build-system.jam:555: in load from module build-system
/cygdrive/C/Users/admin/Downloads/readium-Boost-for-Android-master/Boost-for-Android-master/boost_1_53_0/tools/build/v2/kernel/modules.jam:283: in import from module modules
/cygdrive/C/Users/admin/Downloads/readium-Boost-for-Android-master/Boost-for-Android-master/boost_1_53_0/tools/build/v2/kernel/bootstrap.jam:142: in boost-build from module
/cygdrive/C/Users/admin/Downloads/readium-Boost-for-Android-master/Boost-for-Android-master/boost_1_53_0/boost-build.jam:17: in module scope from module
build-android.sh: line 318: [: !=: unary operator expected
Done!
Any ideas why?
from boost-for-android.
@asloobq, I made some modifications in this branch: https://github.com/inetic/Boost-for-Android
The changes probably won't fix the problem entirely but will log some information that might help. If you give it a go, do the following:
$ ./build-android.sh --clean
$ ./build-android.sh
It should also create a file ./logs/myst-log-[SOME-NUMBER].log . If you look in that file, on first lines it should contain something like:
HOST_ARCH=
HOST_OS=
HOST_EXE=
HOST_TAG=
HOST_NUM_CPUS=
BUILD_NUM_CPUS=
Please copy/paste those values here.
from boost-for-android.
Hi @inetic here are the values
HOST_ARCH=x86
HOST_OS=cygwin
HOST_EXE=.exe
HOST_TAG=windows
HOST_NUM_CPUS=4
BUILD_NUM_CPUS=8
from boost-for-android.
@asloobq, I tried to fix the path to the compiler in my branch https://github.com/inetic/Boost-for-Android
Could you give it a go (if so, include the cleaning step as well)? And let me know of any error you see.
Thanks.
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.