Compile fails after updating IDE

I just did an update to the IDE, I guess I'm on 1.6.6 now but not sure what version I had before.

Now I get a compile error every time I try to compile. I've pulled up old sketches that compiled fine before and they give the same error message.

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

I have no idea where to go from here. Can I "un-update" the IDE?



The error is caused by using Arduino AVR Boards 1.6.10 with Arduino IDE 1.6.6 which are not compatible with each other. There are two options to fix this:

  • If you want to keep using Arduino IDE 1.6.6 then you will need to install a version of Arduino AVR Boards that is compatible. Unfortunately due to a bug you can't go back to Arduino AVR Boards 1.6.9 so you would need to do Tools > Board > Boards Manager... > Arduino AVR Boards(click on it) > Select version > 1.6.8 > Install.
  • Upgrade your Arduino IDE to 1.6.7 or 1.6.8.