Re: [pygccxml-development] [indexing_suite_v2] error: no class template named 'extract_return_type'
Brought to you by:
mbaas,
roman_yakovenko
From: Roman Y. <rom...@gm...> - 2009-01-30 19:39:25
|
On Fri, Jan 30, 2009 at 7:22 PM, Maik Beckmann <bec...@go...> wrote: > Hello, > > I like to use the indexing_suite_v2 as provided by py++. > > As an example I did > {{{ > #include <vector> > void foo(std::vector<double> a) { } > }}} > and told module_builder_t to use v2 > {{{ > mb = module_builder.module_builder_t( > ... > , indexing_suite_version=2) > }}} > > This is what py++ generated for me > - http://pastebin.ca/1322914 > > But compiling via > $ LC_ALL=C g++ -c pyWrapper.cpp -I . -I /usr/include/python2.6/ 2>&1|tee log > gives error message > - http://pastebin.ca/1322912 > which contains > error: no class template named 'extract_return_type' > > How to do it right? http://www.nabble.com/-C%2B%2B-sig--Raoul-Gough%27s-container-suite-with-svn-boost-trunk-boost.python--td13152941.html The work around is to define BOOST_PYTHON_NO_PY_SIGNATURES gcc -DBOOST_PYTHON_NO_PY_SIGNATURES other args -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ |