Fatal Error 0x2
Contents |
SQL Server 2014 Express resources Windows Server 2012 resources Programs MSDN subscriptions Overview Benefits Administrators Students Microsoft Imagine Microsoft Student Partners ISV Startups TechRewards Events Community Magazine Forums Blogs Channel 9 Documentation APIs and reference Dev centers Retired content Samples We’re sorry. The content you requested
Fatal Error U1077 Cl Exe Return Code 0x2
has been removed. You’ll be auto redirected in 1 second. Ask a question Quick access nmake fatal error u1077 return code '0x1' Forums home Browse forums users FAQ Search related threads Remove From My Forums Answered by: NMAKE : fatal error U1077: 'cl' : return nmake fatal error u1077 'cd' return code '0x2' code '0x2' Archived Forums V > Visual C++ Express Edition Question 0 Sign in to vote I'm trying to follow this tutorial to install ruby/tk. http://www.tkdocs.com/tutorial/install.html Under the section for installing on windows they instruct to download
Nmake Fatal Error U1077 Return Code '0xc0000135'
Visual Studio 2010 (link provided on the webpage) to compile the source. When I run the configure batch file; win32\configure.bat --prefix=c:\ruby I get this error: NMAKE : fatal error U1077: 'cl' : return code '0x2' How can I fix this? Does this mean nmake can't find cl.exe? They are in the same directory. My system is Win7 64 bit. Here's the content of the configure.bat: @echo off ::: Don't set environment variable in
Nmake Fatal Error U1077 Return Code '0x460'
batch file other than autoexec.bat ::: to avoid "Out of environment space" problem on Windows 95/98. ::: set TMPMAKE=~tmp~.mak echo> ~tmp~.mak #### echo>> ~tmp~.mak conf = %0 echo>> ~tmp~.mak $(conf:\=/): nul echo>> ~tmp~.mak @del ~tmp~.mak echo>> ~tmp~.mak @-$(MAKE) -l$(MAKEFLAGS) -f $(@D)/setup.mak \ :loop if "%1" == "" goto :end if "%1" == "--prefix" goto :prefix if "%1" == "--srcdir" goto :srcdir if "%1" == "srcdir" goto :srcdir if "%1" == "--target" goto :target if "%1" == "target" goto :target if "%1" == "--with-static-linked-ext" goto :extstatic if "%1" == "--with-winsock2" goto :winsock2 if "%1" == "--program-suffix" goto :suffix if "%1" == "--program-name" goto :installname if "%1" == "--install-name" goto :installname if "%1" == "--so-name" goto :soname if "%1" == "--enable-install-doc" goto :enable-rdoc if "%1" == "--disable-install-doc" goto :disable-rdoc if "%1" == "--extout" goto :extout if "%1" == "-h" goto :help if "%1" == "--help" goto :help echo>> ~tmp~.mak "%1" \ shift goto :loop :srcdir echo>> ~tmp~.mak "srcdir=%2" \ shift shift goto :loop :prefix echo>> ~tmp~.mak "prefix=%2" \ shift shift goto :loop :suffix echo>> ~tmp~.mak "RUBY_SUFFIX=%2" \ shift shift goto :loop :installname echo>> ~tmp~.mak "RUBY_INSTALL_NAME=%2" \ shift shift goto :loop :soname echo>> ~tmp~.mak "RUBY_SO_NAME=%2" \ shift shift goto :l
here for a quick overview of the site Help Center nmake fatal error u1077 qt Detailed answers to any questions you might have Meta
Nmake Fatal Error U1077 'if' Return Code '0x1'
Discuss the workings and policies of this site About Us Learn more about Stack nmake fatal error u1077 'rc' return code '0x1' Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question https://social.msdn.microsoft.com/Forums/en-US/5dc69a41-ad61-48fb-9f20-a55a3ed24068/nmake-fatal-error-u1077-cl-return-code-0x2?forum=Vsexpressvc x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up NMAKE : fatal error U1077: 'cd' :return code '0x2' cl.exe up vote 4 down vote favorite I'm http://stackoverflow.com/questions/23831911/nmake-fatal-error-u1077-cd-return-code-0x2-cl-exe trying to compile QCAD (an open source CAD application which relies on Qt) from the source so I can build it for msvs2008. I've been following the instructions given here: http://www.qcad.org/en/component/content/article/78-qcad/111-qcad-compilation-from-sources. I've managed to successfully configure and compile Qt 4.8.5 and I set my environment variable PATH. I created a new environment variable QMAKESPEC and set the value to win-32-msvc2008. I completed the configuration of QCAD without any problems. However, about 30 min into the compilation I've run into the following error: NMAKE : fatal error U1077: 'cd' :return code '0x2'. I've seen similar errors reported for the compilation of Qt, however, I had no problem there. Is there anyone who has any idea what may be wrong? Thanks in advance. Generating Code... c:\qcad\src\3rdparty\qt-labs-qtscriptgenerator-4.8.5\generated_cpp\com_trolltech_qt_webkit\qtscriptshell_qwebpluginfactory.cpp(58) : warning C4715: 'QtScriptShell_QWebPluginFactory::create' : not all control paths return a value c:\qcad\src\3rdparty\qt-labs-qtscriptgenerator-4.8.5\generated_cpp\com_trolltech_qt_webkit\qtscriptshell_qwebpluginfactory.cpp(128) : warning C4715: 'QtScriptShell_QWebPluginFactory::p
error: Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.40219.01 for 80x86 Copyright (C) Microsoft Corporation. All rights reserved. packet-ptcm.c plugin.c https://ask.wireshark.org/questions/33169/fatal-error-u1077-return-code-0x2-when-compiling-plugins-on-windows packet-ptcm.c(199) : error C2220: warning treated as error - no 'object' https://www.ruby-forum.com/topic/5513865 file generated packet-ptcm.c(199) : warning C4047: 'function' : 'expert_field *' differs in levels of indirection from 'int' packet-ptcm.c(199) : warning C4024: 'expert_add_info_format' : different types for formal and actual parameter 3 packet-ptcm.c(199) : warning C4047: 'function' : 'const char *' differs in levels of indirection from fatal error 'int' packet-ptcm.c(199) : warning C4024: 'expert_add_info_format' : different types for formal and actual parameter 4 packet-ptcm.c(212) : warning C4047: 'function' : 'expert_field *' differs in levels of indirection from 'int' packet-ptcm.c(212) : warning C4024: 'expert_add_info_format' : different types for formal and actual parameter 3 packet-ptcm.c(212) : warning C4047: 'function' : 'const char *' differs in levels of fatal error u1077 indirection from 'int' packet-ptcm.c(212) : warning C4024: 'expert_add_info_format' : different types for formal and actual parameter 4 packet-ptcm.c(219) : warning C4047: 'function' : 'expert_field *' differs in levels of indirection from 'int' packet-ptcm.c(219) : warning C4024: 'expert_add_info_format' : different types for formal and actual parameter 3 packet-ptcm.c(219) : warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int' packet-ptcm.c(219) : warning C4024: 'expert_add_info_format' : different types for formal and actual parameter 4 packet-ptcm.c(230) : error C2198: 'dissector_try_heuristic' : too few arguments for call packet-ptcm.c(381) : warning C4113: 'int (__cdecl *)(tvbuff_t *,packet_info *,proto_tree *)' differs in parameter lists from 'new_dissector_t' packet-ptcm.c(382) : warning C4113: 'int (__cdecl *)(tvbuff_t *,packet_info *,proto_tree *)' differs in parameter lists from 'new_dissector_t' packet-ptcm.c(395) : warning C4113: 'int (__cdecl *)(tvbuff_t *,packet_info *,proto_tree *)' differs in parameter lists from 'heur_dissector_t' packet-ptcm.c(398) : warning C4113: 'int (__cdecl *)(tvbuff_t *,packet_info *,proto_tree *)' differs in parameter lists from 'heur_dissector_t' packet-ptcm.c(414) : warning C4113: 'int (__cdecl *)(tvbuff_t *,packet_info *,proto_tree *)' differs in parameter lists from 'heur_dissector_t' packet-ptcm.c(417) : warning
List Log In VS12 NMAKE : fatal error U1077: 'cl' : return code '0x2' Jules A. (jules_a) on 2014-08-27 15:53 Hello, i would like a hand to understand what's wrong with what i'm doing to compile ruby with VS12. When i run .\win32\configure.bat from powershell in the source folder,i get the error NMAKE : fatal error U1077: 'cl' : return code '0x2' since NMAKE started, it confirms my path works (as cl and NMAKE are in the same folder) From Microsoft's documentation, 0x2 is a "missing file" error, but path of the potential missing file isn't specified, from there, i don't really know where to start searching as the missing file isn't specified. To save some time, here's my PATH %SystemRoot%\system32\WindowsPowerShell\v1.0\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\SysinternalsSuite\;C:\Program Files\Microsoft\Web Platform installer\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\GNU\GnuPG\pub;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Program Files\Perl\bin;C:\Program Files\OpenSSL\bin;C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE;C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Bin My LIB C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Bin;C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\lib; My INCLUDE C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include Please don't redirect me to MinGW or tools using it as it won't help me understand why it didn't work with VS12 Thanks Report post Edit Move Delete topic Reply with quote Re: VS12 NMAKE : fatal error U1077: 'cl' : return code '0x2' Josh Karamuth (Guest) on 2014-08-27 20:17 Looks like cl.exe cannot be found. You should use vcvarsall.bat to configure your path properly. http://msdn.microsoft.com/en-us/library/x4d2c09s.aspx Report post Edit Delete Reply with quote Re: VS12 NMAKE : fatal error U1077: 'cl' : return code '0x2' Matt Talebi (Guest) on 2014-08-27 21:29 unsubscribe — Sent from Mailbox Report post Edit Delete Reply with quote Re: VS12 NMAKE : fatal error U1077: 'cl' : return code '0x2' Jules A. (jules_a) on 2014-08-27 22:09 Josh Karamuth wrote in post #1156140: > Looks like cl.exe cannot be found. You should use vcvarsall.bat to > configure your path properly. > > http://msdn.microsoft.com/