Keil Logo

µ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 8, 2004


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.