AVRstudio - Building for ATmega8

  • Thread starter Thread starter Gliese123
  • Start date Start date
  • Tags Tags
    Building
AI Thread Summary
AVRstudio version 5 is causing issues for users attempting to program the ATmega8 microcontroller, specifically generating compiler errors on non-existent lines. The user suspects that the problem may stem from the include file, m8def.inc, which is reportedly causing the compiler to flag errors up to line 732. There is uncertainty about whether the errors are related to the include file or build settings within the tool. New users are seeking guidance on how to resolve these compilation issues effectively. The discussion highlights the challenges faced by beginners in navigating AVRstudio's environment.
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:

Skaumlrmklipp_zps16530f8e.jpg

Homework Equations





The Attempt at a Solution


Any idea?
 
Physics news on Phys.org
Is it finding errors in the Include file?
 
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?
 
Back
Top