Results 1 to 6 of 6

Thread: Qt 4.3.2 opensource + Vista + VS2005 Error

  1. #1

    Default Qt 4.3.2 opensource + Vista + VS2005 Error

    The process of configure.exe is finished with no error.
    d:\qt-win-opensource-src-4.3.2>configure.exe -prefix D:\Qt4 -release -plugin-sql
    -odbc -plugin-sql-sqlite -qt-gif -qt-libpng -qt-libmng -qt-libjpeg -saveconfig 0
    71024

    After this, I run the nmake. After about twenty minutes, Error message is occupied like this:
    link /LIBPATH:"d:\qt-win-opensource-src-4.3.2\lib" /LIBPATH:"d:\qt-win-o
    pensource-src-4.3.2\lib" /NOLOGO /BASE:0x65000000 /INCREMENTAL:NO /DLL /MANIFEST
    FILE:"tmp\obj\release_shared\QtGui.intermediate.ma nifest" /VERSION:4.32 /OUT:..\
    ..\lib\QtGui4.dll @C:\Users\Luffe\AppData\Local\Temp\nmA61A.tmp
    Creating library ..\..\lib\QtGui4.lib and object ..\..\lib\QtGui4.exp
    mt.exe -nologo -manifest "tmp\obj\release_shared\QtGui.intermediate.man i
    fest" -outputresource:..\..\lib\QtGui4.dll;2

    mt.exe : general error c101008d: Failed to write the updated manifest to the res
    ource of file "..\..\lib\QtGui4.dll".
    NMAKE : fatal error U1077: '"D:\Microsoft Visual Studio 8\VC\BIN\mt.exe"' : retu
    rn code '0x1f'
    Stop.
    NMAKE : fatal error U1077: '"D:\Microsoft Visual Studio 8\VC\BIN\nmake.exe"' : r
    eturn code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.

    I am learner of Qt. Please help me.

  2. #2
    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: Qt 4.3.2 opensource + Vista + VS2005 Error

    That's a msvc problem because mt.exe tries to update the manifest but the dll is still opened by another process. Try using ntfs as filesystem. Sometimes it's also working when you try to link it again (and again and again...). This was the reason why I switched to ntfs file system. There the filetimes are more accurate and the error does not happen.

  3. #3

    Default Re: Qt 4.3.2 opensource + Vista + VS2005 Error

    OK. I'll try it. Thanks a million for your reply.

  4. #4

    Default Re: Qt 4.3.2 opensource + Vista + VS2005 Error

    Quote Originally Posted by ChristianEhrlicher View Post
    That's a msvc problem because mt.exe tries to update the manifest but the dll is still opened by another process. Try using ntfs as filesystem. Sometimes it's also working when you try to link it again (and again and again...). This was the reason why I switched to ntfs file system. There the filetimes are more accurate and the error does not happen.
    I am sorry.

    I find all the disk in my computer are ntfs file system.

    So If there are some other reasons will cause the mt.exe problem.

  5. #5
    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: Qt 4.3.2 opensource + Vista + VS2005 Error

    Sometimes (but very rarely) it can also happen there. You just have to retry. Do you have a virus scanner running in the background which maybe tries to scan the newly created lib?

    See also msdn for this issue.

  6. #6

    Default Re: Qt 4.3.2 opensource + Vista + VS2005 Error

    Quote Originally Posted by ChristianEhrlicher View Post
    Sometimes (but very rarely) it can also happen there. You just have to retry. Do you have a virus scanner running in the background which maybe tries to scan the newly created lib?

    See also msdn for this issue.
    It's succeed now. I just call "nmake" again after the error message occupied.

    Then I find QtGUI4.dll is missing from ..\bin. But I find it in the folder ../lib.

    Then I copy this dll file to ..\bin and run the QtDemo.............Wa.... It's ok now.

    Thanks a million.

Similar Threads

  1. Error compiling psql plugin
    By vieraci in forum Installation and Deployment
    Replies: 4
    Last Post: 7th October 2007, 02:49
  2. qt 4.2.2 install on aix
    By try to remember in forum Installation and Deployment
    Replies: 2
    Last Post: 28th March 2007, 12:19
  3. Qt-x11-commercial-src-4.2.0-snapshot-20060824 error
    By DevObject in forum Installation and Deployment
    Replies: 4
    Last Post: 24th August 2006, 23:31
  4. use qpsql
    By raphaelf in forum Installation and Deployment
    Replies: 34
    Last Post: 22nd August 2006, 12:52
  5. Am I the only one with "make" error ?
    By probine in forum Installation and Deployment
    Replies: 1
    Last Post: 13th February 2006, 12:54

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.