"TKD2" Not Declared in Scope

Hey guys, I'm rocking the 1.6.6 IDE, and am getting this error with a basic script that I wrote. The point of it was to collect the HEX values emitted by an IR remote. I was going to use that data later to control a bot. The code is as follows:

#include <IRremote.h>
#include <IRremoteInt.h>
#include <IRremoteTools.h>

int RECV_Pin = 6;

IRrecv irrecv(RECV_Pin);

decode_results results;

void setup() 
{
  Serial.begin(9600);
  irrecv.enableIRIn();// Starts the reciever
}

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

Also, I should probably note, I rock a Mac... Not a PC... And am not sure how to relocate the library if that's what's needed....

Sounds like it.
I do PCs tho, not a Mac.

Do you have an Arduino robot? If not, DELETE the code that is causing the error.

...what... What do you mean do I have an arduino robot? I have an arduino uno, wired via bread board, to an IR sensor. That said, the IDE wont compile and is saying that the imported libraries are the problem... The problem is, they're stock libraries and I'm running a Mac so I can't relocate them...

This problem has come up at least twice before.

Great! What's the solution for a Mac?

, I'm rocking the 1.6.6 IDE

I rock a Mac.

As in "lapidation"?
I'm sure we all feel like that sometimes.

Well it started off I was just yelling at the computer... Then a few rocks were thrown... Now it's tied to a tree with a mound of coding books underneath to be burned as a sacrafice to the coding gods... ALL HAIL THE GREAT C++!!!!!

Sooooo.... the answer is?

Sooooo.... the answer is?

Well, this bit is nonsense:

The problem is, they're stock libraries and I'm running a Mac so I can't relocate them...

"I can't" and "I don't know how" are NOT the same thing.

Problems with libraries and folders and getting you files in the proper locations for compilers, are not "coding" problems.

Hey guys, I'm rocking the 1.6.6 IDE, and am getting this error with a basic script that I wrote.

So, anyhow, getting back to the original question, your are getting "this error" when you try to compile your apparently straightforward sketch.

Getting "which" error ? I don't know if "this error" refers to some error you are pointing at, but didn't include in your post, or if "I'm getting this error" is some sort of retro-hipster idiom.

michinyon, the error is stated in the title.... the compiler keeps spiting out, "'TKD2' Not Declared in Scope." Which as I said, I assume is a library problem.... but I don't know how to fix it.

but I don't know how to fix it.

If you don't have an Arduino-brand robot, DELETE THE FILE THAT IS CAUSING THE ERROR!

It's an Uno R3 I'm using.... Still find it, and delete it? Anybody know where it is on the Mac directory?

All you have to do is delete the IRrobot library.