|
Boost-Build : |
Subject: Re: [Boost-build] Error compiling code with Boost
From: Jürgen Hunold (jhunold_at_[hidden])
Date: 2012-11-21 04:06:18
Hi Amos,
On Tuesday, 20. November 2012 11:44:31 Amos Anderson wrote:
> Hello --
>
> I'm having trouble compiling our code on redhat gcc 4.4.6 (full specs
> below). There are a lot of errors in the output, but paring down the list a
> bit, some examples are pasted below. This exact same code successfully
> compiles on several OSX compilers, as well as redhat gcc 4.1.2.
Well, this is not a Boost.Build problem as the build engine seems to run fine.
> thanks for any advice!
> ../tools/boost/boost/range/algorithm/equal.hpp:160: error: âboost::rangeâ is
> not a function, ../tools/boost/boost/python/iterator.hpp:92: error:
> conflict with âtemplate<class Accessor1, class Accessor2>
> boost::python::api::object boost::python::range(Accessor1, Accessor2)â
> pymodule/wrap_vector.hh:68: error: in call to ârangeâ
OSX has gcc-4.2 or clang 3.1 for 10.8.
The gcc project has done some cleanups of standard library code, eliminating
some implicit dependencies. So you might need to explicitly include the now
missing headers.
Yours,
Jürgen
-- * Dipl.-Math. Jürgen Hunold ! * voice: ++49 4257 300 ! FährstraÃe 1 * fax : ++49 4257 300 ! 31609 Balge/Sebbenhausen * jhunold_at_gmx.eu ! Germany
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