Arduino: 1.6.12 (Windows 7), Board: "Arduino/Genuino Uno"

C:\Program Files (x86)\Arduino\libraries\RobotIRremote\src\IRremoteTools.cpp:5:16: error: 'TKD2' was not declared in this scope

int RECV_PIN = TKD2; // the pin the IR receiver is connected to


Multiple libraries were found for "IRremote.h"
Used: C:\Program Files (x86)\Arduino\libraries\RobotIRremote
Not used: C:\Users\Sagar\Documents\Arduino\libraries\Arduino-IRremote-master
exit status 1
Error compiling for board Arduino/Genuino Uno.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

The problem is the IRremote.h from the wrong library is being used. There is a library included with the Arduino IDE named "RobotIRremote" which has a file of that name but the file you want to use is in the "Arduino-IRremote-master" library you installed. You can fix this by renaming the folder:
and restarting the Arduino IDE.