Results 1 to 4 of 4

Thread: The problem: fatal error U1077: 'cd' : return code '0x2'

  1. #1
    Join Date
    Jan 2009
    Posts
    15
    Thanks
    1
    Thanked 1 Time in 1 Post

    Default The problem: fatal error U1077: 'cd' : return code '0x2'

    Hi, all

    when I am compiling Qt4.6.0 for mips using vs2005, I encounter with following problem, how to solve this problems?
    is the evironment setting wrong?

    thanks.

    lib /SUBSYSTEM:WINDOWSCE,6.00 /MACHINE:MIPS /OUT:..\..\..\..\lib\QtUiToo
    lsd.lib @C:\DOCUME~1\htang\LOCALS~1\Temp\nmF1.tmp
    Microsoft (R) Library Manager Version 8.00.50727.762
    Copyright (C) Microsoft Corporation. All rights reserved.

    tmp\obj\debug_shared\abstractformbuilder.obj tmp\obj\debug_shared\formbuilder.ob
    j tmp\obj\debug_shared\ui4.obj tmp\obj\debug_shared\properties.obj tmp\obj\debug
    _shared\formbuilderextra.obj tmp\obj\debug_shared\resourcebuilder.obj tmp\obj\de
    bug_shared\textbuilder.obj tmp\obj\debug_shared\quiloader.obj tmp\obj\debug_shar
    ed\moc_properties_p.obj tmp\obj\debug_shared\moc_quiloader.obj
    cd lib\ && "C:\Program Files\Microsoft Visual Studio 8\VC\bin\nmake.exe"
    -f Makefile

    Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
    Copyright (C) Microsoft Corporation. All rights reserved.

    Makefile(1) : fatal error U1076: name too long
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.

    D:\SDK\qt\qt-everywhere-opensource-src-4.6.0>

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: The problem: fatal error U1077: 'cd' : return code '0x2'

    Try shortening the length of the path.

  3. The following user says thank you to squidge for this useful post:

    favor (15th April 2010)

  4. #3
    Join Date
    Jan 2009
    Posts
    15
    Thanks
    1
    Thanked 1 Time in 1 Post

    Default Re: The problem: fatal error U1077: 'cd' : return code '0x2'

    thanks fatjuicymole,

    I renamed the Qt default root dir which was a little long to shorter. And then, recompiling it, it solved this problems.

    thanks for your help.

  5. #4
    Join Date
    Feb 2015
    Posts
    1
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: The problem: fatal error U1077: 'cd' : return code '0x2'

    Shortening the path did the trick for me! thanks a lot.

Similar Threads

  1. qtmaind.lib fatal error LNK1103
    By fistroman in forum Installation and Deployment
    Replies: 2
    Last Post: 5th May 2010, 02:47
  2. 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
  3. Nmake crashes with error U1077
    By screeck in forum Installation and Deployment
    Replies: 5
    Last Post: 13th July 2009, 21:25
  4. Fatal error ..!!!!
    By joseph in forum Qt Programming
    Replies: 9
    Last Post: 13th November 2007, 14:05
  5. QT4 beginner Fatal Error
    By Remyfr in forum Installation and Deployment
    Replies: 3
    Last Post: 11th March 2006, 01:48

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.