Qt Visual Studio Nmake Fatal Error U1077
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack nmake fatal error u1077 'cl' return code '0x2' Overflow the company Business Learn more about hiring developers or posting ads with us nmake fatal error u1077 return code '0x1' Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a nmake fatal error u1077 return code 0x460 community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Fatal error when compiling Qt in Windows up vote 1 down vote favorite I tried
Nmake Fatal Error U1077 Return Code 0xc0000135
to build Qt 5.0.1 with MSVS2010 in Windows 7. These are my steps: Extract source code into C:\Qt\5.0.1 Start VS2010 command prompt Type configure (this step took approximately 45 minute) Type nmake After an hour I get the following error: "C:\Program Files (x86)\Microsoft DirectX SDKUtilities\bin\x86\fxc.exe" /nologo /E standardvs /T vs_2_0 /Fh shaders\standardvs.h ..\..\..\3rdparty\angle \src\libGLESv2\shaders\Blit.vs 'C:\Program' is not recognized as an internal or external command, operable program or batch file. NMAKE : qt nmake return code 0x2 fatal error U1077: '"C:\Program Files (x86)\Microsoft DirectX SDKUtiliti es\bin\x86\fxc.exe' : return code '0x1' Stop. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0 \VC\bin\nmake.exe"' : 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. NMAKE : fatal error U1077: 'cd' : return code '0x2' Stop. NMAKE : fatal error U1077: 'cd' : return code '0x2' Stop. I searched online, and saw many solutions, but none of them solved my problem. I even re-installed Windows and repeated those steps but I got the same error again. visual-studio-2010 qt qt5 share|improve this question edited Oct 25 '13 at 7:01 codeling 7,16411847 asked Feb 13 '13 at 19:45 Nicole 1421515 which path was it that you needed to change? I have exactly the same problem in Windows 8 with VS2013... –codeling Oct 24 '13 at 13:59 ...and changed all environment variables to not contain spaces anymore, ran configure again, but didn't help :( –codeling Oct 25 '13 at 6:55 add a comment| 1 Answer 1 active oldest votes up vote 4 down vote accepted You have spaces and p
here for a quick overview of the site Help Center Detailed answers to any questions nmake fatal error u1077 return code '0x2' matlab you might have Meta Discuss the workings and policies of
Nmake Fatal Error U1077 Rc Return Code 0x1
this site About Us Learn more about Stack Overflow the company Business Learn more about hiring
Nmake Fatal Error U1077 'if' Return Code '0x1'
developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a http://stackoverflow.com/questions/14861718/fatal-error-when-compiling-qt-in-windows community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up NMAKE : fatal error U1077: return code '0xc0000135' up vote 13 down vote favorite 2 I'm trying to follow steps explained here: but after entering the following into console: configure.exe -release -no-webkit -no-phonon http://stackoverflow.com/questions/6622869/nmake-fatal-error-u1077-return-code-0xc0000135 -no-phonon-backend -no-script -no-scripttools -no-qt3support -no-multimedia -no-ltcg I'm getting following error: .... .... .... Running syncqt... Creating qmake... Microsoft (R) Program Maintenance Utility Version 10.00.30319.01 Copyright (C) Microsoft Corporation. All rights reserved. cl -c -Fo./ -W3 -nologo -O2 /MP -I. -Igenerators -Igenerators\unix -Igenerators\win32 -Igenerators\mac -Igenerators\symbian -IE:\qt_source\include -IE:\qt_source\include\QtCore -IE:\qt_source\include -IE:\qt_source\include\QtCore -IE:\qt_source\src\corelib \global -IE:\qt_source\src\corelib\xml -IE:\qt_source\mkspecs\win32-msvc2010 -IE:\qt_source\tools\shared -DQT_NO_TEXTCODEC -DQT_NO _UNICODETABLES -DQT_LITE_COMPONENT -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQT_BUILD_QMAKE -DQT_NO_THREA D -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_NO_PCRE -DQT_BOOTSTRAPPED -DQLIBRARYINFO_EPOCROOT -c -Yc -Fpqmake_pch. pch -TP qmake_pch.h NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\cl.EXE"' : return code '0xc0000135' Stop. Microsoft (R) Program Maintenance Utility Version 10.00.30319.01 Copyright (C) Microsoft Corporation. All rights reserved. del qbitarray.obj qbuffer.obj qcryptographichash.obj qfsfileengine.obj qfsfileengine_iterator.obj qbytearray.obj qvsnprin tf.obj qbytearraymatcher.obj qdatetime.obj qdir.obj qdiriterator.obj qfile.obj qtemporaryfile.obj qabstractfileengine.obj qfsfi leengine_win.obj qsystemlibrary.obj qfsfileengine_iterator_win.obj qfileinfo.obj qglobal.obj qhash.obj qiodevice.obj qlist.obj qlinkedlist.obj qlocale.obj qmalloc.obj qmap.obj qregexp.obj qtextcodec.obj qutfcodec.obj qstring.obj qstringlist.obj qtextstr eam.obj qdatastream.obj quuid.obj qvector.obj qsettings.obj qlibraryinfo.obj qvariant.obj qurl.obj qsettings_win.obj qmetatype .obj qxmlstream.obj qxmlutils.obj qnumeric.obj Could
on June 28, 2012 by Alexis Chan I build Qt from source many, many times and often encounter this intermittent error: NMAKE : fatal error U1077: ‘cd' : return code ‘0x2' Building Qt with configure and nmake takes at least an hour, and https://alexisylchan.wordpress.com/2012/06/28/windows-building-qt-from-source-nmake-fatal-error-u1077-cd-return-code-0x2/ I have wasted many hours of my life rebuilding Qt (one of the suggestions that often works to fix the U1077 error is "Rerun nmake!" - but it doesn't work all the time). I finally found https://ask.wireshark.org/questions/44172/nmake-fatal-error-u1077 a solution that works (this time anyway, I will update this post if it fails in the future) requires building Qt in Safe Mode, and uses jom for multi-core Qt building (way faster compilation! for nmake fatal multi-core processors anyway) Reproduced verbatim from: http://qt-project.org/forums/viewthread/5362/#33212 All credit goes to agent8261 I too had problems trying to install Qt 4.7.2 and integrating it with visual studio. When I tried to compile Qt using nmake I always got an error stating that some dll was in use. The actual dll changed every time. After about 2 days of searching and trying things, I fixed it, but I’m not at all nmake fatal error sure what was wrong. Hopefully this will help. Here are the exact steps I had to do in order to compile: 1: I uninstalled all the QT binaries. 2: I deleted the Qt folder. 3: I downloaded the Visual Studio Add-in [qt.nokia.com] 4: I installed the visual studio add-in 5: I downloaded the Qt source code [get.qt.nokia.com] 6: I created New folders c:\Qt\4.7.2-vc\ and extracted the source code to it. 7: I set the environment variables: QTDIR = C:\Qt\4.7.2-vc\ QMAKESPEC = win32-msvc2010 8: I added to the Path variable: cd C:\Qt\4.7.2-vc\bin !!Check!! If you set it up like I did, then you should be able to do: C:\Qt\4.7.2-vc\configure.exe -help from the windows cmd prompt. 9: I downloaded the lasts version of “jom”: ftp://ftp.qt.nokia.com/jom/ 10: I created the folder C:\Qt\4.7.2-vc\jom extracted the jom files to it 11: I restarted windows then opened the VISUAL STUDIO command prompt and ran C: cd C:\Qt\4.7.2-vc configure -debug-and-release -opensource -platform win32-msvc2010 The configuration took awhile. After it was finished 12: I RESTARTED IN SAFE MODE!!!! I don’t know why this step was important, but I had to do the actual compilation in safe mode. 13: Open the VISUAL STUDIO command prompt and run C: cd C:\Qt\4.7.2-vc C:\Qt\4.7.2-vc\jom\jom.exe –j 8 8 is the number of CPU cores for my computer. Building the file took a long t
required applications: cl: /cygdrive/c/Program Files/Microsoft Visual Studio 12.0/VC/BIN/cl link: /cygdrive/c/Program Files/Microsoft Visual Studio 12.0/VC/BIN/link nmake: /cygdrive/c/Program Files/Microsoft Visual Studio 12.0/VC/BIN/nmake bash: /usr/bin/bash bison: /usr/bin/bison flex: /usr/bin/flex env: /usr/bin/env grep: /usr/bin/grep /usr/bin/find: /usr/bin/find peflags: /usr/bin/peflags perl: /usr/bin/perl C:\tools\python2\python.exe: /cygdrive/c/tools/python2/python.exe sed: /usr/bin/sed unzip: /usr/bin/unzip wget: /usr/bin/wget Can't find: C:\Qt\Qt5.3.0\5.3\msvc2013\bin\qmake ERROR: These application(s) are either not installed or simply can't be found in the current PATH: /cygdrive/c/tools/python2:/cygdrive/c/Program Files/Microsoft Visual Studio 12.0/Common7/IDE/CommonExtensions/Microsoft/TestWindow:/cygdrive/c/Program Files/Microsoft SDKs/F#/3.1/Framework/v4.0:/cygdrive/c/Program Files/MSBuild/12.0/bin:/cygdrive/c/Program Files/Microsoft Visual Studio 12.0/Common7/IDE:/cygdrive/c/Program Files/Microsoft Visual Studio 12.0/VC/BIN:/cygdrive/c/Program Files/Microsoft Visual Studio 12.0/Common7/Tools:/cygdrive/c/Windows/Microsoft.NET/Framework/v4.0.30319:/cygdrive/c/Program Files/Microsoft Visual Studio 12.0/VC/VCPackages:/cygdrive/c/Program Files/HTML Help Workshop:/cygdrive/c/Program Files/Microsoft Visual Studio 12.0/Team Tools/Performance Tools:/cygdrive/c/Program Files/Windows Kits/8.1/bin/x86:/cygdrive/c/Program Files/Microsoft SDKs/Windows/v8.1A/bin/NETFX 4.5.1 Tools:/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files/Skype/Phone:/cygdrive/c/gtk/bin:/cygdrive/c/Program Files/Windows Kits/8.1/Windows Performance Toolkit:/cygdrive/c/Program Files/Microsoft SQ