SWIG Python undefined reference

Soren soren.skou.nielsen at gmail.com
Tue Apr 29 05:31:09 EDT 2008


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



More information about the Python-list mailing list