Aargh.
After many many hours and energy drinks later I still can't get Qt 4.5.1 to build succesfully. I'm trying to build it on windows using Visual Studio 2008. I have installed DirectX and PlatformSdk.
I get the following error:
link /LIBPATH:"c:\Qt\4.5.1\lib" /LIBPATH:"c:\Qt\4.5.1\lib" /NOLOGO /INCR
EMENTAL:NO /LTCG /DLL /MANIFEST /MANIFESTFILE:"tmp\obj\release_shared\qjpeg.inte
rmediate.manifest" /VERSION:4.51 /OUT:..\..\..\..\plugins\imageformats\qjpeg4.dl
l @C:\Users\Admin\AppData\Local\Temp\nm7BA9.tmp
LINK : fatal error LNK1104: cannot open file '..\..\..\..\plugins\imageformats\q
jpeg4.dll'
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
\link.EXE"' : return code '0x450'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
link /LIBPATH:"c:\Qt\4.5.1\lib" /LIBPATH:"c:\Qt\4.5.1\lib" /NOLOGO /INCR
EMENTAL:NO /LTCG /DLL /MANIFEST /MANIFESTFILE:"tmp\obj\release_shared\qjpeg.inte
rmediate.manifest" /VERSION:4.51 /OUT:..\..\..\..\plugins\imageformats\qjpeg4.dl
l @C:\Users\Admin\AppData\Local\Temp\nm7BA9.tmp
LINK : fatal error LNK1104: cannot open file '..\..\..\..\plugins\imageformats\q
jpeg4.dll'
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
\link.EXE"' : return code '0x450'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
To copy to clipboard, switch view to plain text mode
Used configuration line:
configure -no-sql-sqlite -no-qt3support -platform win32-msvc2008 -no-libtiff -no-dbus -no-phonon -no-phonon-backend -no-webkit
Also run before config:
c:\Program Files\Microsoft DirectX SDK (March 2009)\Utilities\bin\dx_setenv.cmd
c:\Program Files\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat
configure -no-sql-sqlite -no-qt3support -platform win32-msvc2008 -no-libtiff -no-dbus -no-phonon -no-phonon-backend -no-webkit
Also run before config:
c:\Program Files\Microsoft DirectX SDK (March 2009)\Utilities\bin\dx_setenv.cmd
c:\Program Files\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat
To copy to clipboard, switch view to plain text mode
Any ideas how to fix this?
I also noticed that even bundled demos+tools won't run anymore. For example designer gives error "the beginning of the procedure ?allocateNode@QHashData@@QAEPAXXZ wasn't found from QtCore4.dll" (freely translated from Finnish). It did run perfectly well before. Apparently unsuccesfull compilation breaks everything...
Bookmarks