PDA

View Full Version : The problem: fatal error U1077: 'cd' : return code '0x2'



favor
15th April 2010, 03:11
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>

squidge
15th April 2010, 08:01
Try shortening the length of the path.

favor
15th April 2010, 15:31
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.

ankurgupta7
11th February 2015, 10:42
Shortening the path did the trick for me! thanks a lot.