Go Down

Topic: Due IRremote library problem (Read 596 times) previous topic - next topic

Adaptex

Apr 07, 2016, 12:52 pm Last Edit: Apr 07, 2016, 01:25 pm by Adaptex
Hi guys,

I downloaded the IRremote library for the Arduino Due (it can be found here).

I ran an example program, but I got some errors:
Code: [Select]
C:\Users\ASUSRE~1\AppData\Local\Temp\builde5718c39b07e28d92e93ff17b7d9ef71.tmp\libraries\Arduino-IRremote-Due-master\IRremote2.cpp.o: In function `MATCH_SPACE(int, int)':

C:\Users\Asus Realsense\OneDrive\Documenten\Arduino\libraries\Arduino-IRremote-Due-master/IRremoteInt2.h:213: multiple definition of `MATCH(int, int)'

C:\Users\ASUSRE~1\AppData\Local\Temp\builde5718c39b07e28d92e93ff17b7d9ef71.tmp\sketch\IRtest.ino.cpp.o:C:\Users\Asus Realsense\OneDrive\Documenten\Arduino\libraries\Arduino-IRremote-Due-master/IRremoteInt2.h:213: first defined here

C:\Users\ASUSRE~1\AppData\Local\Temp\builde5718c39b07e28d92e93ff17b7d9ef71.tmp\libraries\Arduino-IRremote-Due-master\IRremote2.cpp.o: In function `MATCH':

C:\Users\Asus Realsense\OneDrive\Documenten\Arduino\libraries\Arduino-IRremote-Due-master/IRremoteInt2.h:214: multiple definition of `MATCH_MARK(int, int)'

Multiple libraries were found for "IRremote2.h"
 Used: C:\Users\Asus Realsense\OneDrive\Documenten\Arduino\libraries\Arduino-IRremote-Due-master
 Not used: C:\Program Files (x86)\Arduino\libraries\IRremote
C:\Users\ASUSRE~1\AppData\Local\Temp\builde5718c39b07e28d92e93ff17b7d9ef71.tmp\sketch\IRtest.ino.cpp.o:C:\Users\Asus Realsense\OneDrive\Documenten\Arduino\libraries\Arduino-IRremote-Due-master/IRremoteInt2.h:214: first defined here

C:\Users\ASUSRE~1\AppData\Local\Temp\builde5718c39b07e28d92e93ff17b7d9ef71.tmp\libraries\Arduino-IRremote-Due-master\IRremote2.cpp.o: In function `MATCH':

C:\Users\Asus Realsense\OneDrive\Documenten\Arduino\libraries\Arduino-IRremote-Due-master/IRremoteInt2.h:215: multiple definition of `MATCH_SPACE(int, int)'

C:\Users\ASUSRE~1\AppData\Local\Temp\builde5718c39b07e28d92e93ff17b7d9ef71.tmp\sketch\IRtest.ino.cpp.o:C:\Users\Asus Realsense\OneDrive\Documenten\Arduino\libraries\Arduino-IRremote-Due-master/IRremoteInt2.h:215: first defined here

collect2.exe: error: ld returned 1 exit status

Using library Arduino-IRremote-Due-master in folder: C:\Users\Asus Realsense\OneDrive\Documenten\Arduino\libraries\Arduino-IRremote-Due-master (legacy)
exit status 1
Error compiling for board Arduino Due (Programming Port).


Is there anyone who had the same problem and somehow fixed it? If so, I'd love to hear it.

Cheers,
Jeroen

Go Up