|ARM Technical Support Knowledge Articles|
Applies to: C51 C Compiler
Information in this article applies to:
My project is stored in the following directory:
and my header files are stored in:
I have added the path to the header directory to the C51INC variable in my AUTOEXEC.BAT.
When I build my project at the DOS prompt, the compiler cannot find the header file. Why?
The C51 compiler is a 16-bit program and cannot support long path names. There are several solutions or work-arounds to this problem:
SET C51IC=C:DEVEPILOG~1HYou can find out the correct shortened name by going into the DEV directory and typing 'DIR'.
C51 TEST.C INCDIR(H)
Article last edited on: 2007-01-21 09:55:35
Did you find this article helpful? Yes No
How can we improve this article?