Boost logo

Boost-Build :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-05-14 08:51:30

----- Original Message -----
From: "Markus Schöpflin" <markus.schoepflin_at_[hidden]>

> Ok, now I have my bjam and I try to follow the instructions to
> build the boost library.
> First problem: I had a BOOST_ROOT set that pointed to an older
> boost directory. Please add a note that I should check my
> BOOST_ROOT variable, if present.

I just changed boost-build.jam at the top level to set BOOST_ROOT
unconditionally, overriding any setting in the environment.

> Next problem: After unsetting my BOOST_ROOT, the follwing happened.
> C:\src\boost\BO62A4~1\boost>.\bjam -sTOOLS="msvc"


> Das System kann den angegebenen Pfad nicht finden.
> Das System kann den angegebenen Pfad nicht finden.
> CALL "C:\Program Files\Microsoft Visual C++\VC98\bin\VCVARS32.BAT"
> "C:\Program Files\Microsoft Visual C++\VC98\bin\cl"
/Zm400 -nologo -GX -c
> -I"libs\regex\build" -I"C:\src\boost\BO62A4~1\boost" -Fo"libs\regex\bu
libboost_regex.lib\msvc\debug\runtime-link-dynamic\c_regex_traits.obj" -Tp
> s\regex\build\../src\c_regex_traits.cpp"
> ...failed vc-C++
> -dynamic\c_regex_traits.obj...
> vc-C++
> _regex_traits_common.obj
> It can't find python which is ok 'cause I don't have it. Next it
> tries to build the regex library and fails. The translated message
> is "the system can't find the path specified". The build system is
> trying to call vcvars32.bat (why?) and is looking in the wrong place.
> The right place would be "C:\Programme\...", not "C:\Program Files\...".

It's because you don't have the MSVC toolset set up properly, and it's
trying to guess what to do. It makes the wrong guess on your system. We're
working on instructions for all the toolsets, but we don't have any for
that one yet. There are two basic ways to set it up:

1. Run VCVARS32.bat yourself before building
2. Set MSVC_ROOT to point at your installation's VC98 directory


**Future versions of Boost.Jam will have the ability to look in the Windows
registry so it doesn't have to guess.


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