Go Down

Topic: exit status 1 (Read 297 times) previous topic - next topic


Someone can help me with this problem? I can't get what's wrong.
Arduino:1.8.5 (Windows 10), Scheda:"Arduino Nano, ATmega328P"

Tone.cpp.o (symbol from plugin): In function `timer0_pin_port':

(.text+0x0): multiple definition of `__vector_7'

libraries\IRremote\IRremote.cpp.o (symbol from plugin):(.text+0x0): first defined here

collect2.exe: error: ld returned 1 exit status

exit status 1


Code: [Select]
multiple definition of `__vector_7'

Looks like you've got two pieces of code trying to use the same interrupt vector.  Probably two libraries trying to use the same timer or something.  If you'd posted your code I might be able to spot it, but you chose to make sure I wasn't able to do anything like that.  So I'll leave it to you to do some searching on the internet and see if a couple of your libraries are incompatible.
|| | ||| | || | ||  ~Woodstock

Please do not PM with technical questions or comments.  Keep Arduino stuff out on the boards where it belongs.

Go Up