Extension with MinGW

Andrew Gregory andrew.gregory at npl.co.uk
Wed Dec 4 07:16:50 EST 2002


Gerhard Häring <gerhard.haering at gmx.de> wrote in message > 
> http://groups.google.com/groups?q=group:comp.lang.python+mingw32+distutils+gerhard&hl=en&lr=&ie=UTF-8&selm=mailman.1004731924.4764.python-list%40python.org&rnum=2
> 
> Shorter URL:
> 
> http://tinyurl.com/36xy
> 

Thanks for the suggestions. The link to DLL2DEF is dead - but I've got
pexports, and that seems to work.

Distutils seems to work very nicely - it will even call SWIG first if
I give the filename as the interface file pysimple.i

But I still get the error message
ImportError: DLL load failed: The specified module could not be found.
Does the mingw-compiled DLL try to load another DLL?

Andrew.



More information about the Python-list mailing list