buserror / simavr

simavr is a lean, mean and hackable AVR simulator for linux & OSX
GNU General Public License v3.0
1.56k stars 365 forks source link

Code throws 'AVR not known' error after compiling on ubuntu 12.10 #14

Closed acamilo closed 11 years ago

acamilo commented 11 years ago

I get the following error when trying to run example.

alex@ubuntu:~/simavr$ ./simavr/run_avr tests/atmega88_example.axf
AVR_MMCU_TAG_VCD_TRACE 00c6:00 - UDR0
AVR_MMCU_TAG_VCD_TRACE 00c0:20 - UDRE0
Loaded 1722 .text
Loaded 114 .data
Loaded 4 .eeprom
avr_make_mcu_by_name: AVR 'atmega88' not known
schuay commented 11 years ago

Looks like you are missing avr-libc (or whatever it's called on Ubuntu). Please install that, recompile simavr, and try again.