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

Hello

We are doing a project with school and we have a problem:
avr-g++: error: missing filename after '-o'

We are working with arduino 1.6.6.

Is there anybody who knows a solution for this problem.

Thank you

The problem is caused by using Arduino AVR Boards 1.6.10 with Arduino IDE 1.6.6, they are incompatible. The solution is to either use Arduino IDE 1.6.7 or 1.6.8 or to install Arduino AVR Boards 1.6.8(due to a bug you can't go back to using 1.6.9) by: Tools > Board > Boards Manager... > Arduino AVR Boards(click on it) > Select version > 1.6.8 > Install. After this you will continue to get updatable notifications about the more recent Arduino AVR Boards version so you might want to File > Preferences > Check for updates on startup(uncheck) to disable this notification.