Keil™, An ARM® Company

Technical Support

µVISION: FINDING ASSEMBLER INCLUDE FILES


Information in this article applies to:

  • C166 Version 4.02

SYMPTOMS

I have written an include file for my assembly code project and placed it in my INC folder. I have specified the path to my INC folder in the Target Environment dialog. When I build my project, I get the following error:

A166 FATAL ERROR -
FILE: DEFS.INC
ERROR: CAN'T OPEN FILE

However, my C project can find the header files that I have placed in my INC folder. Why is this?

CAUSE

C header files should be located in the INC folder. Assembler include files should be located in the ASM folder. However, you cannot specify a path to your ASM folder in the Target Environment dialog.

RESOLUTION

Move your include file to the default ASM folder that was created when you installed µVision, which is typically:

C:\Keil\C166\ASM

or specify the entire path to your include file when using the INCLUDE directive.

Last Reviewed: Tuesday, June 08, 2004


Did this article provide the answer you needed?
 
Yes
No
Not Sure