AVRstudio - Building for ATmega8

  • Thread starter Gliese123
  • Start date
  • Tags Tags
    Building
3 replies · 2K views · last reply
Gliese123
Messages
143
Reaction score
0

Homework Statement


Hi there,

I have just installed AVRstudio version 5 to be able to write programs so that we can use the micro controller ATmega 8. The encountered problem is that after the code has been build, the compiler complains on lines which doesn't even exists! How is this possible?
I have a screen shot here so that you may see the problem:

Screenshot of AVR Studio IDE showing assembler source code for an ATmega8 A/D converter, with an Error List panel reporting 289 errors and 16 warnings from m8def.inc.

Homework Equations





The Attempt at a Solution


Any idea?
 
berkeman said:
Is it finding errors in the Include file?
Thx for replying!
Umm. I'm totally new to this but as I can see, the include file I added which I suppose is correct would be the one the compiler complains about. It says down in the right corner that File: m8def.inc
I have no idea why it would complain on lines which don't exist?
I'm very certain that there are no lines after the 27 line.

It keeps complaining on every single lines up to line 732? :S
 
Can you attach the include file to this thread (upload it)?

Are there some Build settings in the tool?