How to import C++ static library?
Diez B. Roggisch
deets at nospam.web.de
Tue Apr 15 13:49:48 CEST 2008
> Diez: I tried SWIG, and it works nicely with C. For C++, I didn't
> manage to make it work. I tried SIP; I have some problems compiling
> etc. Would it be too much to ask you to supply a working example of a
> (simple, stupid) C++ class and the necessary SIP files? Preferably for
> Mac OS X, but Linux is also interesting I guess.
I do have some code at home, if I remember this I'll try & post it.
However, I suggest you get PyQt and inspect it. And actually I found the
SIP-documentation _very_ helpful!
More information about the Python-list