[ python-Bugs-1498051 ] MSVC compiler problems with .NET v2.0
SourceForge.net
noreply at sourceforge.net
Sun Jun 4 22:05:46 CEST 2006
Bugs item #1498051, was opened at 2006-05-31 11:15
Message generated for change (Comment added) made by loewis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1498051&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Distutils
Group: Python 2.4
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Retief Gerber (hrgerber)
Assigned to: Nobody/Anonymous (nobody)
Summary: MSVC compiler problems with .NET v2.0
Initial Comment:
There is a problem with msvccompiler.py that does not
allow it to work with MS Visual Studio 2005 and .NET
v2.0
msvccompiler.py
__revision__ = "$Id: msvccompiler.py,v 1.64.2.4
2005/08/07 20:50:37 loewis Exp $"
from line 128
if version > 7.0:
self.set_macro("FrameworkSDKDir",
net, "sdkinstallrootv1.1")
else:
self.set_macro("FrameworkSDKDir",
net, "sdkinstallroot")
should be replaced with
if version == 7.1:
self.set_macro("FrameworkSDKDir",
net, "sdkinstallrootv2.0")
elif version > 7.0:
self.set_macro("FrameworkSDKDir",
net, "sdkinstallrootv1.1")
else:
self.set_macro("FrameworkSDKDir",
net, "sdkinstallroot")
I dont have must dev experience on distutils, so this
might not be the best solution
----------------------------------------------------------------------
>Comment By: Martin v. Löwis (loewis)
Date: 2006-06-04 22:05
Message:
Logged In: YES
user_id=21627
This is not a bug. You shouldn't use Visual Studio 2005 to
build extensions for Python. Python extensions should be
built with the same version of the Microsoft compiler that
was used to build Python itself. For Python 2.4 and 2.5,
that's Visual Studio 2003.
Closing as "not-a-bug".
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1498051&group_id=5470
More information about the Python-bugs-list
mailing list