By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,767 Members | 1,375 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,767 IT Pros & Developers. It's quick & easy.

SWIG, C++, and Mac OS X

P: n/a

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 file.

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

Jul 5 '06 #1
Share this Question
Share on Google+
1 Reply

P: n/a
why are you modifying your file? can't you just run:
swig -c++ -python exampleFile.i

have you seen , does it describe
something like what you'd like to do?


Jul 5 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.