Boost logo

Boost-Build :

From: Bjorn Pettersen (bpettersen_at_[hidden])
Date: 2002-11-04 11:59:57


While trying to figure out a Boost.Python issue, I happened to notice
that bjam was trying to call the wrong vcvars32.bat file, it's trying to
find it in:

CALL "C:\Program Files\Microsoft Visual C++\VC98\bin\VCVARS32.BAT">nul
^^^^^^^^^^^^^^^^^^^^

(and dropping the error on the floor/nul). If you have the full visual
studio, however, vcvars32.bat is in:

c:\Program Files\Microsoft Visual Studio\VC98\bin\vcvars32.bat
^^^^^^^^^^^^^^^^^^^^^^^

(got to love MS consistency :-) For Visual Studio.NET (vc7), bjam calls
the correct file for Visual Studio (I don't have a standalone Visual
C++, so I can't try that here...)

We're politically "forced" to use .dsp/.dsw that are on a different
drive than the Boost installation, so I haven't had much experience with
bjam except for building the Boost libraries. Summarily reading the bjam
documentation seemed to indicate that having your project in an
unrelated path might be problematic until the next release (please
correct me if I'm wrong...)

-- bjorn

ps: we almost chose Perforce Jam in my last job (5 differnt unices, MVS,
and three different Winows versions). In the end we ended up writing our
own system in Java/XML -- a highly configurable piece of crap (technical
term :-) that had no shortcuts for any common tasks (and if anyone says
that Jave is trivially portable, send them my way <wink>). It's good to
see that jam has found an active userbase though.

 


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