Boost logo

Boost-Build :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2004-09-05 23:29:29


tonygeek wrote:

> To avoid typing I use the following batch file with VC71:
>
> cd "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin"
> call vcvars32.bat
> cd "C:\dev\Various\Math and Science\Boost C++\Build\Latest"
> bjam -sVC71_ROOT="C:\Program Files\Microsoft Visual Studio .NET 2003
> \Vc7" -sBUILD="debug release <runtime-link>static/dynamic"
> echo Build done
> pause
>
> Everything works just fine.
>
> Today I installed VC8 (Express edition that requires only Passport)
> and tried running this batch (note than only root variable name and
> paths are different):
>
> cd "C:\Program Files\Microsoft Visual Studio 8\VC\bin"
> call vcvars32.bat
> cd "C:\dev\Various\Math and Science\Boost C++\Build\Latest"
> bjam -sVC80_ROOT="C:\Program Files\Microsoft Visual Studio 8\VC" -
> sBUILD="debug release <runtime-link>static/dynamic"
> echo Build done
> pause
>
> but this keeps invoking VC 7.1 compiler and creating bin directories
> with "vc71" in their name.
>
> What am I missing?

As per documentation... You need to specify the toolset you want to
compile with. That is you need to add -sTOOLS=vc8.0 to the bjam invocation.

-- 
-- 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