Results 1 to 4 of 4

Thread: win 7 vs2010 nmake fatal error U1077

  1. #1
    Join Date
    Sep 2011
    Posts
    3
    Thanks
    1

    Default win 7 vs2010 nmake fatal error U1077

    Hi. Trying to build 4.7.4 opensource with vs2010. This is what I have done:
    1. unzipped
    2. added bin to PATH
    3. opened vs2010 command promp
    4. ran configure -debug-and-release -opensource -platform win32-msvc2010 -no-phonon -no-phonon-backend -no-webkit
    5. ran nmake


    I have also tried different configure options as well as nmake sub-src but I keep getting fatal errors always. I've googled and searched this forum and tried all the suggestions to no luck.

    Qt Code:
    1. cl -c -nologo -Zm200 -Zc:wchar_t- -O2 -MD -MP -GR -EHsc -W3 -w34100 -w34
    2. 189 -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_PLUGIN
    3. -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_
    4. HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"..\..\..\..\include\QtCore" -I
    5. "..\..\..\..\include\QtNetwork" -I"..\..\..\..\include" -I"..\..\..\..\include\A
    6. ctiveQt" -I"tmp\moc\release_shared" -I"..\..\..\..\mkspecs\win32-msvc2010" -Fotm
    7. p\obj\release_shared\ @C:\Users\xxx\AppData\Local\Temp\nmAB96.tmp
    8. moc_qnativewifiengine.cpp
    9. moc_qnetworksession_impl.cpp
    10. moc_qbearerengine_impl.cpp
    11. link /LIBPATH:"c:\Programming\3rdParty\Qt\lib" /LIBPATH:"c:\Programming\
    12. 3rdParty\Qt\lib" /NOLOGO /INCREMENTAL:NO /DLL /MANIFEST /MANIFESTFILE:"tmp\obj\r
    13. elease_shared\qnativewifibearer.intermediate.manifest" /VERSION:4.74 /OUT:..\..\
    14. ..\..\plugins\bearer\qnativewifibearer4.dll @C:\Users\xxx\AppData\Local\Temp\
    15. nmAE35.tmp
    16. Creating library ..\..\..\..\plugins\bearer\qnativewifibearer4.lib and object
    17. ..\..\..\..\plugins\bearer\qnativewifibearer4.exp
    18. mt.exe -nologo -manifest "tmp\obj\release_shared\qnativewifibearer.inter
    19. mediate.manifest" -outputresource:..\..\..\..\plugins\bearer\qnativewifibearer4.
    20. dll;2
    21. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A
    22. \bin\mt.exe"' : return code '0x1f'
    23. Stop.
    24. NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 10.0
    25. \VC\BIN\nmake.exe"' : return code '0x2'
    26. Stop.
    27. NMAKE : fatal error U1077: 'cd' : return code '0x2'
    28. Stop.
    29. NMAKE : fatal error U1077: 'cd' : return code '0x2'
    30. Stop.
    31. NMAKE : fatal error U1077: 'cd' : return code '0x2'
    32. Stop.
    To copy to clipboard, switch view to plain text mode 

    Please let me know if you have any ideas.

    Thanks.

  2. #2
    Join Date
    Sep 2011
    Posts
    9
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    2

    Default Re: win 7 vs2010 nmake fatal error U1077

    I had some rather misterious errors when dealing with mt, nmake and MSVC, most of them produced that same error code (U1077) at some point. Some of them are:
    - build failing when run on non NTFS or shared partitions (both network and VM shares, btw)
    - some bizarre race conditions on multicore CPU (on windows 7)
    - antivirus messing up the linking.

  3. #3
    Join Date
    Sep 2011
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: win 7 vs2010 nmake fatal error U1077

    Today I has the same failure, when compiling QT 4.7.4.

    After deactivation of my Kaspersky Antivirus and starting "nmake" again (without cleaning) I succeeded.

    Greetings

  4. #4
    Join Date
    Sep 2011
    Posts
    3
    Thanks
    1

    Default Re: win 7 vs2010 nmake fatal error U1077

    Thanks for your input. I did manage to build most of Qt by opening the projects.sln in VS2010. At least the core libs. I'll try to disable my antivirus and try again.

Similar Threads

  1. The problem: fatal error U1077: 'cd' : return code '0x2'
    By favor in forum Installation and Deployment
    Replies: 3
    Last Post: 11th February 2015, 10:42
  2. compile error Qt 4.7.4 vs2010
    By hy in forum Newbie
    Replies: 1
    Last Post: 5th September 2011, 07:18
  3. fatal error C1001: An internal error has occurred in the compiler
    By noodles in forum Installation and Deployment
    Replies: 0
    Last Post: 12th August 2010, 11:24
  4. the problem: fatal error U1077: 'cd' : return code '0x2'
    By favor in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 15th April 2010, 13:28
  5. Nmake crashes with error U1077
    By screeck in forum Installation and Deployment
    Replies: 5
    Last Post: 13th July 2009, 21:25

Tags for this Thread

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.