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

Problem with compiling the program

Hi. I am using Keil software version µvision3. Here, whenever i try to compile a program that i have written in C it does not recognize the header files. Someone please help.

Parents
  • It's telling you clearly that it can't open the file.

    Obviously, if it's failed to open a file that the rest of your code relies upon, that's going to cause further problems.

    So your first step must be to find out why it can't open the file - fix that, and you may well fix the other errors!

    Are you sure that you have correctly configured the Include Path for the compiler to find your headers?

    The section in the Manual about #include explains how the compiler searches for files, and how to specify the Include Path:
    http://www.keil.com/support/man/docs/c166/c166_pp_include.htm

Reply
  • It's telling you clearly that it can't open the file.

    Obviously, if it's failed to open a file that the rest of your code relies upon, that's going to cause further problems.

    So your first step must be to find out why it can't open the file - fix that, and you may well fix the other errors!

    Are you sure that you have correctly configured the Include Path for the compiler to find your headers?

    The section in the Manual about #include explains how the compiler searches for files, and how to specify the Include Path:
    http://www.keil.com/support/man/docs/c166/c166_pp_include.htm

Children