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
50 stars 10 forks source link

Compiler error #36

Open Broker89 opened 3 months ago

Broker89 commented 3 months ago

Hi there, I've probably missed some part of the dependencies but I can't find what's missing.

I'm using an ESP32 within the Arduino IDE 2.3.2 with my Adafruit Music Maker (VS1053).

When I try to compile the example (unchanged), I'm getting the following error: /Users/Username/Documents/Arduino/libraries/ESP32_VS1053_Stream/src/ESP32_VS1053_Stream.h:85:27: error: 'WiFiClient' has not been declared

Adding #include <WiFi.h>to the example / the ESP32_VS1053_Stream.h file only leads to further missing dependencies and it should anyhow not be required as the library probably works for everyone else.

As this is within the library, I think that there's something else missing that I don't see. I'd appreciate any kind of hints to that :)

CelliesProjects commented 3 months ago

See #34 I think. I just pinned the issue as I expect more people run into this.