Re: [C++-sig] Boost-Python Linking Problem with Hello World Example

2012-12-20 Thread Jaedyn K. Draper
I had this problem yesterday when I switched my python library to Stackless, which I compiled myself. The problem is that python can be built two ways - with 2-byte wide chars (USC2), or with 4-byte wide chars (USC4). In my case it was the case that boost was trying and f

[C++-sig] ownership of C++ object extended in Python

2012-12-20 Thread Tiago Coutinho
Hello all, I want to export a class 'A' from an external library to python. In python I need to extend the class and I need to tell the library that it will 'own' the object. I have tried the example in: http://wiki.python.org/moin/boost.python/HowTo (chapter "ownership of C++ object") And exe