Boost logo

Boost-Build :

From: Vladimir Prus (vladimir_at_[hidden])
Date: 2008-06-26 07:25:31


Andrej van der Zee wrote:

> Hi,
>
> I am struggling with bjam in Cygwin. I am using
> toolset=msvc and somehow I am not able to get absolute
> include paths right. Somehow the msvc-compiler does
> not recognize this. My guess is the difference in
> denotation of paths in Cygwin and Windows.
>
> Below the output of bjam -d2. The compiltaion fails
> because it cant find a included file in
> /usr/local/include/boost-1_35, although this directory
> is added to the -I option.

> "-I/home/Andrej van der Zee/speedo/trunk"
>
> "-I/usr/local/include/boost-1_35"

Of course this does not work -- you pass cygwin path to msvc compiler.
Since cygwin, essentially is GNU/kernel32.dll operating system, which
has nothing to do whatsoever with Microsoft Windows, such paths are
not valid paths for msvc. You need to use valid Windows paths.

> I tried using Windows
> notation of the include-path, but I can't get it to
> work.

This information is not sufficient to diagnose any problem.

- Volodya


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