On Thu, Mar 27, 2008 at 12:35 PM, Simon Wimmer
<wim...@go...> wrote:
> 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++?
Right now there is a thread that discuss similar problem, on
boost.python mailing list
http://mail.python.org/pipermail/c++-sig/2008-March/subject.html
In order to give better answer source code is needed.
> 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
Can you translate the error message to English?
Thanks
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
|