|
Boost Users : |
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: http://tinyurl.com/4fkr5
(http://www.meta-comm.com/engineering/resources/cs-win32_metacomm/doc/html/bbv2.html)
> After running vcvars32.bat for VC8, my
> commands for building are now:
>
> set PYTHON_ROOT=C:\Apps\Python23
> set PYTHON_VERSION=2.3
> 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 http://tinyurl.com/6tsog
> 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
out?
> Also, will that fix the compilation error in lexical_cast.hpp?
Doubtful.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net