The current msvccompiler.py has no support for Ms Visual Studio NET 2003 release. The registry keys are different than the original VS.NET and NET Framework File "d:\repositories\python\dist\src\lib\distutils\msvccompiler.py", line 114, in set_macro self.macros["$(%s)" % macro] = d[key] KeyError: 'sdkinstallroot' --- Paolo Invernizzi
Logged In: YES user_id=31392 Paolo mentioned this recipe in private email. The problems are some little changes is some keys in registry... The MSVS is reported as 7.1, and at line 118 is turned to: - vsbase = r"Software\Microsoft\VisualStudio\%s.0" % version + vsbase = r"Software\Microsoft\VisualStudio\%s.1" % version The .NET framework is the 1.1, and line 123 is: - self.set_macro("FrameworkSDKDir", net, "sdkinstallroot") + self.set_macro("FrameworkSDKDir", net, "sdkinstallrootv1.1") Note that the installation of VC71 *wants* this SDK, not the old 1.0, so there is no confusion... VC7 -> SDK 1.0 VC71 -> SDK 1.1