[C++-sig] py++ boost::python::object

Борис Казаков boris.kazakov at gmail.com
Thu Feb 26 09:03:23 CET 2009


Hi I't trying to parse relatevely simple file with py++ (pyplusplus_gui):

here is header file:

#pragma once
#include <boost/python.hpp>
typedef boost::python::object pyobject;
pyobject gaussian_diffs(pyobject imarray, double sigma);

It fails with plenty of errors:

Error occured during code generation process!
Error:
Error occured while running GCC-XML: In file included from
/usr/include/boost/type_traits/composite_traits.hpp:17,
                 from /usr/include/boost/function/function_base.hpp:24,
                 from /usr/include/boost/function/detail/prologue.hpp:17,
                 from /usr/include/boost/function/function_template.hpp:13,
                 from
/usr/include/boost/function/detail/maybe_include.hpp:13,
                 from /usr/include/boost/function/function0.hpp:11,
                 from /usr/include/boost/python/errors.hpp:13,
                 from /usr/include/boost/python/handle.hpp:11,
                 from /usr/include/boost/python/args_fwd.hpp:10,
                 from /usr/include/boost/python/args.hpp:10,
                 from /usr/include/boost/python.hpp:11,
                 from /home/borsh/workspace/pyitk/gaussian_diffs.hxx:2:
and much more.

Is this excpected behaviour or should I try to update something? I'm using
gccxml-cvs 20081124
pygccxml 1.0.0
py++ 1.0.0
boost 1.37.

Thanks, Boris.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20090226/765a39f0/attachment.htm>


More information about the Cplusplus-sig mailing list