Just wondering if anyone can give me a few pointers as to what might be wrong here ...

I'm getting a compilation error compiling the RDKit svn source (rev 778) against the latest boost svn source. I get (among others):

/usr/local/src/boost-trunk/boost/python/def_visitor.hpp:67: instantiated from `void boost::python::def_visitor<DerivedVisitor>::visit(classT&) const [with classT = boost::python::class_<RDGeom::PointND, boost::python::detail::not_specified, boost::python::detail::not_specified, boost::python::detail::not_specified>, DerivedVisitor = boost::python::detail::operator_< op_add, boost::python::self_ns::self_t, boost::python::self_ns::self_t>]' /usr/local/src/boost-trunk/boost/python/class.hpp:225: instantiated from `boost::python::class_<T, X1, X2, X3>& boost::python::class_<T, X1, X2, X3>::def(const boost::python::def_visitor<Derived>&) [with Derived = boost::python::detail::operator_< op_add, boost::python::self_ns::self_t, boost::python::self_ns::self_t>, W = RDGeom::PointND, X1 = boost::python::detail::not_specified, X2 = boost::python::detail::not_specified, X3 = boost::python::detail::not_specified]'
Geometry/Wrap/Point.cpp:213:   instantiated from here
/usr/local/src/boost-trunk/boost/python/operators.hpp:212: error: no match for 'operator+' in 'l + r'

"g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -fPIC -pthread -Wno-unused-function -fno-strict-aliasing -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 -DNDEBUG -I"." -I"/usr/include/python2.5" -I"/usr/local/RDKitSF/trunk/External/Lapack++/include" -I"/usr/local/RDKitSF/trunk/External/vflib-2.0/include" -I"/usr/local/src/boost-trunk" -c -o "Geometry/Wrap/bin/gcc-3.4.6/release/threading-multi/Point.o" "Geometry/Wrap/Point.cpp"

...failed gcc.compile.c++ Geometry/Wrap/bin/gcc-3.4.6/release/threading-multi/Point.o... ...skipped <pGeometry/Wrap/bin/gcc-3.4.6/release/threading-multi>rdGeometry.so for lack of <pGeometry/Wrap/bin/gcc-3.4.6/release/threading-multi>Point.o... ...skipped <p/usr/local/RDKitSF/trunk/Python/Geometry>rdGeometry.so for lack of <pGeometry/Wrap/bin/gcc-3.4.6/release/threading-multi>rdGeometry.so...

----------------

Earlier I got the May 2008 release to compile against boost 1.35, but it failed a number of tests (I think including some that didn't get picked up as failures, but that's a different matter) so I decided to try the svn sources. diff says there's no changes in either Geometry/Wrap/Point.cpp or boost/python/operators.hpp between the respective older releases and their svn counterparts, so I'm not sure where to go from there ...

Any help would be greatly appreciated.

Cheers
Iain

Reply via email to