Giter Site home page Giter Site logo

Comments (10)

moritz-wundke avatar moritz-wundke commented on July 18, 2024

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.

asloobq avatar asloobq commented on July 18, 2024

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.

moritz-wundke avatar moritz-wundke commented on July 18, 2024

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.

asloobq avatar asloobq commented on July 18, 2024

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.

inetic avatar inetic commented on July 18, 2024

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.

inetic avatar inetic commented on July 18, 2024

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.

asloobq avatar asloobq commented on July 18, 2024

@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.

inetic avatar inetic commented on July 18, 2024

@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.

asloobq avatar asloobq commented on July 18, 2024

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.

inetic avatar inetic commented on July 18, 2024

@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)

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.