Boost logo

Boost-Build :

From: Charles Brockman (cmbrockman_at_[hidden])
Date: 2008-02-05 18:15:19


Jurko Gospodnetic wrote:
> You're using a Platform SDK that did not come installed with your
> development environment and and you installed it additionally...

That is correct.

> ...it integrated itself into the Visual Studio IDE but did not update its
> vcvarsall.bat batch file.

That's possible.

> That is the batch file started by build.bat to get the correct
> environment set up for using Visual Studio tools from the command
> line.
> Look into that batch file (or just run it)...

I ran it with:
C:\Program Files\Microsoft Visual Studio 8\VC>.\vcvarsall.bat

and the response is:
Setting environment for using Microsoft Visual Studio 2005 x86 tools.

> ...make sure it sets up the correct library search settings.

Within Visual C++ 2005: Tools > Options > Projects & Solutions > VC++
Directories > Show Directories For, the Executable Files menu item lists
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin (and
numerous others)

The Include Files menu item lists
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include
[the location of windows.h] (and numerous others)

The Library Files menu item lists
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Lib (and
numerous others)

Are those correct?

> ...on VS7.1 the corresponding vcvars32.bat file is located
> in %VS71COMNTOOLS%/vcvars32.bat and it sets LIB &
> INCLUDE environment variables to be used by cl.exe.

My vcvars32.bat is empty except for the single line:
"%VS80COMNTOOLS%vsvars32.bat"

Invoking .\vcvars32.bat produces the response:
Setting environment for using Microsoft Visual Studio 2005 x86 tools.

jam's build.bat file still can't find windows.h.

-- 
Charles Brockman

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