I get this strange error on everything I do in programming, even if it's an example sketch:
avr-g++: error: missing filename after '-o'
exit status 1
Error compiling.
If somebody could please help I would greatly appreciate it.
I get this strange error on everything I do in programming, even if it's an example sketch:
avr-g++: error: missing filename after '-o'
exit status 1
Error compiling.
If somebody could please help I would greatly appreciate it.
This sounds like an installation problem. I would go here for help.
This is a common problem.
@pert usually addresses it like so:-
pert:
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.