Error compiling for board arduino .Help please !

I selected the board correctly and port correctly.
When I try to Verify the Example "Blink" programme, it gives following error code.

avr-g++:error:device_specs/specs_atmega328p:no such file or directory
exit status 1
error compiling for boardboard arduino Genunio

Please help !

Do this:

  • Start Windows Control Panel.
  • Navigate to System and Security > System > Advanced system settings.
  • Click the "Advanced" tab.
  • Click the "Environment variables..." button.
  • In the "System Variables" list, you should see "GCC EXEC PREFIX". Click on it.
  • Click the "Delete" button.
  • Click the "OK" button.

The error should now be fixed.


Thank you very much!

You're welcome. I'm glad if I was able to be of assistance. Enjoy!