Boost logo

Boost-Build :

From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2004-12-16 07:25:22


Vladimir Prus wrote:
> Hi Toon,
>
>>I need to include some directories that are subdirectories of the
>>'Program Files' directory. I'm not very experienced with bjam on windows
>>and now I have trouble with these paths.
>>
>>For instance when I run 'bjam -d2' I get following output and errors.
>>The target I'm compiling below has a dependency on 'flexlm_headers' in
>>my user-config.jam (attached).
>
>
> Could you try the attached patch?
>

It works! I thought that adding this extra print statement was only for
debugging: so that it would print soth more on the screen. But
apparantly this fixes the problem too.

>
>>Additionally I would like to ask how I can debug this exactly. The .rsp
>>files are removed when the command fails so I can't see exactly what was
>>in the file (except for looking at the output of bjam -d2).
>
>
> That's bad, I suspect we eventually need "PRECIOUS" targets, which are not
> removed.

I just found a solution. If I Ctrl-C during the compilation windows asks
if I want to abort the batch process. As long as you don't answer the
question, the .rsp file is still there. So i quickly copy it and then
answer the question and thus end up having a copy of the file.

>
>
>>And one additional question: apparantly the include directories are
>>specified with the '-I' option. Should'nt that be '/I' with msvc ? (you
>>can tell I'm a rookie on msvc, can't you ;-)
>
>
> ;-) I think V1 uses -I that that's the reason V2 uses -I too. Seems to work.
>

indeed.

 


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