Arduino 1.8.1 compilation Error in Windows 8 Pro 64 bit

:o Hi.This is my first time to post here.The reason is that I faced a problem.I downloaded Arduion IDE 1.8.1 for windows from "arduino.cc" and launched it.I tried to compile 1st the builtin sketch of LED Blinking, but It gave me errors.The image is attached.I have windows8 Pro 64 bit in my core i3 1st generation desktop system.Then I launched the old IDE 1.6.2, but this gave me no error and the skech compiled successfully.Even I uploaded it to the Arduino Uno board and it Worked.I don't know how to solve this proble.Can anyone help me in this regard?Your help is highly appreciated.

Your pictures do not show any errors.

They show several warnings (it looks like you have an old version of the AVR board package installed - you can upgrade it from Tools -> Board manager) - however there are no errors. The compilation is finishing successfully - when it gets to the point where it shows the sizes, that means it has compiled successfully.

Respected DrAzzy thanks for your prompt reply.Yes you are 100% correct.My picture doesn't show any errors.It shows only warnings.But why does it show warnings because its the builtin sketch.I have the old version IDE(1.6.2) also.It doesn't show any errors for the same builtin sketches.Now how to handle the warnings?
Regards,
Sadiq Akbar

Respected DrAzzy thanks for your prompt reply.Yes you are 100% correct.My picture doesn't show any errors.It shows only warnings.But why does it show warnings because its the builtin sketch.I have the old version IDE(1.6.2) also.It doesn't show any WARNINGS for the same builtin sketches.Now how to handle the warnings?
Regards,
Sadiq Akbar

sadiq114:
Now how to handle the warnings?

  • Tools > Board > Boards Manager
  • Wait for downloads to complete
  • Click on Arduino AVR Boards
  • Click "Update"
  • Wait for installation to complete
  • Click "Close"