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

Compiler not compiling?

Hi,

I am trying to compile a project using Keil v3.55. I get no warnings, status bar looks fine:

Build target 'Target 1'
assembling ADuC702x.s...
compiling testproj24.c...
linking...
creating hex file...
"testproj.elf" - 0 Error(s), 0 Warning(s).

But at the end no .hex, .o, .d, or .elf files are created. All I get is a .plg and a .lnp.

I've tried this on a brand new project and get the same results. I also don't seem to get any errors or warnings, which seems to suggest to me that perhaps I'm not compiling at all...

Any ideas??

Thanks!!

Parents
  • If the object files were not generated at all, you would surely get an error from the Linker saying that it could not find them?

    Similarly for the conversion to Hex.

    Therefore I also suspect that these files are actually being created - but you are looking in the wrong place...

Reply
  • If the object files were not generated at all, you would surely get an error from the Linker saying that it could not find them?

    Similarly for the conversion to Hex.

    Therefore I also suspect that these files are actually being created - but you are looking in the wrong place...

Children
  • Rule#1.

    If you've lost something, the first place to look is behind the cushions on your sofa.

    It's quite amazing what can be found there!

  • Thanks everyone.

    The option for "Generate .hex file" is checked and the directories all make sense.

    Also I've done a search of the C: drive for .hex files and there are none to be found -- so they're not being created elsewhere.

    Definitely no errors, what I put in my original post is all I'm getting -- EVEN WHEN I EXPECT AN ERROR: for example, I write sprintf{text,"text"}; without declaring a variable called text, and I get no complaints... is this a clue?

    Last but not least, I'm sitting in a desk chair, I wish there were a sofa in here to look for files in... :-)

    Other ideas?