I created a project with uVision3 and added all the necessary header files into the file group 'Header' by using Project - Components, Environment, Books. By compiling this project I got many similar errors like:
can't open file '*.h'
It seems that the header files cannot be found. Is this way to include the header files correct?
Thanks
Just add the source files, and they will find the necessary headers...
If the headers are in the project directory - or the #include statements specifies which absolute or relative directory they are in, with relation to the source files. Or you have specified extra directories to search for include files.
You're right - I oversimplified that!
The full detail is, of course, here: http://www.keil.com/support/man/docs/c166/c166_pp_include.htm
"...similar errors like..."
is far too vague.
To be able to diagnose the precise cause(s) of your particular problem(s) you need to copy-and-paste the full text of the complete message.
It will probably look better if you post it as for source code - see the instructions above the message entry box: www.danlhenry.com/.../keil_code.png