DOCERR: MASM 6.0 Makefile BELL.MAK Gives C1024 Compiler ErrorLast reviewed: November 3, 1994Article ID: Q71980 |
The information in this article applies to:
SUMMARYWhen NMAKE is run on the makefile BELL.MAK included with the sample programs in the Microsoft Macro Assembler (MASM) version 6.0, the following error is generated:
BELL.c(31): fatal error C1024: cannot open include file 'demo.h'This error occurs because the makefile does not contain the correct directory location for the file DEMO.H. Any of the following methods can be used to work around the C1024 error:
MORE INFORMATIONBy default, BELL.MAK is installed in a subdirectory under MASM 6.00 called \SAMPLES\TSR. BELL.MAK should compile the file BELL.C and assemble the files INSTALL.ASM and HANDLERS.ASM. BELL.C includes the file DEMO.H, which is located in the \SAMPLES\DEMO subdirectory. The C1024 error occurs because the compiler cannot find DEMO.H, since the compiler searches for include files only in the current directory or in the directory(s) pointed to by the INCLUDE environment variable.
|
Additional reference words: 6.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |