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

Need help with Keil C51

I am a long-time assembler guy in 8051's and PICs, and just got my new Keil C51 IDE package. I am, not fluent in 'C' or Keil tools (yet). I have to look at someone else's existing code and compile it, but I get errors after loading their project and trying a build. Since I am new to the tool set, I am stumped on figuring out what is wrong. Is anyone out there who would take this set of files and help me figure out how ot get it to compile, or what is missing, for a fee? I could send the files and maybe you could help me understand what is wrong or missing? If I was more fluent with the tool set, I could get there myself, but time is critical. Can anyone help? (If this is posed in the wrong place, please forgive me!)
Chris

Parents
  • That is my vote is that a header file is missing, or not being included.
    with a possibility of a conditional compile problem.

    basically what you are looking for is either:
    a file that has just the function declaration followed by a semicolon (No Code) just like an extern in ASM. This would be in a file with a .h extension.

    The second would be the declarations are in a #if directive, and are not being included.

    Note: start at the first error and work down. a single error can confuse the compiler and create 100 error messages for perfectly good code.

Reply
  • That is my vote is that a header file is missing, or not being included.
    with a possibility of a conditional compile problem.

    basically what you are looking for is either:
    a file that has just the function declaration followed by a semicolon (No Code) just like an extern in ASM. This would be in a file with a .h extension.

    The second would be the declarations are in a #if directive, and are not being included.

    Note: start at the first error and work down. a single error can confuse the compiler and create 100 error messages for perfectly good code.

Children