Edzelf / ESP32-Radio

Internet radio based on ESP32, VS1053 and a TFT screen.
GNU General Public License v3.0
964 stars 227 forks source link

Compile prob in Arduino IDE #464

Closed pjritch closed 3 years ago

pjritch commented 3 years ago

Thank you for a most excellent project. I found this watching the guy with the Swedish accent and it is so well documented I decided to jump in at the deep end and have a go. I am new to coding and don't yet fully understand how some of this stuff works, and I have a problem that I hope you can help me.

Compiling fails for me at line 342: undefined reference to `PubSubClient::~PubSubClient() Seems like something to do with MQTT? Have I missed something?

Maybe I am like Andreas Spiess would say "Most stupid user"! lol

Edzelf commented 3 years ago

Seems like you have the wrong MTTQ library. If you are using PlatformIO, the right library is always included. If you are still using the Arduino IDE, take care that you include "knolleary/PubSubClient@^2.8".

pjritch commented 3 years ago

Thank you so much for the fast response You were, of course, correct I had the wrong library problem appears to be fixed now but no more time to play today so setting it all up will have to wait for another day