How to import C++ static library?

Diez B. Roggisch deets at
Tue Apr 15 23:35:57 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.

That's a pet-project of mine. You won't make it compile though! Just see 
if it works for you as a template.


More information about the Python-list mailing list