Aha! Now you can see what the real error is. Try this:
- Sketch > Include Library > Manage Libraries
- In the "Filter your search" box, type "irremote"
- Click on "IRremote by shirrifF"
- Click "Install"
- Wait for installation to finish.
- Click "Close".
Then try the sketch again. Hopefully the error will be gone.