Go Down

Topic: Missing /usr/local/avr (Read 319 times) previous topic - next topic

Lelesquiz

Hi everybody.

I need help since I "accidentally" deleted /usr/local/avr because my ide wasn't any longer compiling any sketch.
I tried to reinstall all the packages needed to compile such as avr-gcc, avr-libc, binutils-avr and so on.
Ah, my machine is running a ubuntu distro (11.10).

I can't make it compile back. The ide error says "stdlib.h - no such file or directory".

Any hints?

Thanks for your help.

WizenedEE

You TRIED to reinstall the packages? What happened? That's what you need to do if you accidentally deleted a file.

try:
Code: [Select]

sudo apt-get --reinstall install gcc-avr


If stdlib.h is missing, you may have to reinstall avr-libc as well.

Go Up