Compilation error

Working on How to Build a Robot. Got to IRemote section, downloaded Magbot, IRemote Library etc. When I verify the IRemote sketch I get a compilation error message. TKD2 was not declared in this scope. Also tried Basicbot and got the message NewPing does not name a type. Can any one please help?

Welcome! Please read this before posting more in your thread: