Delete comment from: Ken Shirriff's blog
Hi wen i try compiling de IRsendDemo, the IRremote.cpp have many errors like:
Error Compiling
IRremote/IRremote.cpp.o: In function `IRrecv':
/Applications/Arduino.app/Contents/Resources/Java/libraries/IRremote/IRremote.cpp:217: multiple definition of `IRrecv::IRrecv(int)'
IRremote.cpp.o:IRremote.cpp:227: first defined here
IRremote/IRremote.cpp.o: In function `IRrecv':
/Applications/Arduino.app/Contents/Resources/Java/libraries/IRremote/IRremote.cpp:217: multiple definition of `irparams'
IRremote.cpp.o:IRremote.cpp:227: first defined here
IRremote/IRremote.cpp.o: In function `IRrecv':
/Applications/Arduino.app/Contents/Resources/Java/libraries/IRremote/IRremote.cpp:217: multiple definition of `IRrecv::IRrecv(int)'
IRremote.cpp.o:IRremote.cpp:227: first defined here
IRremote/IRremote.cpp.o: In function `IRrecv::resume()':
/Applications/Arduino.app/Contents/Resources/Java/libraries/IRremote/IRremote.cpp:332: multiple definition of `IRrecv::resume()'
IRremote.cpp.o:IRremote.cpp:342: first defined here
IRremote/IRremote.cpp.o: In function `IRrecv::decodeNEC(decode_results*)':
/Applications/Arduino.app/Contents/Resources/Java/libraries/IRremote/IRremote.cpp:383: multiple definition of `IRrecv::decodeNEC(decode_results*)'
IRremote.cpp.o:IRremote.cpp:393: first defined here
IRremote/IRremote.cpp.o: In function `IRrecv::decodeSony(decode_results*)':
/Applications/Arduino.app/Contents/Resources/Java/libraries/IRremote/IRremote.cpp:431: multiple definition of `IRrecv::decodeSony(decode_results*)'
IRremote.cpp.o:IRremote.cpp:441: first defined here
IRremote/IRremote.cpp.o: In function `IRrecv::getRClevel(decode_results*, int*, int*, int)':
/Applications/Arduino.app/Contents/Resources/Java/libraries/IRremote/IRremote.cpp:478: multiple definition of `IRrecv::getRClevel(decode_results*, int*, int*, int)'
IRremote.cpp.o:IRremote.cpp:488: first defined here
IRremote/IRremote.cpp.o: In function `IRrecv::decodeRC5(decode_results*)':
/Applications/Arduino.app/Contents/Resources/Java/libraries/IRremote/IRremote.cpp:517: multiple definition of `IRrecv::decodeRC5(decode_results*)'
IRremote.cpp.o:IRremote.cpp:527: first defined here
IRremote/IRremote.cpp.o: In function `IRrecv::decodeRC6(decode_results*)':
/Applications/Arduino.app/Contents/Resources/Java/libraries/IRremote/IRremote.cpp:552: multiple definition of `IRrecv::decodeRC6(decode_results*)'
IRremote.cpp.o:IRremote.cpp:562: first defined here
IRremote/IRremote.cpp.o: In function `IRrecv::decode(decode_results*)':
/Applications/Arduino.app/Contents/Resources/Java/libraries/IRremote/IRremote.cpp:341: multiple definition of `IRrecv::decode(decode_results*)'
IRremote.cpp.o:IRremote.cpp:351: first defined here
IRremote/IRremote.cpp.o: In function `__vector_15':
/Applications/Arduino.app/Contents/Resources/Java/libraries/IRremote/IRremote.cpp:264: multiple definition of `__vector_15'
IRremote.cpp.o:IRremote.cpp:274: first defined here
IRremote/IRremote.cpp.o: In function `IRrecv::blink13(int)':
/Applications/Arduino.app/Contents/Resources/Java/libraries/IRremote/IRremote.cpp:252: multiple definition of `IRrecv::blink13(int)'
IRremote.cpp.o:IRremote.cpp:262: first defined here
IRremote/IRremote.cpp.o: In function `IRrecv::enableIRIn()':
/Applications/Arduino.app/Contents/Resources/Java/libraries/IRremote/IRremote.cpp:224: multiple definition of `IRrecv::enableIRIn()'
IRremote.cpp.o:IRremote.cpp:234: first defined here
IRremote/IRremote.cpp.o: In function `IRsend::enableIROut(int)':
...
my Arduino is a MEGA 2560 and i alredy change de output pin 3 to 9 but i still get this errors can anyone helpme??
Tanks and sorry my english i am not native...
Apr 18, 2012, 1:21:59 AM
Posted to A Multi-Protocol Infrared Remote Library for the Arduino

