mathertel / Radio

An Arduino library to control FM radio chips like SI4703, SI4705, RDA5807M, TEA5767.
http://mathertel.github.io/Radio
BSD 3-Clause "New" or "Revised" License
302 stars 92 forks source link

compiling doesnt like rds parser #68

Closed fungreenfox closed 1 year ago

fungreenfox commented 1 year ago

Made an update of the radio.h to latest version of radio.h and got this. how to fix this for esp32 wroom? sketch\arduino_radio7_Si4703_V1_Tiny_RTC_copy3.ino.cpp.o:(.literal._Z5setupv+0x78): undefined reference to RDSParser::attachServiceNameCallback(void (*)(char const*))' sketch\arduino_radio7_Si4703_V1_Tiny_RTC_copy3.ino.cpp.o:(.literal._Z5setupv+0x7c): undefined reference toRDSParser::attachTextCallback(void ()(char const))' sketch\arduino_radio7_Si4703_V1_Tiny_RTC_copy3.ino.cpp.o: In function setup()': K:\Arduino scripts\arduino_radio7_Si4703_V1_Tiny_RTC_copy3/arduino_radio7_Si4703_V1_Tiny_RTC_copy3.ino:3541: undefined reference toRDSParser::attachServiceNameCallback(void ()(char const))' K:\Arduino scripts\arduino_radio7_Si4703_V1_Tiny_RTC_copy3/arduino_radio7_Si4703_V1_Tiny_RTC_copy3.ino:3541: undefined reference to `RDSParser::attachTextCallback(void ()(char const))' collect2.exe: error: ld returned 1 exit status

fungreenfox commented 1 year ago

A reboot of the compiler fixed it.