Comments (5)
I'm running into the same issue. I 'fixed' the problem by just redefining $PATH to not include anything with spaces (basically just /usr/bin and /usr/lib/bin). Doing that, as well as correcting the CXXFLAGS paths to point to the right locations, as well as changing the definition for the platform folder from windows-x86 to windows, allowed build-android.sh to finish, at least.
However! When the script calls bjam , I get this error:
error: toolset gcc initialization:
error: 'provided command arm-linux-androideabi-g++' not found
error: initialized from /cygdrive/.../user-config.jam
(The script then excitedly proclaims, 'Done!', unaware that it has just exploded).
I've tried adding the path to arm-linux-androideabi-g++ that's in the desired release of the NDK (in my case official r8d, 4.6), but I get the same error. I'm not sure how or why user-config.jam needs to be modified to get bjam to know where to look for g++.
I could definitely use some direction in compiling this, if anyone has any guesses. I'll post any epiphanies I may have until then.
Update: Yep, progress: by editing user-config.jam after build-android.sh fails, I can explicitly specify the location of arm-linux-androideabi-g++, and then rerun bjam with all the options I want. still encountering other issues before boost actually builds, but it's progress.
from boost-for-android.
Has anyone made any progress getting boost to build? I got to pretty much the same point as mentioned above and am stuck with errors spitting out from a bunch of tools/build/v2/*.jam files.
from boost-for-android.
In my case, the easiest way was setting up an Ubuntu VM with VMware Player. It took about an hour and less pain in brain :). Just modify the platform to windows and run the script.
from boost-for-android.
Thanks for the response! Did you simply run eclipse on the VM and do all of your development there? Or did you use the VM to install the libraries in your Windows NDK directory? If so, how would one go about doing that?
from boost-for-android.
e958b03 solved the issue. See #58
from boost-for-android.
Related Issues (20)
- Please update the download link
- Could not find a suitable toolset. HOT 1
- Bump boost version to 1.77 and disable statx syscall HOT 1
- 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
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.