[python-win32] Building Pywin32 on vista x64 question Hello,
 
I'm trying to build pywin32 on vista 64 based on the latest setup.py (10/04/2008). I've installed python 2.6, windows sdk and directx sdk (as advertised) and got this link error:
 
LINK : warning LNK4012: invalid value 'x86_64', must be 'ARM, EBC, IA64, MIPS, MIPS16, MIPSFPU, MIPSFPU16, SH4, THUMB, X64, or X86'; option ignored

Also c:\\Python26\\PCbuild doesn't exist in the python26 installation. Do I need to rebuild it first prior to build pywin32 ?
 
thanks for the help
 
-mab
 
 
C:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\BIN\\amd64\\link.exe 
/DLL 
/nologo 
/INCREMENTAL:NO 
/LIBPATH:c:\\Python26\\libs 
/LIBPATH:c:\\Python26\\PCbuild 
/LIBPATH:build\\temp.win-x86_64-2.6\\Release
"/LIBPATH:C:\\Program Files\\Microsoft Platform SDK\\lib" advapi32.lib user32.lib ole32.lib oleaut32.lib 
/EXPORT:initpywintypes 
build\\temp.win-x86_64-2.6\\Release\\win32\\src\\PyACL.obj 
build\\temp.win-x86_64-2.6\\Release\\win32\\src\\PyDEVMODE.obj 
build\\temp.win-x86_64-2.6\\Release\\win32\\src\\PyHANDLE.obj 
build\\temp.win-x86_64-2.6\\Release\\win32\\src\\PyIID.obj 
build\\temp.win-x86_64-2.6\\Release\\win32\\src\\PyLARGE_INTEGER.obj 
build\\temp.win-x86_64-2.6\\Release\\win32\\src\\PyOVERLAPPED.obj 
build\\temp.win-x86_64-2.6\\Release\\win32\\src\\PySECURITY_ATTRIBUTES.obj 
build\\temp.win-x86_64-2.6\\Release\\win32\\src\\PySECURITY_DESCRIPTOR.obj 
build\\temp.win-x86_64-2.6\\Release\\win32\\src\\PySID.obj 
build\\temp.win-x86_64-2.6\\Release\\win32\\src\\PyTime.obj 
build\\temp.win-x86_64-2.6\\Release\\win32\\src\\PyUnicode.obj 
build\\temp.win-x86_64-2.6\\Release\\win32\\src\\PyWAVEFORMATEX.obj 
build\\temp.win-x86_64-2.6\\Release\\win32\\src\\PyWinTypesmodule.obj 
/OUT:build\\lib.win-x86_64-2.6\\pywin32_system32\\pywintypes26.dll 
/IMPLIB:build\\temp.win-x86_64-2.6\\Release\\win32\\src\\pywintypes26.lib 
/MACHINE:x86_64 
/BASE:0x1e7d0000 
/DEBUG 
/PDB:build\\temp.win-x86_64-2.6\\Release\\pywintypes.pdb
LINK : warning LNK4012: invalid value 'x86_64', must be 'ARM, EBC, IA64, MIPS, MIPS16, MIPSFPU, MIPSFPU16, SH4, THUMB, X64, or X86'; option ignored
PyWinTypesmodule.obj : warning LNK4197: export 'initpywintypes' specified multiple times; using first specification
   Creating library build\\temp.win-x86_64-2.6\\Release\\win32\\src\\pywintypes26.lib and object build\\temp.win-x86_64-2.6\\Release\\win32\\src\\pywintypes26.exp
PyTime.obj : error LNK2001: unresolved external symbol GUID_NULL
PyUnicode.obj : error LNK2001: unresolved external symbol GUID_NULL
PyWAVEFORMATEX.obj : error LNK2001: unresolved external symbol GUID_NULL
PyWinTypesmodule.obj : error LNK2001: unresolved external symbol GUID_NULL
PyOVERLAPPED.obj : error LNK2001: unresolved external symbol GUID_NULL
PySECURITY_ATTRIBUTES.obj : error LNK2001: unresolved external symbol GUID_NULL
PySECURITY_DESCRIPTOR.obj : error LNK2001: unresolved external symbol GUID_NULL
PySID.obj : error LNK2001: unresolved external symbol GUID_NULL
PyACL.obj : error LNK2001: unresolved external symbol GUID_NULL
PyDEVMODE.obj : error LNK2001: unresolved external symbol GUID_NULL
PyHANDLE.obj : error LNK2001: unresolved external symbol GUID_NULL
PyIID.obj : error LNK2001: unresolved external symbol GUID_NULL
PyACL.obj : error LNK2019: unresolved external symbol __imp_InitializeAcl referenced in function "public: static struct _object * __cdecl PyACL::Initialize(struct _object *,struct _object *)" (?wllqiqqezd@PyACL@@SAPEAU_object@@PEAU2@0@Z  )
PyACL.obj : error LNK2019: unresolved external symbol __imp_IsValidAcl referenced in function "public: static struct _object * __cdecl PyACL::IsValid(struct _object *,struct _object *)" (?crnwfwf@PyAC  L@@SAPEAU_object@@PEAU2@0@Z)
