Boost logo

Boost-Build :

From: Deane Yang (deane_yang_at_[hidden])
Date: 2005-11-14 17:43:24

I'm finally trying to learn how to use bjam, but it's not working.

I'm using:
Windows XP
VC++ Express 2005
Boost Build V2 (Milestone 10) (as reported by "bjam --version")
Boost.Jam 03.1.12 (as reported by "bjam --version")

(Everything was downloaded using CVS from the boost repository on
sourceforge. I compiled bjam using the VC++ compiler)

I added the line

using msvc : 8.0 ;

to the file user-config.jam

Now I do the following:
1) Open up vsvars32.bat
2) Chdir to boost/tools/build/v2/example/hello
3) Run "bjam --v2" (the "--v2" is not needed, right?)

The resulting output is shown below. Note that the file
"bin\msvc-8.0\debug\hello.obj.rsp" does in fact exist after running bjam.

Can someone tell me what I'm doing wrong?

----------Output from "bjam --v2"------------------------------

...found 9 targets...
...updating 5 targets...
MkDir1 bin
MkDir1 bin\msvc-8.0
MkDir1 bin\msvc-8.0\debug
msvc.compile.c++ bin\msvc-8.0\debug\hello.obj
cl : Command line error D8022 : cannot open

     call "C:\Program Files\Microsoft Visual Studio 8\VC\vcvarsall.bat"
x86 >nul
cl /Zm800 -nologo -TP /Z7 /Od /Ob0 /W4 /GR /MDd /Zc:forScope
/Zc:wchar_t /Wp64 /wd4675 /EHs @"bin\msvc-8.0\debug\hello.obj.rsp" -c

...failed msvc.compile.c++ bin\msvc-8.0\debug\hello.obj...
...skipped <pbin\msvc-8.0\debug>hello.exe for lack of
...failed updating 1 target...
...skipped 1 target...
...updated 3 targets...

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