|
Re: dependant modules: msg#00144programming.swig
On Mon, Jan 27, 2003 at 07:15:40AM -0600, David Beazley wrote: > Natas writes: > > Hi, > > > > I'm attempting to create 2 python swig modules, with one module using > > objects found in the other. > > > [ snip ] > > I'm trying to make this work by %import'ing the .i for the otk module, > > but it doesn't work. The code in the wrap.cc's seems identical, they > > have the same type names etc, and in both modules they return the same > > thing as far as I can tell. Is there any way I can make this work? > > > > Are you running SWIG with the '-c' option and linking against the SWIG > runtime libraries? If not, that's the problem. See > Examples/python/import for an example. Oh, wow, that was painless. Thanks! I don't suppose there is any more painful ways to do this without requiring my end users to have libswigpy on their system? Natas -- I am damn unsatisfied to be killed in this way. http://www.icculus.org/openbox/
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | dependant modules: 00144, David Beazley |
|---|---|
| Next by Date: | Re: dependant modules: 00144, David Beazley |
| Previous by Thread: | dependant modulesi: 00144, David Beazley |
| Next by Thread: | Re: dependant modules: 00144, David Beazley |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |