Boost logo

Boost-Build :

Subject: Re: [Boost-build] How to built boost?
From: Jürgen Hunold (juergen.hunold_at_[hidden])
Date: 2011-03-14 11:41:43


Hi,

On Monday, 14. March 2011 14:40:32 PrvaPonta wrote:
> I have the same problem as Vjaceslav, except that I want to use GCC instead
> of MS Visual Studio. I have MinGW, but I read on the Boost website (not
> happy with the documentation there!) that MSYS may not work, so I'm using
> the Windows command prompt (MSYS gives the same error anyway).
>
> As for V. Prus' simple suggestion:
>
> 1. Unpack boost
> 2. Run ".\bootstrap.bat"

Well, that is for msvc which is usually autodetectable. For gcc, you should
have g++ in the PATH and issue "bootstrap.bat gcc"

> 3. Run ".\bjam.exe", optionally adding your --prefix and --build-dir and
> --build-type options.
>
> that does not work for several reasons. Beside the fact that unpacking
> Boost does not include bjam.exe, running bootstrap.bat results in the
> following error message:
> --
> Building Boost.Jam build engine
> 'cl' is not recognized as an internal or external command,
> operable program or batch file.

No mvsc detected.

> Failed to build Boost.Jam build engine.
> Please consult bjam.log for furter diagnostics.

Ah well, that is now "bootstrap.log". Documentation glitch. Should already be
fixed in current trunk

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

Those have already disappeared.

> Plus, there is no bjam.log in the BOOST_ROOT directory. Downloading and
> running bjam.exe gives the long error that Vjaceslav (Вячеслав) posted
> already. Since I don't use MSVC, I cannot follow his example.
>
> Any suggestions?

use "bootstrap.bat gcc" and the latest Boost (1.46.1)

Yours,

Jürgen

-- 
* Dipl.-Math. Jürgen Hunold       ! Ingenieurgesellschaft für 
* voice: ++49 511 262926 57       ! Verkehrs- und Eisenbahnwesen mbH  
* fax  : ++49 511 262926 99       ! Lister Straße 15
* juergen.hunold_at_[hidden]        ! www.ivembh.de
* 
* Geschäftsführer:                ! Sitz des Unternehmens: Hannover
* Prof. Dr.-Ing. Thomas Siefer    ! Amtsgericht Hannover, HRB 56965
* PD Dr.-Ing. Alfons Radtke       !

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk