I've just imported the IRRemote library, but am having trouble using it. It first complains about IRremoteInt.h when compiling.
In file included from ir_remote_rgb_led.cpp:12:
C:\arduino-1.0.1\libraries\IRremote/IRremoteInt.h:87: error: 'uint8_t' does not name a type
C:\arduino-1.0.1\libraries\IRremote/IRremoteInt.h:88: error: 'uint8_t' does not name a type
C:\arduino-1.0.1\libraries\IRremote/IRremoteInt.h:89: error: 'uint8_t' does not name a type
C:\arduino-1.0.1\libraries\IRremote/IRremoteInt.h:92: error: 'uint8_t' does not name a type
Then if I comment out that library, which leaves IRremote.h I will get this complaint:
In file included from C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:13:
C:\arduino-1.0.1\libraries\IRremote\/IRremoteInt.h:87: error: 'uint8_t' does not name a type
C:\arduino-1.0.1\libraries\IRremote\/IRremoteInt.h:88: error: 'uint8_t' does not name a type
C:\arduino-1.0.1\libraries\IRremote\/IRremoteInt.h:89: error: 'uint8_t' does not name a type
C:\arduino-1.0.1\libraries\IRremote\/IRremoteInt.h:92: error: 'uint8_t' does not name a type
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp: In member function 'void IRsend::mark(int)':
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:173: error: 'delayMicroseconds' was not declared in this scope
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp: In member function 'void IRsend::space(int)':
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:181: error: 'delayMicroseconds' was not declared in this scope
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp: In member function 'void IRsend::enableIROut(int)':
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:200: error: 'OUTPUT' was not declared in this scope
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:200: error: 'pinMode' was not declared in this scope
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:201: error: 'LOW' was not declared in this scope
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:201: error: 'digitalWrite' was not declared in this scope
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp: In constructor 'IRrecv::IRrecv(int)':
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:217: error: 'volatile struct irparams_t' has no member named 'recvpin'
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:218: error: 'volatile struct irparams_t' has no member named 'blinkflag'
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp: In member function 'void IRrecv::enableIRIn()':
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:241: error: 'volatile struct irparams_t' has no member named 'rcvstate'
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:242: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:246: error: 'volatile struct irparams_t' has no member named 'recvpin'
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:246: error: 'INPUT' was not declared in this scope
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:246: error: 'pinMode' was not declared in this scope
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp: In member function 'void IRrecv::blink13(int)':
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:252: error: 'volatile struct irparams_t' has no member named 'blinkflag'
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:254: error: 'OUTPUT' was not declared in this scope
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:254: error: 'pinMode' was not declared in this scope
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp: In function 'void __vector_9()':
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:268: error: 'volatile struct irparams_t' has no member named 'recvpin'
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:268: error: 'digitalRead' was not declared in this scope
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:271: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:273: error: 'volatile struct irparams_t' has no member named 'rcvstate'
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:275: error: 'volatile struct irparams_t' has no member named 'rcvstate'
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:284: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:285: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:287: error: 'volatile struct irparams_t' has no member named 'rcvstate'
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:293: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:295: error: 'volatile struct irparams_t' has no member named 'rcvstate'
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:300: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:302: error: 'volatile struct irparams_t' has no member named 'rcvstate'
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:310: error: 'volatile struct irparams_t' has no member named 'rcvstate'
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:321: error: 'volatile struct irparams_t' has no member named 'blinkflag'
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:323: error: 'B00100000' was not declared in this scope
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:326: error: 'B11011111' was not declared in this scope
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp: In member function 'void IRrecv::resume()':
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:332: error: 'volatile struct irparams_t' has no member named 'rcvstate'
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:333: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp: In member function 'int IRrecv::decode(decode_results*)':
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:343: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:344: error: 'volatile struct irparams_t' has no member named 'rcvstate'
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp: In member function 'long int IRrecv::decodeNEC(decode_results*)':
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:392: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:400: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp: In member function 'long int IRrecv::decodeSony(decode_results*)':
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:433: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:443: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp: In member function 'long int IRrecv::decodeRC5(decode_results*)':
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:518: error: 'volatile struct irparams_t' has no member named 'rawlen'
C:\arduino-1.0.1\libraries\IRremote\IRremote.cpp:529: error: 'volatile struct irparams_t' has no member named 'rawlen'
How do I fix these errors to use the IRremote libraries?? =(