I think there's an --arch=x86_64 flag for sip's configure.py - chris
On Sat, Feb 20, 2010 at 11:56 PM, ryant <[email protected]> wrote: > I am trying to compile PyQt for 64 bit. I found this link: > > > http://eoyilmaz.blogspot.com/2009/09/how-to-compile-pyqt4-for-windows-x64.html > > Which is very helpful, however I have Visual Studio 2008 Express which > does not work for compiling 64 bit. So I downloaded Windows SDK for > Windows Server 2008 and .NET Framework 3.5 - Version 6.1. This comes > with a CMD Shell that I beleive should let me build a 64 bit program. > So I am stuck on trying to compile sip. When I attempt to use the > command: > > nmake > > I get this: > Copyright (C) Microsoft Corporation. All rights reserved. > > copy /y sip.exe d:\Python26\sip.exe > 1 file(s) copied. > cd siplib > "D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\Bin > \amd64\nmake.e > xe" install > > Microsoft (R) Program Maintenance Utility Version 9.00.21022.08 > Copyright (C) Microsoft Corporation. All rights reserved. > > link /NOLOGO /DLL /MANIFEST /MANIFESTFILE:sip.pyd.manifest / > SUBSYSTEM:CO > NSOLE /INCREMENTAL:NO /OUT:sip.pyd @D:\DOCUME~1\RyanT\LOCALS~1\Temp > \nm30.tmp > python26.lib(python26.dll) : fatal error LNK1112: module machine type > 'x64' conf > licts with target machine type 'X86' > NMAKE : fatal error U1077: '"D:\Program Files (x86)\Microsoft Visual > Studio 9.0\ > VC\Bin\amd64\link.EXE"' : return code '0x458' > Stop. > NMAKE : fatal error U1077: '"D:\Program Files (x86)\Microsoft Visual > Studio 9.0\ > VC\Bin\amd64\nmake.exe"' : return code '0x2' > Stop. > > I have a AMD 64 bit chip and Windows XP 64 installed my version of > Python is also 64 bit. Any ideas why it is complaining about the > target machine type being 'X86' is there a flag that I can change > somewhere for the Windows SDK? > > Ryan > > -- > http://groups.google.com/group/python_inside_maya -- http://groups.google.com/group/python_inside_maya
