Getting SWIG to work with C++/Python

Jason Maskell backov at nospam.csolve.net
Thu Jan 6 19:23:33 EST 2000


Well, I bit the bullet and reinstalled VC5, and got SWIG to compile. Now, I
try "swig -c++ -python interf~1.cpp" and it chokes, hard. I try it with the
h, same thing.. I've tried variations of that, and I keep getting loads of
syntax errors, etc. Did it compile wrong? Is there some hidden syntax I
should be using? The other possibility is that since the files I'm swigging
are Borland C++ and SWIG itself was compiled with VC++.. But I can't see
that being a problem.

Any help?

Cheers,
Jason






More information about the Python-list mailing list