Boost logo

Boost Users :

From: Xavier Warin (xavier.warin_at_[hidden])
Date: 2002-02-12 03:16:16


Hi !!

While trying to compile boost python library which KCC 4.0f on Red Hat 7.0 with python
2.1.1
i get the two following errors in extension_class.hpp from boost 1.26 :

"/home01/ahbhhxx/USR/boost_1_26_0/boost/python/detail/extension_class.hpp", line 247:
error:
          identifier "non_null_from_python" is undefined
              return non_null_from_python(obj, boost::python::type<T*>());
                     ^
          detected during instantiation of class
                    "boost::python::python_extension_class_converters<T, U>
                    [with T=Data,
                    U=boost::python::detail::held_instance<Data>]" at line 26
                    of "../BPL_GCC/Boost_data.cc"

"/home01/ahbhhxx/USR/boost_1_26_0/boost/python/detail/extension_class.hpp", line 327:
error:
          identifier "non_null_from_python" is undefined
          { return *boost::python::detail::check_non_null(non_null_from_python(p,
boost::python::type<T*>())); }
                                                          ^
          detected during instantiation of class
                    "boost::python::python_extension_class_converters<T, U>
                    [with T=Data,
                    U=boost::python::detail::held_instance<Data>]" at line 26
                    of "../BPL_GCC/Boost_data.cc"

Data is an Object mapped from C++ to python. The code compiles with gcc 2.96 on the
same OS.
Has anybody an idea to get rid of the compilation problem with KCC

Thank you


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net