Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2005-03-21 09:56:10

"Keith MacDonald" <boost_at_[hidden]> writes:

> None of build v2 documentation was in my cvs directory, so I installed
> version 1.32 and found it there.

Since v2 is still in a pre-release state, you're much better off using
the current CVS state of its documentation:


> After running vcvars32.bat for VC8, my
> commands for building are now:
> set PYTHON_ROOT=C:\Apps\Python23
> set ICU_PATH=F:\Dev\icu-3.2
> set INCLUDE=%INCLUDE%;"F:\Program Files\Microsoft Platform SDK for Windows
> XP SP2\Include"
> set LIB=%LIB%;"F:\Program Files\Microsoft Platform SDK for Windows XP
> SP2\Lib"
> tools\build\jam_src\bin.ntx86\bjam --v2 "-sTOOLS=vc-8_0"
This is not appropriate when using Boost.Build v2

> Confusingly, that results in the following output:
> warning: Python location is not configured
> warning: the Boost.Python library won't be built
> Building Boost.Regex with Unicode/ICU support enabled
> Using ICU in F:\Dev\icu-3.2/include
> warning: no toolsets are configured.
> warning: you won't be able to build C++ programs.
> warning: please consult the documentation.
> ...found 1 target...
> Presumably, the "no toolsets are configured" warning occurs because
> vc-8_0-tools.jam does not exist under tools/build/v2.

No, it's because you haven't set up user-config.jam or site-config.jam
as described in

> Please will you let me know exactly what steps are required to build
> with Boost.Build v2.

Unfortunately, I'm not 100% sure what's needed; Volodya, can you help

> Also, will that fix the compilation error in lexical_cast.hpp?


Dave Abrahams
Boost Consulting

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