As the title says. I get linings problems when trying to compile Qt 4.7.1 with Visual Studio 2010 Professional on Windows 7 64 bits.
Used:
configure -platform win32-msvc2010 when configuring the make file
configure -platform win32-msvc2010 when configuring the make file
To copy to clipboard, switch view to plain text mode
and then:
nmake
nmake
To copy to clipboard, switch view to plain text mode
error code:
link /LIBPATH:"c:\Qt\4.7.1\lib" /LIBPATH:"c:\Qt\4.7.1\lib" /NOLOGO /BASE
:0x65000000 /DEBUG /DLL /MANIFEST /MANIFESTFILE:"tmp\obj\debug_shared\QtGuid.int
ermediate.manifest" /VERSION:4.71 /OUT:..\..\lib\QtGuid4.dll @C:\Users\Mattias\A
ppData\Local\Temp\nmA336.tmp
LINK : fatal error LNK1104: cannot open file 'libpng.lib'
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0
\VC\BIN\link.EXE"' : return code '0x450'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0
\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
c:\Qt\4.7.1>
link /LIBPATH:"c:\Qt\4.7.1\lib" /LIBPATH:"c:\Qt\4.7.1\lib" /NOLOGO /BASE
:0x65000000 /DEBUG /DLL /MANIFEST /MANIFESTFILE:"tmp\obj\debug_shared\QtGuid.int
ermediate.manifest" /VERSION:4.71 /OUT:..\..\lib\QtGuid4.dll @C:\Users\Mattias\A
ppData\Local\Temp\nmA336.tmp
LINK : fatal error LNK1104: cannot open file 'libpng.lib'
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0
\VC\BIN\link.EXE"' : return code '0x450'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0
\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
c:\Qt\4.7.1>
To copy to clipboard, switch view to plain text mode
Got another error earlier where zdll.lib was missing. Found a post where the poster got it to work by downloading that file and placing it in the lib directory in VS2010's folder. That solved that error. Haven't found any information about this though.
I'm using the VS2010 Command Prompt.
Thank you for your time /Mattias
Bookmarks