SWIG, C++, and Mac OS X

  • Thread starter Siddartha Krishnan
  • Start date
S

Siddartha Krishnan

Hi,

I'm new to using python and SWIG. I am running Mac OS X 10.4. I have
a C++ class which I want to access from python, however I am unable
to compile it as a shared module in Mac OS X.

I have tried using Distutils and have successfully created a C
extension module, however I am unable to create a C++ extension
module (I dont know how to pass the -c++ parameter to swig in the
setup.py file.

I'd appreciate it If anyone could help me with creating a setup.py
file for use with c++ or compiling a shared module on OS X.

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top