Giter Site home page Giter Site logo

Comments (5)

wespaugh avatar wespaugh commented on July 18, 2024

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.

severly avatar severly commented on July 18, 2024

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.

Opi44 avatar Opi44 commented on July 18, 2024

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.

severly avatar severly commented on July 18, 2024

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.

adelzhang avatar adelzhang commented on July 18, 2024

e958b03 solved the issue. See #58

from boost-for-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.