|
Boost : |
From: John Maddock (john_at_[hidden])
Date: 2007-12-14 04:37:44
Matthias Schabel wrote:
>>> This code compiles using Intel ICC 10.1, but fails with "error:
>>> utility: No such file or directory in file included from /usr/local/
>>> include/boost/tr1/functional.hpp" under gcc :
>>
>>
>>> I don't think I'm doing anything blatantly stupid here...any ideas
>>> on what's going on?
>>
>> Is this with Boost-1.34 ? If so there is a known bug (fixed in the
>> Trunk,
>> and hense the next release), which strikes only if Boost-1.34 is
>> installed
>> into an include path that appears *before* the gcc std lib include
>> path.
>> Typically this happens if Boost is installed into /usr/include by
>> your Linux
>> distro.
>
> Unfortunately not. I'm using a fairly recent snapshot of the trunk;
> version.hpp gives 103500. Boost is installed in the default
> location : /usr/local/include/boost-1_35, with a symlink to it in
> /usr/ local/include/boost... I'll try checking out the latest trunk
> if you
> think that will help... I'm compiling on OS X 10.5.1, BTW.
The change to the gcc configuration was made in changeset 39408 on
2007/20/09, and since I don't have access to Darwin this could be painful to
track down (it's pretty painful when you *do* have access to the platform in
question!)
Can you let me have a full listing of the result of building with: g++ -v,
then *maybe* I can see what the issue is.
Thanks, John.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk