Compiling extension with Visual C++ Toolkit Compiler - MSVCR80.dll
Peter Wang
misterwang at gmail.com
Mon Jan 29 16:46:52 EST 2007
On Jan 29, 2:47 pm, alexandre_irrt... at yahoo.com wrote:
> The library seems to build correctly (producing Polygon.py and
> cPolygon.pyd), but when I import it I get the following message from
> python.exe: "This application has failed to start because MSVCR80.dll
> was not found". I thought that this might be due to Python trying to
> link against the .dll from Microsoft Visual C++ Express 2005, also
> installed on my PC, instead of MSVCR71.dll. So I've removed MS Visual C
> ++ Express 2005, and any trace of it from my environment variables,
> but that doesn't seem to change anything.
Alex, I'm not familiar with the particular problem you're seeing, but
did you try building the polygon library using the gcc that's included
with the Enthought distribution?
python setup.py build_clib build_ext --inplace --compiler=mingw32
-Peter
More information about the Python-list
mailing list