nmake error 
Author Message
 nmake error

I'm trying to run an example from the book "Beginning ATL 3 COM Programming"
by Dr. Grimes. The example demonstrates a dcom programs. When I'm trying to
perform nmake, I receive the following errors:

nmake serverinfops.mk

*************************************************************

Microsoft (R) Program Maintenance Utility Version 6.00.8168.0

Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

cl /c /Ox /DWIN32 /D_WIN32_WINNT=0x0400 /DREGISTER_PROXY_DLL dlldata.c

Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86

Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

dlldata.c

dlldata.c(15) : fatal error C1034: rpcproxy.h: no include path set

NMAKE : fatal error U1077: 'cl' : return code '0x2'

Stop.

*****************************************************************

Any ideas ?



Sun, 11 Jul 2004 07:36:33 GMT  
 nmake error
Before running command-line compiler, run VCVARS32.BAT from VC98/Bin
directory under the directory where Visual Studio is installed. It sets
up various environment variables, among them the one that lists
directories with .h files.
--
With best wishes,
    Igor Tandetnik

"For every complex problem, there is a solution that is simple, neat,
and wrong." H.L. Mencken


Quote:
> I'm trying to run an example from the book "Beginning ATL 3 COM
Programming"
> by Dr. Grimes. The example demonstrates a dcom programs. When I'm
trying to
> perform nmake, I receive the following errors:

> nmake serverinfops.mk

> *************************************************************

> Microsoft (R) Program Maintenance Utility Version 6.00.8168.0

> Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

> cl /c /Ox /DWIN32 /D_WIN32_WINNT=0x0400 /DREGISTER_PROXY_DLL dlldata.c

> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for
80x86

> Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

> dlldata.c

> dlldata.c(15) : fatal error C1034: rpcproxy.h: no include path set

> NMAKE : fatal error U1077: 'cl' : return code '0x2'

> Stop.

> *****************************************************************

> Any ideas ?



Sun, 11 Jul 2004 07:45:00 GMT  
 nmake error
If you look up the error code ("C1034") in the help provided with VC you
will help that says something such as "If you are using the command-line
compiler, run the VCVARS32.BAT batch file to set the INCLUDE environment
variable.".

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcco...
ML/c1034.asp


Quote:
> I'm trying to run an example from the book "Beginning ATL 3 COM
Programming"
> by Dr. Grimes. The example demonstrates a dcom programs. When I'm trying
to
> perform nmake, I receive the following errors:

> nmake serverinfops.mk

> *************************************************************

> Microsoft (R) Program Maintenance Utility Version 6.00.8168.0

> Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

> cl /c /Ox /DWIN32 /D_WIN32_WINNT=0x0400 /DREGISTER_PROXY_DLL dlldata.c

> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for
80x86

> Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

> dlldata.c

> dlldata.c(15) : fatal error C1034: rpcproxy.h: no include path set

> NMAKE : fatal error U1077: 'cl' : return code '0x2'

> Stop.

> *****************************************************************

> Any ideas ?



Sun, 11 Jul 2004 09:42:58 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. NMAKE error messages

2. U1073 Build/NMake error

3. Nmake and error C1034 - include path not set

4. Help! NMAKE won't display compile errors

5. NMAKE: fatal error U1073: don't know how to make

6. NMAKE report error

7. NMAKE: fatal error U1073: don't know how to make

8. Nmake and RC errors with DDK sources.

9. Problem to run nmake in a createprocess command

10. nmake Question

11. Slow nmake performance

12. Make file (OS/2's nmake) and rcs

 

 
Powered by phpBB® Forum Software