[pygccxml-development] More questions on the Ogre Binding
Brought to you by:
mbaas,
roman_yakovenko
From: Lakin W. <lak...@gm...> - 2006-05-29 02:49:10
|
Hi list, This question is probably more for Roman, than the list directly, but I'm sending it to the list for archival purposes. First off, I'm using revision 178. And I've uploaded the scripts I'm using to: http://lakin.weckers.net/ogre/ generate_code.py doesn't show any errors, but trying to compile the resulting code results in an error of: for both Vector3.pypp.cpp, and Quaternion.pypp.cpp for the line which looks similar to: .def_readonly( "", &Ogre::Vector3 ) Commenting this out allows the build to continue, but Matrix4.pypp.cpp errors with: g++ `pkg-config --cflags OGRE` -I/usr/include/python2.4 -fPIC -Icpp -c -o cpp/Matrix4.pypp.os cpp/Matrix4.pypp.cpp cpp/Matrix4.pypp.cpp: In function 'void register_Matrix4_class()': cpp/Matrix4.pypp.cpp:12: error: wrong number of template arguments (16, should be 15) /usr/include/boost/python/init.hpp:58: error: provided for 'template<class T0, class T1, class T2, class T3, class T4, class T5, class T6, class T7, class T8, class T9, class T10, class T11, class T12, class T13, class T14> class boost::python::init' scons: *** [cpp/Matrix4.pypp.os] Error 1 Boost comes with a default limit of 15 for the arity of the init stuff, and this should be fixed by using a -DBOOST_PYTHON_MAX_ARITY=16 , but this results in the error given in : http://lakin.weckers.net/ogre/Scons.log Which, for the life of me, I can't solve. Lakin |