Results 1 to 11 of 11

Thread: LINK : fatal error LNK1181: can't open 'delayimp.lib'

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: LINK : fatal error LNK1181: can't open 'delayimp.lib'

    This can't be - this issue was fixed with the patch for 4.1.3.
    Please check if you really used a clean qt4.1.4 src and the correct patch.

    qt-4.1.4/mkspecs/win32-msvc.net/qmake.conf should look like here: http://qtwin.cvs.sourceforge.net/*ch...f?revision=1.9

  2. #2
    Join Date
    Jul 2006
    Posts
    7
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: LINK : fatal error LNK1181: can't open 'delayimp.lib'

    I have download qt 4.1.2 and qt 4.1.4 src from http://www.trolltech.com/developer/downloads
    and I've used the patches from your link but allways the same error with both versions.
    Do you think that it could be a problem of the .NET? Do you know how to solve it?

  3. #3
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: LINK : fatal error LNK1181: can't open 'delayimp.lib'

    As I said above - the qmake.conf from the link solves the problem - so use this qmake.conf. Also make sure to use the correct mkspec (win32-msvc.net)

    dalyimp.lib shouldn't be anywhere in the qmake.conf - it's not used anymore.

  4. #4
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: LINK : fatal error LNK1181: can't open 'delayimp.lib'

    Also make sure that qt-4.1.4/qmake/Makefile.win32-msvc.net doesn't use delayimp.lib - I've overseen that the compilations tops already there (I thought it stops on qt lib linking)

    Qt Code:
    1. LIBS = delayimp.lib ole32.lib advapi32.lib
    To copy to clipboard, switch view to plain text mode 
    should be
    Qt Code:
    1. LIBS = ole32.lib advapi32.lib
    To copy to clipboard, switch view to plain text mode 

    in qt-4.1.4/qmake/Makefile.win32-msvc.net

  5. #5
    Join Date
    Jul 2006
    Posts
    7
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: LINK : fatal error LNK1181: can't open 'delayimp.lib'

    I've search in the qmake.conf and I've not found any reference to delaimp.lib. I have the same qmake.conf as yours.

  6. #6
    Join Date
    Jul 2006
    Posts
    7
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: LINK : fatal error LNK1181: can't open 'delayimp.lib'

    I have:
    LIBS = delayimp.lib ole32.lib advapi32.lib

    I'll try to change this line.

  7. #7
    Join Date
    Jul 2006
    Posts
    7
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: LINK : fatal error LNK1181: can't open 'delayimp.lib'

    Now I have another error:

    cl -c -FIqmake_pch.h -Yuqmake_pch.h -Fptmp\qmake_pch.pch -nologo -Zm200
    -GS -wd4996 -O2 -MD -GR -EHsc -W3 -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_EDITION=
    QT_EDITION_DESKTOP -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQT_NO_TEXTCODEC -DQT_NO_
    LIBRARY -DQT_NO_STL -DQT_NO_COMPRESS -DQT_NO_UNICODETABLES -DQT_NO_GEOM_VARIANT
    -DQT_NO_DATASTREAM -DQMAKE_OPENSOURCE_EDITION -DQT_NODLL -DQT_NO_THREAD -DQT_NO_
    QOBJECT -DWIN32 -I"../src/corelib/arch/generic" -I"generators" -I"generators\uni
    x" -I"generators\win32" -I"generators\mac" -I"../include" -I"../include/QtCore"
    -I"../qmake" -I"../mkspecs/win32-msvc.net" -Fotmp\ @C:\DOCUME~1\FERNAN~1\CONFIG~
    1\Temp\nm23.tmp
    option.cpp
    link /NOLOGO /SUBSYSTEM:CONSOLE /incremental:no /OUT:"..\bin\qmake.exe"
    @C:\DOCUME~1\FERNAN~1\CONFIG~1\Temp\nm24.tmp
    LINK : fatal error LNK1104: no se puede abrir el archivo 'msvcprt.lib'


    msvcprt.lib?

  8. #8
    Join Date
    Jul 2006
    Posts
    7
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: LINK : fatal error LNK1181: can't open 'delayimp.lib'

    msvcprt.lib is a lib of the Microsoft Studio\Vc7\lib, which has been added as a LIB environment variable. What could the problem be?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.