IR Library not working with IDE 1.6.1 - Linux + Arduino Uno

I wanted to do some IR work again using an UNO. I used the IDE 1.0.1 the last time.
Is still used to implement IR read and send?


Build options changed, rebuilding all
/home/cwc/arduino-1.6.1/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
Error compiling.

Here is the example code from:

#include <IRremote.h>

int RECV_PIN = 11;
IRrecv irrecv(RECV_PIN);
decode_results results;

void setup()
irrecv.enableIRIn(); // Start the receiver

void loop() {
if (irrecv.decode(&results)) {
Serial.println(results.value, HEX);
irrecv.resume(); // Receive the next value

You told Arduino to use IRremote but it got that mixed up with the built-in RobotIRremote. I don't know how to work around that problem.

i'm also facing same problem ..