logo       

Re: dependant modules: msg#00145

programming.swig

Subject: Re: dependant modules

Natas writes:
> >
> > 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?

Not really. The key problem here is that in order for modules to
work together correctly, they have to share type information (which is
more than just the signature strings). The runtime libraries take
care of this.

Cheers,

Dave


_______________________________________________
Swig maillist - Swig@xxxxxxxxxxxxxxx
http://mailman.cs.uchicago.edu/mailman/listinfo/swig



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise