[C++-sig] problems with embedded python and pure virtual functions
roman.yakovenko at gmail.com
Thu Jan 4 14:27:53 CET 2007
On 1/4/07, Birgir Sigurjonsson <birgir-s at online.no> wrote:
> Hi, I am having problem calling a pure virtual function that
> is overritten in Python. My apology, if this post is to long
> but I am not sure how to formulate my question nor do I know
> what part of my code is needed to for you all to help me.
> I can create my AbstractLoader and call its load function.
> But then load calls load_impl I get Abort in the console.
The most important part of the code is missing. In most cases ( 99% ) the
main reason is that the derived class, defined in Python, did not call __init__
method of base class, defined in C++.
C++ Python language binding
More information about the Cplusplus-sig