Nmake Fatal Error U1077 Return Code 0x1
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 Overflow nmake fatal error u1077 return code '0x2' the company Business Learn more about hiring developers or posting ads with us Stack Overflow nmake fatal error u1077 'cd' return code '0x1' Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of nmake fatal error u1077 return code 0xc0000135 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up nmake compilation error up vote 3 down vote favorite I'm very new to C and am trying to
Nmake Fatal Error U1077 'cd' Return Code '0x2'
compile to a specific .so module for Apache, but I'm running into problems. The fatal error from nmake I get is appended below. Where does the prepend of "cl" to the command come from? The batch file that I execute is also appended. Any help would be dearly appreciated. Windows command-line output cl /nologo /W3 /WX /LD /MT /Ot /Ox /Oi /Oy /Ob2 /GF /Gy /I include /I "..\httpd\i nclude" /I "..\httpd\srclib\apr\include" /I nmake fatal error u1077 qt "..\httpd\srclib\apr-util\include" /I "..\http d\os\win32" /I "C:\Program Files\Microsoft SDKs\Windows\v7.0A\include" /I "C:\Program File s\Microsoft Visual Studio 10.0\VC\include" /D WIN32 /c %CD%\src\mod_auth_sspi.c /FoRelease \mod_auth_sspi.obj 'cl' is not recognized as an internal or external command, operable program or batch file. NMAKE : fatal error U1077: 'cl' : return code '0x1' Stop. Modified make.bat from here echo off ::Configuration Area set PLATSDKDIR=C:\Program Files\Microsoft SDKs\Windows\v7.0A REM I could not find SetEnv anywhere for Win7 / VS2010: REM set SDK_Init=c:\Programs\Microsoft SDKs\Windows\v6.1\Bin\SetEnv.Cmd REM maybe could use setx XXX somehow for the above? set MSVCDIR=C:\Program Files\Microsoft Visual Studio 10.0\VC set NMAKE_Opts=/NOLOGO set APACHE22_HOME=..\httpd REM i am not sure what the meaning of the above paramater is, do i need to point to apache source code or apache server to compile? set APSRC=1 set NMAKEHOME=C:\Program Files\Microsoft Visual Studio 10.0\VC\bin set BUILD_TYPE=Release set DEBUG=0 REM %SDK_Init% not set so have commented this out REM call "%SDK_Init%" /%BUILD_TYPE% call "%NMAKEHOME%\nmake" %NMAKE_Opts% "MSVCDIR=%MSVCDIR%" "PLATSDKDIR=%PLATSDKDIR%" "APACHE22_HOME=%APACHE22_HOME%" "APSRC=%APSRC%" "DEBUG=%DEBUG%" dist @echo. pause c compiler-construction batch-file nmake share|improve this question edited Feb 8 at 18:28 peak 5,78141429 asked May 24 '11 at 15:15 Cel 1,85543675 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote accepted cl is the vs c compiler, and the error says it can't find the compiler. I guess the issue is here:
Support Answers MathWorks Search MathWorks.com MathWorks Answers Support MATLAB Answers™ MATLAB Central Community Home MATLAB Answers File Exchange nmake fatal error u1077 rc return code 0x1 Cody Blogs Newsreader Link Exchange ThingSpeak Anniversary Home Ask Answer
Nmake Fatal Error U1077 'copy' Return Code '0x1'
Browse More Contributors Recent Activity Flagged Content Flagged as Spam Help MATLAB Central Community Home MATLAB
Nmake : Fatal Error U1077 Return Code '0xff'
Answers File Exchange Cody Blogs Newsreader Link Exchange ThingSpeak Anniversary Home Ask Answer Browse More Contributors Recent Activity Flagged Content Flagged as Spam Help Trial software http://stackoverflow.com/questions/6112727/nmake-compilation-error Jacob (view profile) 2 questions 1 answer 0 accepted answers Reputation: 0 Vote0 Fatal error U1077: How do I solve this issue? Asked by Jacob Jacob (view profile) 2 questions 1 answer 0 accepted answers Reputation: 0 on 20 Mar 2014 Latest activity Edited by John Kelly John Kelly (view profile) 0 questions https://www.mathworks.com/matlabcentral/answers/122487-fatal-error-u1077-how-do-i-solve-this-issue 4 answers 1 accepted answer Reputation: 4 on 27 Feb 2015 Accepted Answer by Ryan Livingston Ryan Livingston (view profile) 0 questions 146 answers 75 accepted answers Reputation: 418 246 views (last 30 days) 246 views (last 30 days) I am trying to compile models into a .dll in order use for HIL simulation, but MATLAB shows en error when I attempt to build the file. I have the correct System Target File selected, the Solver is selected as Fixed-Step Discrete, and I ran the mex -setup to select the Microsoft Visual C++ 2010 Express compiler on my PC. Once I attempt to build, I get the following:Microsoft (R) Program Maintenance Utility Version 10.00.30319.01 Copyright (C) Microsoft Corporation. All rights reserved. 1 file(s) copied. 1 file(s) copied. ### Compiling the source Compile_Model_Example cl -Od -DUSE_RTMODEL -DNI_ROOTMODEL_Compile_Model_Example -DMODEL=Compile_Model_Example -DRT -DNUMST=1 -DTID01EQ=0 -DNCSTATES=0 -DMT=0 -DHAVESTDIO -DNATIONAL_INSTRUMENTS_SIT -D_CRT_SECURE_NO_DEPRECATE -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -GS -D_X86_=1 -DWIN32 -D_WIN32 -W3 -D_WINNT -D_WIN32_WIN
RecentThreads NewestNodes Donate What'sNew on Jul 27, 2004 at 18:12UTC ( #377811=perlquestion: print w/replies, xml ) Need Help?? Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question: Good Day Im new to perl and http://www.perlmonks.org/?node_id=377811 I would like to add the Template-Toolkit module in Windows. I followed the instruction above. C:\> perl Makefile.PL C:\> nmake C:\> nmake test C:\> nmake install [download] I have downloaded the nMake http://seclists.org/wireshark/2010/Dec/5 program from this website and executed it. I placed the the extracted Template-Toolkit module and nMake under the C:\WINNT directory. The first command "perl Makefile.PL" was successful When I executed fatal error nMake an error occured particularly cl -c -nologo -Gf -W3 -MD -Zi -DNDEBUG -01 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -01 -DVERSION=\"2.09\ -DXS_VERSION=\"2.09\" "-IC:\Perl\lib\CORE" Stash.c 'cl' is not recognized as an internal or external command, operable program or batch file. NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code '0x1' Stop NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' fatal error u1077 : return code '0x2' Stop Has anybody encountered this problem? How can this be fixed? Thanks Chester janitored by ybiC: Format tweaks for legibility, reposted anonymously as SOPW root (more appropriate than reply in this Tutorial)Comment on nMake ErrorDownload Code Replies are listed 'Best First'. Re^2: nMake Error by tachyon (Chancellor) on Jul 26, 2004 at 10:45UTC CL.EXE is the M$ command line compiler. TT2 contains C/XS code that need compiling, you don't have it so it does not compile. Get a binary distro (the Win32 port) from http://www.template-toolkit.org/download.html. Did you consider the README? It is often a good idea to READIT. cheers tachyon [reply] Re^3: nMake Error by cagaw (Initiate) on Jul 27, 2004 at 03:50UTC Thanks tachyon that really helped. I downloaded cl.exe and link.exe to be able to execute the nmake command. However an error occured during link particularly link -out:..\blib\arch\auto\Template\Stash\XS\XS.dll -dll -nologo -nodefaultlib -debug -opt:ref,icf -libpath:"C:\Perl\lib\CORE" -machine:x86 Stash.obj C:\Perl\lib\CORE\perl158.lib oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib.mpr.lib winm.lib version.lib odbc32.lib odbc32.lib msvcrt.lib -def:XS.def LINK : fatal error LNK1181: cannot open input file "Stash.obj" NMAKE : fatal error U
Packet crafters More Site News Advertising About/Contact Sponsors: Wireshark mailing list archives By Date By Thread NMAKE : fatal error U1077: 'sed' : return code '0x1' From: Jason Williams