Boost logo

Boost-Build :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2004-04-27 12:24:58


debroozey wrote:

> http://www.boost.org/more/getting_started.html
>
> Thankyou for this. Now I don't know what it means when it talks
> about MSVC_ROOT and VISUALC variables. These are recognised by the
> msvc toolset apparently.

Those are variables that the Boost.Build toolsets understand. The
variables can be specified either by setting them in the shell
environment, i.e. using the "set" command in the DOS shell, or by
specifying it on the bjam command, with "-s<varname>=<value>".

>Does this mean that visual studio
> understands them and I should define one in project settings?

No. They are strictly command shell usage.

>Or
> something else? IOW what do I have to do? I have put vc98/bin on
> the path but still cannot do bjam --version.

1. You should read the documentation that comes with MSVC about how to
use the command line compiler tools. They specifically mention a batch
file, VCVARS32.BAT or VSVARS32.BAT depending on the MSVC version, which
you execute to setup the compiler. It sets a bunch of environment
variables, running that single batch file is easier than manually
telling Boost.Build where MSVC is installed.

2. There is no bjam "--version" option. Some of the supported options
are mentioned in the getting started docs. Additional ones are mentioned
in the Boost.Jam docs
(http://www.boost.org/tools/build/jam_src/index.html and
http://www.boost.org/tools/build/jam_src/Jam.html). In this case the
option that prints out version info is "-v".

For example you might do this:

a. launch a command shell.
b. run the VCVARS32.bat script. If it's in the path you would type
"vcvars32" and return.
c. change to the boost distribution directory. ex: "cd c:\boost_1_31_0"
d. run bjam to build assuming the bjam.exe is also in the PATH: "bjam
-sTOOLS=msvc install"

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq
 

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