Boost logo

Boost :

From: Clark Sims (clark_sims_boost_at_[hidden])
Date: 2006-12-27 17:07:36


I think I found a bug in the windows version of bjam. If I change the directory name, ../include , to anything else, for example ../inc , then it works fine. The name ../include confounds the windows version of bjam.

Clark Sims <clark_sims_boost_at_[hidden]> wrote: I have this Jamroot:

install ../bin : hello test.hello ;

lib hello : hello.cpp : <include>../include : <link>shared ;

exe test.hello : test.hello.cpp .//hello/<link>shared : <include>../include ;

It works fine on Linux. But when I run bjam with the same files, and the same directory structure on a windows box, the <include> doesn't work. How can I fix this problem?

the windows box produces this error output:

...found 26 targets...
...using 1 temp target...
...updating 9 targets...
...using <pbin\msvc-8.0\debug>hello.obj.rsp...
msvc.compile.c++ bin\msvc-8.0\debug\hello.obj
hello.cpp
hello.cpp(2) : fatal error C1083: Cannot open include file: 'hello.h': No such file or directory

    call "c:\Program Files\Microsoft Visual Studio 8\VC\bin\vcvars32.bat" > nul
cl /Zm800 -nologo -TP /Z7 /Od /Ob0 /GR /MDd /wd4675 /EHs @"bin\msvc-8.0\debug\hello.obj.rsp" -c
 -Fo"bin\msvc-8.0\debug\hello.obj" && del /f "bin\msvc-8.0\debug\hello.obj.rsp"

...failed msvc.compile.c++ bin\msvc-8.0\debug\hello.obj...
...skipped <pbin\msvc-8.0\debug>hello.dll.rsp for lack of <pbin\msvc-8.0\debug>hello.obj...
...skipped <pbin\msvc-8.0\debug>hello.dll for lack of <pbin\msvc-8.0\debug>hello.obj...
...skipped <p..\bin>hello.dll for lack of <pbin\msvc-8.0\debug>hello.dll...
...skipped <pbin\msvc-8.0\debug>hello.lib for lack of <pbin\msvc-8.0\debug>hello.obj...
...skipped <p..\bin>hello.lib for lack of <pbin\msvc-8.0\debug>hello.lib...
...skipped <pbin\msvc-8.0\debug>test.hello.exe.rsp for lack of <pbin\msvc-8.0\debug>hello.lib...
...skipped <pbin\msvc-8.0\debug>test.hello.exe for lack of <pbin\msvc-8.0\debug>hello.lib...
...skipped <p..\bin>test.hello.exe for lack of <pbin\msvc-8.0\debug>test.hello.exe...
...failed
 updating 1 target...
...skipped 8 targets...

I
 __________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

 __________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk