http://msdn.microsoft.com/en-us/library/dt309377.aspx
NMAKE Fatal Error U1077
Updated: November 2007
Error Message
'program' : return code 'value'
The given command or program called by NMAKE failed and returned the given exit code.
To suppress this error and continue the NMAKE session, use the /I option, the .IGNORE dot directive, or the dash (-) command modifier. To continue the NMAKE session for unrelated parts of the dependency tree, use the /K option.
Mig,wrote on January 24, 2007 @ 10:55 pm
Hi Andi,
I had the same problem compiling ms\uplink.c. I fixed it by adding to CFLAG in ntdll.mak the directories for the missing headers.
In my case:
-I. -I”c:\Program Files\Microsoft Platform SDK”\include -I”c:\Program Files\Microsoft Platform
SDK”\include\crt
14
Andi,wrote on January 17, 2007 @ 1:56 am
@shmarya
Hi,
I got the same problem today. After searching for the ml64.exe I found it included in the WINDDK-Package.
That helped me to do: “ms\do_win64a”.
But compiling with “nmake -f ms\ntdll.mak” afterwards gave me another error:
NMAKE : fatal error U1077: ‘”D:\Program Files (x86)\Microsoft Visual Studio 8\VC\bin\cl.EXE”‘ :
return code ‘0xc0000135′
Stop.
Starting cl.exe told me it was missing mspdb80.dll. So I copied that to the same folder with the cl.exe.
I found that in F:\Program Files (x86)\Common Files\microsoft shared\VSA\8.0\VsaEnv.
Ok, cl.exe worked so far.
But now it seems the compiler doesn’t find the include-dirs with windows.h, etc.
ms\uplink.c(11) : fatal error C1083: Cannot open include file: ‘windows.h’: No such file or directory
NMAKE : fatal error U1077: ‘”D:\Program Files (x86)\Microsoft Visual Studio 8\VC\bin\cl.EXE”‘ :
return code ‘0×2′
Stop.
I confident of fixing that problem tomorrow and will then post again. It’s time for going home now! :-)
Post I you find something in the meantime
NMAKE Fatal Error U1077
Updated: November 2007
Error Message
'program' : return code 'value'
The given command or program called by NMAKE failed and returned the given exit code.
To suppress this error and continue the NMAKE session, use the /I option, the .IGNORE dot directive, or the dash (-) command modifier. To continue the NMAKE session for unrelated parts of the dependency tree, use the /K option.
Mig,wrote on January 24, 2007 @ 10:55 pm
Hi Andi,
I had the same problem compiling ms\uplink.c. I fixed it by adding to CFLAG in ntdll.mak the directories for the missing headers.
In my case:
-I. -I”c:\Program Files\Microsoft Platform SDK”\include -I”c:\Program Files\Microsoft Platform
SDK”\include\crt
14
Andi,wrote on January 17, 2007 @ 1:56 am
@shmarya
Hi,
I got the same problem today. After searching for the ml64.exe I found it included in the WINDDK-Package.
That helped me to do: “ms\do_win64a”.
But compiling with “nmake -f ms\ntdll.mak” afterwards gave me another error:
NMAKE : fatal error U1077: ‘”D:\Program Files (x86)\Microsoft Visual Studio 8\VC\bin\cl.EXE”‘ :
return code ‘0xc0000135′
Stop.
Starting cl.exe told me it was missing mspdb80.dll. So I copied that to the same folder with the cl.exe.
I found that in F:\Program Files (x86)\Common Files\microsoft shared\VSA\8.0\VsaEnv.
Ok, cl.exe worked so far.
But now it seems the compiler doesn’t find the include-dirs with windows.h, etc.
ms\uplink.c(11) : fatal error C1083: Cannot open include file: ‘windows.h’: No such file or directory
NMAKE : fatal error U1077: ‘”D:\Program Files (x86)\Microsoft Visual Studio 8\VC\bin\cl.EXE”‘ :
return code ‘0×2′
Stop.
I confident of fixing that problem tomorrow and will then post again. It’s time for going home now! :-)
Post I you find something in the meantime
'Windows > MFC' 카테고리의 다른 글
메뉴바 숨기기 Hide menu bar (0) | 2013.10.02 |
---|---|
프로그램을 하나만 실행하기 CreateFileMapping (0) | 2013.10.02 |
Use precompield header options (0) | 2013.10.02 |
pdb, pch 파일을 찾을 수 없다고 컴파일이 안되는 경우 (0) | 2013.10.02 |
_crtBreakAlloc (0) | 2013.10.02 |