This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ERROR DETECTION

Hello,
when am working with embedded c code i can see the error "cannot open source input file "xxxx.h", after 'build target'?
How to include header files to this Programming ?

Parents
  • You haven't given much to go on, but the common reasons why a compiler - any compiler - can't open a header are:

    1. The file does not exist (did you spell the name correctly?), or is inaccessible (eg, network problem or permissions);

    2. The file does exist, but is not in a location where the compiler can find it.

    You tell the compiler where to find headers by configuring the Include Paths

    See: http://www.keil.com/support/man/docs/uv4/uv4_dg_adscc.htm

    This is standard stuff - not specific to Keil or microcontrollers.

Reply
  • You haven't given much to go on, but the common reasons why a compiler - any compiler - can't open a header are:

    1. The file does not exist (did you spell the name correctly?), or is inaccessible (eg, network problem or permissions);

    2. The file does exist, but is not in a location where the compiler can find it.

    You tell the compiler where to find headers by configuring the Include Paths

    See: http://www.keil.com/support/man/docs/uv4/uv4_dg_adscc.htm

    This is standard stuff - not specific to Keil or microcontrollers.

Children
No data