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

include file not found

I have just installed an evaluation copy of UV5. I opened an existing project (which previously compiled without errors. Now when I build I get the error
"Cannot open Reg932.H"
In the "Manage Project Items" window I tried de-selecting "Use Settings From TOOLS.ini" and set the "INC" option as "C:\Keil_v5\C51\INC" and got the same result.
When I explicitly declare the include file as C:\Keil_v5\C51\inc\Plilips\REG932.h everything is fine.
The only difference I can see between an example project (which uses the same processor and works fine) and my project is that my project is located on a different drive.

Parents
  • Thanks for the info, but.....
    Over the years that I have used Keil i have never had to set an include path. In the past I have changed processors in a project and all I have ever done is to change the #include statement in the source code. Also the example project for a LPC932 (Blinky) has no INC path declaration (or none that I can find Does Keil have a default search path?

Reply
  • Thanks for the info, but.....
    Over the years that I have used Keil i have never had to set an include path. In the past I have changed processors in a project and all I have ever done is to change the #include statement in the source code. Also the example project for a LPC932 (Blinky) has no INC path declaration (or none that I can find Does Keil have a default search path?

Children