Installation & Troubleshooting
Topic: Missing /usr/local/avr
(Read 554 times)
Apr 14, 2012, 05:22 pm
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".
Thanks for your help.
Re: Missing /usr/local/avr
Apr 16, 2012, 02:52 am
You TRIED to reinstall the packages? What happened? That's what you need to do if you accidentally deleted a file.
sudo apt-get --reinstall install gcc-avr
If stdlib.h is missing, you may have to reinstall avr-libc as well.