Compiling extension with Visual C++ Toolkit Compiler - MSVCR80.dll

"Martin v. Löwis" martin at v.loewis.de
Mon Jan 29 16:17:13 EST 2007


alexandre_irrthum at yahoo.com schrieb:
> 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.
> 
> Any help would be greatly appreciated.

Can you find out where msvcrt.lib comes from? If you manage to copy
the linker command line, I think link.exe has a way of telling you
where it picked up the file. If that won't work, and you find multiple
copies of msvcrt.lib on your disk, you can use dumpbin /all on
each of them to find out which one is right.

Regards,
Martin



More information about the Python-list mailing list