Boost logo

Boost-Build :

Subject: Re: [Boost-build] [Boost-users] building boost with mingw-w64
From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-10-21 00:39:13

On Monday 20 October 2008 21:40:06 acsoft_at_[hidden] wrote:
> Thank you for your fast answer and your advice.
> Adding architecture=64 to the bjam command line leads to the following error:

Doh! I meant:
        address-model=64 architecture=x86
> ...
> C:/projekte/libs/boost/tools/build/v2/build\feature.jam:467: in feature.validate
> -value-string from module feature
> error: "64" is not a known value of feature <architecture>
> error: legal values: "x86" "ia64" "sparc" "power" "mips1" "mips2" "mips3" "mips4
> " "mips32" "mips32r2" "mips64" "parisc" "arm" "combined" "combined-x86-power"
> C:/projekte/libs/boost/tools/build/v2/build\property.jam:276: in validate1 from
> module property
> ...
> This is my new command line:
> call %~dp0tools\mingwvars x64
> %~dp0tools\bjam --toolset=gcc --prefix=.\ --libdir=.\lib\x64\ -j%NUMBER_OF_PROCESSORS% -sZLIB_INCLUDE=%CD%\..\zlib\ -sZLIB_SOURCE=%CD%\..\zlib\ address-model=64 threading=multi link=static runtime-link=static debug release install
> rd /s /q .\bin.v2
> pause
> the mingw-w64 bin folder is inside %PATH%, I double checked that. Unfortunately I am still getting an odd error when executing the above statement:
> WARNING: No python installation configured and autoconfiguration
> failed. See
> for configuration instructions or pass --without-python to
> suppress this message and silently skip all Boost.Python targets
> warning: Graph library does not contain optional GraphML reader.
> note: to enable GraphML support, set EXPAT_INCLUDE and EXPAT_LIBPATH to the
> note: directories containing the Expat headers and libraries, respectively.
> warning: skipping optional Message Passing Interface (MPI) library.
> note: to enable MPI support, add "using mpi ;" to user-config.jam.
> note: to suppress this message, pass "--without-mpi" to bjam.
> note: otherwise, you can safely ignore this message.
> Skipping build of: libs/python/build/boost_python <build>no in common properti
> es
> Building Boost.Regex with the optional Unicode/ICU support disabled.
> Note: Please refer to the Boost.Regex documentation for more information
> Note: this is a strictly optional feature.
> Skipping build of: libs/python/build/boost_python <build>no in common properties
> ...patience...
> ...patience...
> ...patience...
> ...found 18889 targets...
> ...updating 883 targets...
> MkDir1-quick-fix-for-windows bin.v2
> MkDir1-quick-fix-for-windows bin.v2\libs
> MkDir1-quick-fix-for-windows bin.v2\libs\math
> MkDir1-quick-fix-for-windows bin.v2\libs\program_options
> MkDir1-quick-fix-for-windows bin.v2\libs\math\build
> MkDir1-quick-fix-for-windows bin.v2\libs\program_options\build
> MkDir1-quick-fix-for-windows bin.v2\libs\math\build\gcc-mingw-4.4.0
> MkDir1-quick-fix-for-windows bin.v2\libs\program_options\build\gcc-mingw-4.4.0
> MkDir1-quick-fix-for-windows bin.v2\libs\math\build\gcc-mingw-4.4.0\debug
> MkDir1-quick-fix-for-windows bin.v2\libs\program_options\build\gcc-mingw-4.4.0\debug
> MkDir1-quick-fix-for-windows bin.v2\libs\math\build\gcc-mingw-4.4.0\debug\address-model-64
> MkDir1-quick-fix-for-windows bin.v2\libs\math\build\gcc-mingw-4.4.0\debug\address-model-64\link-static
> MkDir1-quick-fix-for-windows bin.v2\libs\program_options\build\gcc-mingw-4.4.0\debug\address-model-64
> MkDir1-quick-fix-for-windows bin.v2\libs\math\build\gcc-mingw-4.4.0\debug\address-model-64\link-static\runtime-link-static
> MkDir1-quick-fix-for-windows bin.v2\libs\program_options\build\gcc-mingw-4.4.0\debug\address-model-64\link-static
> MkDir1-quick-fix-for-windows bin.v2\libs\math\build\gcc-mingw-4.4.0\debug\address-model-64\link-static\runtime-link-static\threading-multi
> MkDir1-quick-fix-for-windows bin.v2\libs\program_options\build\gcc-mingw-4.4.0\debug\address-model-64\link-static\runtime-link-static
> gcc.compile.c++ bin.v2\libs\math\build\gcc-mingw-4.4.0\debug\address-model-64\link-static\runtime-link-static\threading-multi\acosh.o
> g++: CreateProcess: No such file or directory
> "g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -mthreads -DBOOST_ALL_NO_LIB=1 -I"." -c -o "bin.v2\libs\math\build\gcc-mingw-4.4.0\debug\address-model-64\link-static\runtime-link-static\threading-multi\acosh.o" "libs\math\build\..\src\tr1\acosh.cpp"

This indicates that "g++", in fast, is not in PATH. Does running "g++" by hand on command line work?

- Volodya

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at