I have been trying to use this IRremote library with arduino 0018 on Mac:
But for some reason it doesn’t seem to work. And I don’t know why. When I try to run any example (included with the library) I get this:
/Applications/arduino-0013/Arduino.app/Contents/Resources/Java/libraries/IRremote/IRremote.cpp: In member function 'void IRsend::mark(int)':
/Applications/arduino-0013/Arduino.app/Contents/Resources/Java/libraries/IRremote/IRremote.cpp:172: error: 'TCCR2A' was not declared in this scope
/Applications/arduino-0013/Arduino.app/Contents/Resources/Java/libraries/IRremote/IRremote.cpp:172: error: 'COM2B1' was not declared in this scope
/Applications/arduino-0013/Arduino.app/Contents/Resources/Java/libraries/IRremote/IRremote.cpp: In member function 'void IRsend::space(int)':
/Applications/arduino-0013/Arduino.app/Contents/Resources/Java/libraries/IRremote/IRremote.cpp:180: error: 'TCCR2A' was not declared in this scope
/Applications/arduino-0013/Arduino.app/Contents/Resources/Java/libraries/IRremote/IRremote.cpp:180: error: 'COM2B1' was not declared in this scope
/Applications/arduino-0013/Arduino.app/Contents/Resources/Java/libraries/IRremote/IRremote.cpp: In member function 'void IRsend::enableIROut(int)':
/Applications/arduino-0013/Arduino.app/Contents/Resources/Java/libraries/IRremote/IRremote.cpp:198: error: 'TIMSK2' was not declared in this scope
/Applications/arduino-0013/Arduino.app/Contents/Resources/Java/libraries/IRremote/IRremote.cpp:207: error: 'TCCR2A' was not declared in this scope
/Applications/arduino-0013/Arduino.app/Contents/Resources/Java/libraries/IRremote/IRremote.cpp:208: error: 'TCCR2B' was not declared in this scope
/Applications/arduino-0013/Arduino.app/Contents/Resources/Java/libraries/IRremote/IRremote.cpp:208: error: 'WGM22' was not declared in this scope
/Applications/arduino-0013/Arduino.app/Contents/Resources/Java/libraries/IRremote/IRremote.cpp:211: error: 'OCR2A' was not declared in this scope
/Applications/arduino-0013/Arduino.app/Contents/Resources/Java/libraries/IRremote/IRremote.cpp:212: error: 'OCR2B' was not declared in this scope
/Applications/arduino-0013/Arduino.app/Contents/Resources/Java/libraries/IRremote/IRremote.cpp: In member function 'void IRrecv::enableIRIn()':
/Applications/arduino-0013/Arduino.app/Contents/Resources/Java/libraries/IRremote/IRremote.cpp:224: error: 'TCCR2A' was not declared in this scope
/Applications/arduino-0013/Arduino.app/Contents/Resources/Java/libraries/IRremote/IRremote.cpp:229: error: 'TCCR2B' was not declared in this scope
/Applications/arduino-0013/Arduino.app/Contents/Resources/Java/libraries/IRremote/IRremote.cpp:234: error: 'TIMSK2' was not declared in this scope