Need help with ir receiver

The IRremote library was changed this year so that now two incompatible versions exist. Get the other library version or code for your actual version. Run the library examples to verify that the library itself is okay.