Problem building boost 1.45.0

Hi,
I just downloaded the latest boost version and wanted to build the library for MS-Windows XP 32 bit using the mingw compiler set.
According to [1], building should be done using bootstrap.bat to build the bootstrap.bat. If I start it, it just gives me this message, no matter what first argument I give (I tried gcc, gcc-nocygwin, mingw):
########################################################################
Building Boost.Jam build engine
Failed to build Boost.Jam build engine.
Please consult bjam.log for furter diagnostics.
You can try to obtain a prebuilt binary from
http://sf.net/project/showfiles.php?group_id=7586&package_id=72941
Also, you can file an issue at http://svn.boost.org
Please attach bjam.log in that case.
########################################################################
bjam.log:
########################################################################
###
### "Could not find a suitable toolset."
###
### You can specify the toolset as the argument, i.e.:
### .\build.bat msvc
###
### Toolsets supported by this script are: borland, como, gcc, gcc-nocygwin,
### intel-win32, metrowerks, mingw, msvc, vc7, vc8, vc9, vc10
###
########################################################################
Trying to build boost with the precompiled bjam (03.1.18) yields the following error:
########################################################################
C:/Programme/boost_1_45_0/tools/build/v2/build\configure.jam:145: in builds-raw
*** argument error
* rule UPDATE_NOW ( targets * : log ? : ignore-minus-n ? )
* called with: (

On 1:59 PM, benedikt.leschitzki@gmx.de wrote:
[...]
According to [1], building should be done using bootstrap.bat to build the bootstrap.bat. If I start it, it just gives me this message, no matter what first argument I give (I tried gcc, gcc-nocygwin, mingw):
[...] bjam.log:
######################################################################## ### ### "Could not find a suitable toolset." ### [...] What should I do to build boost successfully? My g++ version is 4.4.1.
In bootstrap.bat, change "set toolset=msvc" (line 33) to "toolset=gcc" Also, change boost/tools/build/v2/user-config.jam, uncommenting (line 43): using gcc ;

On 1:59 PM, Benedikt Leschitzki wrote:
Jim Bell
writes: In bootstrap.bat, change "set toolset=msvc" (line 33) to "toolset=gcc"
Also, change boost/tools/build/v2/user-config.jam, uncommenting (line 43): using gcc ; Thanks, but that didn't help at all. The error message stays exactly the same... :(
What's your bjam command-line? Try bjam -d+2 toolset=gcc Anything different?

Jim Bell
On 1:59 PM, Benedikt Leschitzki wrote:
Jim Bell
writes: In bootstrap.bat, change "set toolset=msvc" (line 33) to "toolset=gcc"
Also, change boost/tools/build/v2/user-config.jam, uncommenting (line 43): using gcc ; Thanks, but that didn't help at all. The error message stays exactly the same... :(
What's your bjam command-line? Try bjam -d+2 toolset=gcc
Anything different?
Well, I didn't get a bjam in the first place... However, I think I may have found the error in the bootstrap.bat: In line 13, shouldn't it be
call .\build.bat %1 > ..\..\..\bjam.log ? Otherwise, how is the toolset supposed to be passed to build.bat? Using this approach, I got a bjam binary.
participants (3)
-
Benedikt Leschitzki
-
benedikt.leschitzki@gmx.de
-
Jim Bell