Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Can't open input file: 'zdll.lib'



  • Hi all,

    I'm trying to install QT 4.7.0 on Windows XP. I've follows "this tutorial":http://netindonesia.net/blogs/risman/archive/2009/04/02/qt-4-5-with-visual-studio-2008-vc-express.aspx of installation on Visual Studio 2008 (Team System). Then, I've made configure command successfully. But when I've run nmake the following error appeared:

    " link /LIBPATH:"c:\Qt\4.7.0\src\tools\bootstrap\release" /NOLOGO /INCREME
    NTAL:NO /SUBSYSTEM:CONSOLE /MANIFEST /MANIFESTFILE:"release\moc.intermediate.man
    ifest" /OUT:......\bin\moc.exe @C:\DOCUME~1\ABDELR~1\LOCALS~1\Temp\nm23A.tmp
    LINK : fatal error LNK1181: cannot open input file 'zdll.lib'
    NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
    \link.EXE"' : return code '0x49d'
    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."

    Any help?

    Thanks in advance.



  • I've resolved the problem. Just download zdll.lib from "this link":http://trac2.assembla.com/swgprecu/export/30/Lib/zdll.lib and past it in C:\Program Files\Microsoft Visual Studio 9.0\VC\lib



  • @ZiKaS The above link is broken, Can you please share me the link to download zlib. im also having same error.


  • Moderators

    @Shidharth This post was 8 years old... It would definitely have been better to start your own.

    Never do what the guy above did and just download a random dll. That's how you get malware and viruses embedded in your software. Also, never put dlls into visual studio's directory.

    Here is the website for zlib: https://zlib.net


Log in to reply