[pygccxml-development] beginner questions
Brought to you by:
mbaas,
roman_yakovenko
From: Simon W. <wim...@go...> - 2008-03-27 10:35:29
|
I´m new to py++ and I want to start getting into it by wrapping micropather, a A* implemantation. It only consists of a header and a source file so it should be easy to do. So I used the py++ gui to get the py++ code. Trying to compile it I got an C2874 error that there is a problem with an operator. I expected this as in the line above there was an comment: //WARNING: the next line of code will not compile, because "::micropather::StateCost" does not have operator== ! So I simply commented out the error line. This leads me to my first question. How could I have achieved this with py++? Afterward I get this error: Fehler 6 error C2248: "micropather::PathNode::~PathNode": Kein Zugriff auf private Member, dessen Deklaration in der micropather::PathNode-Klasse erfolgte. c:\program files (x86)\boost\boost_1_34_1\boost\python\detail\destroy.hpp 33 How could I sort out that one? Also I´m confused by another thing. Trying ou the code from the introduction: mb.calldefs( access_type_matcher_t( 'protected' ) ).exclude() I get an errror with: access_type_matcher_t('protected'). What exactly does this access_type_matcher_t thingy mean. Looking at the source I get instructed to look at decl_wrappers.scopdef_t, but that completley confuses me. |