Hi,
After working with pymel/python all this time, I finally have some time to look into pyQT.
I am working with Maya 2011 x64, windows 7 x64, python32.
I looked on Nate’s blog, amongst other resources. Most show how to install with python26.
I am following the “SIP” install:
http://images.autodesk.com/adsk/files/pyqtmaya2011.pdf
(Same steps found on this link)
http://eoyilmaz.blogspot.com/2009_09_01_archive.html
I can’t get the SIP nmake to finish. I get the error seen on the attached image.
The directory has the files that the command prompt is telling me were not found.
What am I missing?
Thank you,
P.
“open up the Visual Studio 2008 x64 Win64 Command Prompt from start menu/programs/etc”
Oh, I just realized what I see is “Visual Studio 2008 Command Prompt”, not x64, could that be the reason?
If so, I’ll need my IT guys to get this resolved… (?).
Thank you,
P.
I don’t think the command prompt matters that much. I compiled the whole thing in a plain cmd.exe window. The important thing is to have your PATH, INCLUDE and LIB environment variables pointing to the right folders. and if you compile x64 you should run e.g. C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars64.bat before you set those variables (I think the VC command prompt just does this for you).
for your error, make sure you’re using python x64 (have the path to the x64 python.exe in your PATH) and you don’t accidentally have x86 in your path somewhere. In the worst case, try adding Python’s include folder manually to the INCLUDE env variable.
For my personal Python compile stuff I just made a batch file which sets up the environment. One thing it does is it totally clears the PATH variable first and then just adds stuff I really need for compiling to the PATH variable.
Here’s my universal x64 python compile bat file (for VC 2008 express + Windows SDK installed in default locations, Python x64 installed in c:\python261_x64):
echo PYTHON 2.6 x64 - VC 2008 Express
call “C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars64.bat”
set PATH=c:\windows\system32;c:\python261_x64;C:\Program Files\Microsoft SDKs\Windows\v6.1\Include;C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin;%PATH%
set INCLUDE=C:\Program Files\Microsoft SDKs\Windows\v6.1\Include;%INCLUDE%
set LIB=C:\Program Files\Microsoft SDKs\Windows\v6.1\Lib\x64;%LIB%
set WindowsSdkDir=C:\Program Files\Microsoft SDKs\Windows\v6.1
Hi Robert,
Thank you for the answer.
I’ll look into that as soon as I am back at work.