Hi all. Im an ArduiNoob here. I have been trying to get my system to run some code written by TinHead over at LetsMakeRobots.com. I was getting compile errors due to avr/c++ library references. Anyways, I never did get that problem fixed. I switched gears and started working on a simpler robot that me and my 9 year old brother could build. Basically, I have things messed up to a point where arduino cannot ever compile the simplest code. I am getting the error:
In file included from blinkLED.cpp:2:0: /home/josh/arduino-0022/hardware/arduino/cores/arduino/WProgram.h:4 :20: fatal error: stdlib.h: No such file or directory compilation terminated.
I am running Ubuntu 10.10 and Arduino 22, both 64 bit. I know the problem stems from me installing jre, avr-g++ and c++ because it was working fine (with the exception of the aforementioned Valkyrie code written by TinHead) until then. Basically, I just want to wipe out jre, avr-g++, c++ and arduino, then reinstall with a clean slate. I don't know how to do this though. Please help! (my brother is getting impatient).