I wonder if anyone can help with this?
I'm trying to see what I can do with numpy. I have some test code I put in
here:
https://nbecker.dyndns.org/hg/numpy2/
It gives this error:
gccxml_runtime_error_t: Error occured while running
GCC-XML: /usr/include/boost/python/cast.hpp: In function 'Target*
boost::python::detail::upcast(Source*, int*, int*, Target*) [with Source =
PyArrayObject, Target = _object]':
/usr/include/boost/python/cast.hpp:52: instantiated from 'static Target*
boost::python::detail::upcaster<false>::execute(Source*, Target*) [with
Source = PyArrayObject, Target = _object]'
/usr/include/boost/python/cast.hpp:83: instantiated from 'Target*
boost::python::detail::upcast_impl(Source*, Target*) [with Source =
PyArrayObject, Target = _object]'
/usr/include/boost/python/cast.hpp:92: instantiated from 'Target*
boost::python::upcast(Source*, Target*) [with Target = _object, Source =
PyArrayObject]'
/usr/include/boost/python/refcount.hpp:36: instantiated from 'void
boost::python::xdecref(T*) [with T = PyArrayObject]'
/usr/include/boost/python/handle.hpp:211: instantiated
from 'boost::python::handle<T>::~handle() [with T = PyArrayObject]'
numpy_iter.hpp:92: instantiated from here
/usr/include/boost/python/cast.hpp:31: error: no type named 'type' in 'struct
boost::python::base_type_traits<PyArrayObject>'
/usr/include/boost/python/cast.hpp:33: error: no type named 'type' in 'struct
boost::python::base_type_traits<PyArrayObject>'
Any ideas?
|