"avr-g++: error: missing filename after '-o' exit status 1" Error

I was working on a project for college that i was working on then when the update message came up so as you do, I updated, since then i have been getting this error message.

avr-g++: error: missing filename after '-o'

exit status 1
Error compiling.

what do i do?

The error is caused by using Arduino AVR Boards 1.6.10 with Arduino IDE 1.6.6, they are incompatible. The solution is to either:

  • Upgrade to Arduino IDE 1.6.7 or 1.6.8
  • Install Arduino AVR Boards 1.6.9 using Boards Manager(Tools > Board > Boards Manager... > Arduino AVR Boards(click on it) > Select version > 1.6.9 > Install) - I've had problems reinstalling the previous Arduino AVR Boards version with Boards Manager so you may have to reinstall the Arduino IDE if you can't compile after going back to Arduino AVR Boards 1.6.9.

Thank you, now working perfectly :slight_smile: