Boost logo

Boost-Build :

From: Pedro Lamarão (pedro.lamarao_at_[hidden])
Date: 2006-08-18 15:19:09


Vladimir Prus escreveu:

> Unfortunately, you did not indicate how your project does not work, and
> I can't just run it right now.
>
> One thing that seems suspicios is relative path in import statement.
> Other than that, everything looks fine. I'd need exact error messages,
> or something to guess more.

okay, fixed the test case to use an absolute path in the import statement.

The error I get is the same:

C:\project>bjam
...found 9 targets...
...updating 5 targets...
MkDir1 bin
MkDir1 bin\msvc-7.1
MkDir1 bin\msvc-7.1\debug
compile-c-c++ bin\msvc-7.1\debug\main.obj
cl : Command line error D2004 : '/I' requires an argument

     call "C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\bin\vcvars32.ba
t" >nul
cl /Zm800 -nologo @"bin\msvc-7.1\debug\main.obj.rsp"

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

I get this result with the latest milestone release.

C:\project>bjam --version
Boost.Build V2 (Milestone 11)
Boost.Jam 03.1.13

For some reason the <include>. thing is not working properly. This is
the contents of the response file generated for main.cpp:

C:\project>type bin\msvc-7.1\debug\main.obj.rsp
"main.cpp" -Fo"bin\msvc-7.1\debug\main.obj" -TP /Z7 /Od /Ob0 /W3 /GR
/MDd /Zc:
forScope /Zc:wchar_t /GB /Op /wd4675 /EHs -c
"-I"

To reproduce this you just extract the test.zip archive in C:\ and call
bjam in the "project" directory.

--
  Pedro Lamarão

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