Error compiling for board Arduino/Genuino Uno.

Is that when you ran the Arduino IDE as administrator?