Compilation Error for Board Mega

I am using a Mega 2560 and get this error when trying to compile:

Arduino: 1.6.11 (Windows Store 1.6.11.0) (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

collect2.exe: error: ld returned 5 exit status

exit status 1
Error compiling for board Arduino/Genuino Mega or Mega 2560.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

It is the simple blink file that I am trying, no idea the why of this error.

This issue is caused by using the Windows Store version. Please install the standard Arduino IDE version downloaded from http://www.arduino.cc/en/Main/Software