Extension with MinGW
Gerhard Häring
gerhard.haering at opus-gmbh.net
Wed Dec 4 07:26:51 EST 2002
Andrew Gregory <andrew.gregory at npl.co.uk> wrote:
> 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?
Normally not. But you can use the free Dependency Walker tool
(http://www.dependencywalker.com/) to verify that.
--
Gerhard Häring
OPUS GmbH München
Tel.: +49 89 - 889 49 7 - 32
http://www.opus-gmbh.net/
More information about the Python-list
mailing list