On Fri, Aug 20, 2010 at 1:21 PM, Virgil Dupras <hs...@hardcoded.net> wrote: > On Fri, Aug 20, 2010 at 1:17 PM, Jiacun wu <cathay...@yahoo.com> wrote: >> >> Hi, >> >> >> >> I have successfully built and installed release SIP 4.10.5 for Python 2.6.5 >> with MS VS 2005 on Windows XP. In my computer, Qt 4.5.3, which was built >> from open source with VS 2005, has already been installed. >> >> >> >> However, now I am also trying to build the released source >> PyQt-win-gpl-4.7.4, I get the following error message from the linker when I >> run NMAKE in Microsoft Visual 2005 Command Prompt: >> >> …… >> >> cd designer >> >> "C:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe" >> >> >> >> Microsoft (R) Program Maintenance Utility Version 8.00.50727.762 >> >> Copyright (C) Microsoft Corporation. All rights reserved. >> >> >> >> "C:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe" -f >> Makefile.Release >> >> >> >> Microsoft (R) Program Maintenance Utility Version 8.00.50727.762 >> >> Copyright (C) Microsoft Corporation. All rights reserved. >> >> >> >> D:\QT\4.5.3\bin\moc.exe -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT >> -DPYTHON_LIB=\"python26.dll\" -DQT_DLL -DQT_NO_DEBUG -DQT_PLUGIN >> -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB >> -DQDESIGNER_EXPORT_WIDGETS -DQT_THREAD_SUPPORT >> -I"d:\QT\4.5.3\include\QtDesigner" -I"d:\QT\4.5.3\include\QtCore" >> -I"d:\QT\4.5.3\include\QtGui" -I"d:\QT\4.5.3\include\QtXml" >> -I"d:\QT\4.5.3\include\QtScript" -I"d:\QT\4.5.3\include" -I"d:\Program >> Files\Python26\include" -I"d:\QT\4.5.3\include\ActiveQt" -I"release" >> -I"d:\QT\4.5.3\mkspecs\win32-msvc2005" -D_MSC_VER=1400 -DWIN32 >> pluginloader.h -o release\moc_pluginloader.cpp >> >> cl -c -nologo -Zm200 -Zc:wchar_t- -O2 -MD -GR -EHsc -W3 -w34100 >> -w34189 -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT >> -DPYTHON_LIB=\"python26.dll\" -DQT_DLL -DQT_NO_DEBUG -DQT_PLUGIN >> -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB >> -DQDESIGNER_EXPORT_WIDGETS -DQT_THREAD_SUPPORT >> -I"d:\QT\4.5.3\include\QtDesigner" -I"d:\QT\4.5.3\include\QtCore" >> -I"d:\QT\4.5.3\include\QtGui" -I"d:\QT\4.5.3\include\QtXml" >> -I"d:\QT\4.5.3\include\QtScript" -I"d:\QT\4.5.3\include" -I"d:\Program >> Files\Python26\include" -I"d:\QT\4.5.3\include\ActiveQt" -I"release" >> -I"d:\QT\4.5.3\mkspecs\win32-msvc2005" -Forelease\ >> @C:\DOCUME~1\Wangjc\LOCALS~1\Temp\nm11E.tmp >> >> pluginloader.cpp >> >> cl -c -nologo -Zm200 -Zc:wchar_t- -O2 -MD -GR -EHsc -W3 -w34100 >> -w34189 -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT >> -DPYTHON_LIB=\"python26.dll\" -DQT_DLL -DQT_NO_DEBUG -DQT_PLUGIN >> -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB >> -DQDESIGNER_EXPORT_WIDGETS -DQT_THREAD_SUPPORT >> -I"d:\QT\4.5.3\include\QtDesigner" -I"d:\QT\4.5.3\include\QtCore" >> -I"d:\QT\4.5.3\include\QtGui" -I"d:\QT\4.5.3\include\QtXml" >> -I"d:\QT\4.5.3\include\QtScript" -I"d:\QT\4.5.3\include" -I"d:\Program >> Files\Python26\include" -I"d:\QT\4.5.3\include\ActiveQt" -I"release" >> -I"d:\QT\4.5.3\mkspecs\win32-msvc2005" -Forelease\ >> @C:\DOCUME~1\Wangjc\LOCALS~1\Temp\nm11F.tmp >> >> moc_pluginloader.cpp >> >> link /LIBPATH:"d:\QT\4.5.3\lib" /NOLOGO /INCREMENTAL:NO /DLL >> /MANIFEST /MANIFESTFILE:"release\pythonplugin.intermediate.manifest" >> /OUT:release\pythonplugin.dll @C:\DOCUME~1\Wangjc\LOCALS~1\Temp\nm120.tmp >> >> LINK : fatal error LNK1181: cannot open input file 'D:\Program.obj' >> >> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio >> 8\VC\BIN\link.EXE"' : return code '0x49d' >> >> Stop. >> >> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio >> 8\VC\BIN\nmake.exe"' : return code '0x2' >> >> Stop. >> >> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio >> 8\VC\BIN\nmake.exe"' : return code '0x2' >> >> Stop. >> >> >> >> Would you please help me to fix this problem or give me some idea? >> >> >> >> Thank you very much for your great help. >> >> >> >> Best regards >> >> >> >> Js Hs >> >> _______________________________________________ >> PyQt mailing list p...@riverbankcomputing.com >> http://www.riverbankcomputing.com/mailman/listinfo/pyqt > > Python 2.6 is compiled with VS2008, so I think that any extension must > also be compiled with VS2008 (Express edition works alright). At > least, that's what I could understand from my own woes trying to > compile stuff on Windows. > > Regards, > Virgil >
Oh sorry, I read the beginning of your message wrong (you could manage to compile Python 2.6 with VS2005? interesting...). Ignore it please. _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt