Go Down

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

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
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy