Instead of manually trying to get all the options to gcc correct you
might want to look at using distutils for compiling your extension.
See the SWIG documentation, section 30.2.2
(http://www.swig.org/Doc1.3/Python.html#Python_nn6)
Paul
Soren wrote:
Hi,
I went through the SWIG tutorial for t
On Apr 29, 11:31 am, Soren <[EMAIL PROTECTED]> wrote:
> Ok I found out how to do it using:
>
> gcc -Ic:\python24\include -Lc:\python24\libs --shared example_wrap.c
> example.c -lpython24 -o _example.pyd
>
> but now I get a "dynamic module does not define init function" error
> when I try to import
Ok I found out how to do it using:
gcc -Ic:\python24\include -Lc:\python24\libs --shared example_wrap.c
example.c -lpython24 -o _example.pyd
but now I get a "dynamic module does not define init function" error
when I try to import it into python..
Anyone??
Soren
--
http://mail.python.org/mailm