<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3059" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#800000 size=2><SPAN 
class=990442315-06032008>Looks like MSVCCompiler&nbsp;hasn't been fixed yet to 
support AMD64 architectures. __root is referenced by get_msvc_paths but wasn't 
set in __init__.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#800000 size=2><SPAN 
class=990442315-06032008></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#800000 size=2><SPAN 
class=990442315-06032008>Known bug ?</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#800000 size=2><SPAN 
class=990442315-06032008></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#800000 size=2><SPAN 
class=990442315-06032008>My current settings:</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#800000 size=2><SPAN 
class=990442315-06032008></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#800000 
size=2>self.__product&nbsp;<SPAN class=990442315-06032008>-&gt; </SPAN>Microsoft 
SDK compiler 14.0<BR>self.__version&nbsp;<SPAN class=990442315-06032008>-&gt; 
</SPAN>8.0<BR>self.__arch&nbsp;<SPAN class=990442315-06032008>-&gt; 
</SPAN>AMD64</FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#800000 
size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#800000 size=2>class MSVCCompiler 
(CCompiler) :</FONT></DIV>
<DIV dir=ltr align=left><SPAN class=990442315-06032008><FONT face=Arial 
color=#800000 size=2>...</FONT></SPAN></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#800000 size=2>&nbsp;&nbsp;&nbsp; 
def __init__ (self, verbose=0, dry_run=0, 
force=0):<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CCompiler.__init__ 
(self, verbose, dry_run, force)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
self.__version = 
get_build_version()<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; self.__arch = 
get_build_architecture()<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if 
self.__arch == 
"Intel":<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # 
x86<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if 
self.__version &gt;= 
7:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
self.__root = 
r"Software\Microsoft\VisualStudio"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
self.__macros = 
MacroExpander(self.__version)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
else:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
self.__root = 
r"Software\Microsoft\Devstudio"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
self.__product = "Visual Studio version %s" % 
self.__version<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
else:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # 
Win64. Assume this was built with the platform 
SDK<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
self.__product = "Microsoft SDK compiler %s" % (self.__version + 
6)<BR></FONT></DIV>
<DIV><FONT face=Arial color=#800000 size=2>&nbsp;&nbsp;&nbsp; def 
get_msvc_paths(self, path, 
platform='x86'):<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; """Get a list of 
devstudio directories (include, lib or path).</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial color=#800000 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Return a list of 
strings.&nbsp; The list will be empty if unable 
to<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; access the registry or 
appropriate registry keys not 
found.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; """</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial color=#800000 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if not 
_can_read_reg:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
return []</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial color=#800000 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; path = path + " 
dirs"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if self.__version &gt;= 
7:<BR></FONT><STRONG><FONT face=Arial color=#800000 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; key = 
(r"%s\%0.1f\VC\VC_OBJECTS_PLATFORM_INFO\Win32\Directories"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
% (self.__root, 
self.__version))&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN 
class=990442315-06032008>&lt;&lt; line 616</SPAN><BR></FONT></STRONG><BR></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> python-win32-bounces@python.org 
[mailto:python-win32-bounces@python.org] <B>On Behalf Of </B>Marc-André 
Belzile<BR><B>Sent:</B> March 5, 2008 6:42 PM<BR><B>To:</B> 
python-win32@python.org<BR><B>Subject:</B> [python-win32] Building pywin32 on 
Vista 64<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=958312521-05032008>Hello,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=958312521-05032008></SPAN></FONT><FONT 
face=Arial size=2><SPAN class=958312521-05032008></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=958312521-05032008>I'm&nbsp;trying to 
build pywin32 (2.5.210.0) on Vista 64 (AMD64)&nbsp;with VS 
2005.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=958312521-05032008></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=958312521-05032008>I'm stucked right at 
the beginning of the process with this error :</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=958312521-05032008></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=958312521-05032008>File 
"C:\Python25\lib\distutils\msvccompiler.py", line 616, in get_msvc_paths % 
(self.__root, self.__version))<BR>AttributeError: my_compiler instance has no 
attribute '_MSVCCompiler__root'</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=958312521-05032008></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=958312521-05032008>I did install the 
windows server 2003 platform SDK (AMD64) and set <FONT face="Times New Roman" 
size=3>both DISTUTILS_USE_SDK +&nbsp;</FONT>&nbsp;<FONT face="Times New Roman" 
size=3>MSSdk </FONT>as advertised. Still no succcess.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=958312521-05032008></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=958312521-05032008>Any ideas what could 
go wrong ? </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=958312521-05032008></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=958312521-05032008>Thank 
you</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=958312521-05032008></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=958312521-05032008>-mab</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=958312521-05032008></SPAN></FONT>&nbsp;</DIV></BODY></HTML>