CelliesProjects / ESP32_VS1053_Stream

A streaming library for Arduino esp32 with a vs1053 mp3/aac/ogg/flac decoder. Plays http, https (insecure mode) and chunked streams and parses the metadata. Also plays ogg and mp3 from sdcard.
MIT License
53 stars 10 forks source link

WifiClient not declared #34

Closed Sikkens99 closed 5 months ago

Sikkens99 commented 5 months ago

Since two days I suddenly get this error compiling a program that worked before without problems: "....libraries\ESP32_VS1053_Stream\src/ESP32_VS1053_Stream.h:78:27: error: 'WiFiClient' has not been declared" I appreciate your ideas what could be the problem here.

Marten Sikkens

Sikkens99 commented 5 months ago

...and the above-mentioned compilation message is then follwed by "exit status 1".

CelliesProjects commented 5 months ago

Since two days I suddenly get this error compiling a program that worked before without problems:

Those are the best errors.

I was playing with the 3.0.1 esp32 update and there I also got problems with WifiClient not being defined or declared. Maybe your IDE updated to 3.0.1 without telling you so?

Sikkens99 commented 5 months ago

Indeed I updated the ESP32 IDE to version 3.0.1 without realizing that this could give problems. I went back to version 2.0.17 and that indeed solved the WiFiClient Not Declared error! Thanks for letiing me know that this could be the problem!