Step by step: Compiling extensions with MS Visual C++ Toolkit 2003 - msvccompiler-patch.txt (0/1)

wjb131 at web.de wjb131 at web.de
Wed Dec 22 11:40:26 EST 2004


...
> d:\Python24\include\pyconfig.h(30) : fatal error C1083: Cannot open
> include file
> : 'io.h': No such file or directory
> error: command '"D:\Programme\Microsoft Visual C++ Toolkit
> 2003\bin\cl.exe"' fai
> led with exit status 2
>
> why?

Under :
HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio
\7.1\VC\VC_OBJECTS_PLATFORM_INFO\Win32\Directories

You need to add the strings:
"Include Dirs"(path to toolkit \include; path to platform sdk \include)
"Library Dirs"(path to toolkit \lib; path to platform sdk \lib)
"Path Dirs" (path to toolkit \bin; path to platform sdk \bin)




More information about the Python-list mailing list