Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-02-03 12:08:42


----- Original Message -----
From: "sfranke2000" <franke_at_[hidden]>

> Did that, still doesn't work

> There must be some very simple thing missing, an environment variable
> or something, I'm sure. Please have a look at the first error msg
> below.
>
> When calling jam, BOOST_ROOT is set to c:\boost, and all error
> messages say something like
>
> Cannot open include file: 'boost/python/detail/call_object.hpp'
>
> But of course 'call_object.hpp' is at that relative position to
> BOOST_ROOT. Same if I try to build the whole Boost lib from the
> boost root directory.
>
> The compiler complains about not being able to include files that
> are exactly at the given position (in the error msg) relative to the
> *current* dir. So it should be able to include them even without
> setting an include path!

That's not what I'm seeing. It looks like you are in
c:\boost\libs\python\build and the compiler can't find
boost/python/detail/call_object.hpp. I don't see BOOST_ROOT in your #include
path as it should be. Thus the only possible search would be:

   c:\boost\libs\python\build\boost\python\detail\call_object.hpp

Ah, I see a problem: toolset names are case-sensitive. I realize this is a
weakness; windows users tend to assume that nothing is case-sensitive.
Please be sure you use -sTOOLS=msvc (lower-case). If that doesn't work,
please add -d+5 to your command-line, redirect the results into a file,
compress the file and send it to me personally (not the list). I'll look
into the problem.

-Dave

>
>
> --------------------------------
>
> C:\boost\libs\python\build>jam -sTOOLS="MSVC" -sBOOST_ROOT=c:\boost
> don't know how to make <python-library@>python21.lib
> ...found 315 targets...
> ...updating 56 targets...
> ...can't find 1 target...
> ...can't make 42 targets...
> msvc-C++-
> action ..\..\..\libs\python\build\bin\libboost_python_static\MSVC\debu
> g
> \types.obj
> types.cpp
> ../src\types.cpp(11) : fatal error C1083: Cannot open include
> file: 'boost/python/detail/call_object.hpp': No such file or directory
>
>
> cl /Zm400 -nologo -GX -c -I"..\..\..\libs\python\build" -
> I"." -I"c:/too
> ls/python\include" -I"c:/tools/python\PC" -I"D:\PROGRA~1\MICROS~1
> \VC98\include"
> -
> Fo"..\..\..\libs\python\build\bin\libboost_python_static\MSVC\debug\ty
> pes.obj
> " -Tp"../src\types.cpp"
>
> ...failed msvc-C++-
> action ..\..\..\libs\python\build\bin\libboost_python_static\
> MSVC\debug\types.obj ...
> msvc-C++-
> action ..\..\..\libs\python\build\bin\libboost_python_static\MSVC\debu
> g
> \classes.obj
> classes.cpp
> ../src\classes.cpp(16) : fatal error C1083: Cannot open include
> file: 'boost/pyt
> hon/classes.hpp': No such file or directory
>
>
> [...and hundreds more of that kind...]
>
>
>
> Info: http://www.boost.org Send unsubscribe requests to:
<mailto:boost-unsubscribe_at_[hidden]>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>


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