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.
Try again
https://stackoverflow.com/questions/42826755/wiring-h-missing-in-arduino