Arduino – WProgram.h or wiring.h: No such file or directory

If you get these errors while compiling sketch for Arduino

VirtualWire.h:14:20: fatal error: wiring.h: No such file or directory

or

VirtualWire.cpp:14:22: fatal error: WProgram.h: No such file or directory

Simply rename those headers to Arduino.h. In never version they changed names.

2 thoughts on “Arduino – WProgram.h or wiring.h: No such file or directory”

Leave a Comment