|
SWIG and autotools: msg#00018programming.swig
Hi, I'm trying to create a Python binding for a set of C++ libraries that are build using autotools (autoconf, automake, libtools). I added the swig commands as part of the autotools build with no problem, but I'm having problems to make Python recognize the new module. Here are more specifics: My library is called openModeller (om for short). My Makefile.am looks like this: Lib_LTLIBRARIES = _ompython.la _ompython_la_SOURCES = om_wrap.cxx _omphython_la_CPPFLAGS = -I. -I.. -I../inc -I/usr/include/python2.2
om_wrap.cxx: om.i
Part of the problem is that Python is expecting something called _modulename.so. But I can only compile a .la library using autotools. So, how do I solve this problem? If I don't use autotools, then I can get my SWIG Python binding working fine.
Any help would be greatly appreciated.
Ricardo --
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Splitting Wrappers: 00018, Kevin Smith |
|---|---|
| Next by Date: | RE: SWIG and autotools: 00018, Drummonds, Scott B |
| Previous by Thread: | Splitting Wrappersi: 00018, swente |
| Next by Thread: | RE: SWIG and autotools: 00018, Drummonds, Scott B |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |