I just received my Arduino Uno R3 a few minutes ago and I've written my first program (basic flashing LED). However, when I try to compile my code I get the following error:
D:\Documents\Arduino\Arduino 1.0.2\hardware\tools\avr\bin\avr-ar: unable to rename 'core.a'; reason: Permission denied
This also happens when I try compiling one of the example programs. I've tried editing the permissions in the folder containing avr-ar to no avail.
Does anyone know how to fix this?
Post more info
Are you running windows 7?
Is there any firewall on your system?