Arduino library to play MOD, WAV, FLAC, MIDI, RTTTL, MP3, and AAC files on I2S DACs or with a software emulated delta-sigma DAC on the ESP8266 and ESP32
fails to compile with not finding ESP8266HTTPClient.h. This is because this library uses #ifdef checks to check for the target architecture, but PlatformIO's library dependency finder search mode does not evaluate these checks, and finds none of the dependencies of this library, hence failing the build.
Interestingly enough, setting deep+ or chain+ does also not solve the problem, but deep does.
This PR fixes compilations for all 3 target architectures, tested with
When creating a PlatformIO project referencing this library with the default options
A simple sketch with
fails to compile with not finding
ESP8266HTTPClient.h
. This is because this library uses#ifdef
checks to check for the target architecture, but PlatformIO's library dependency finder search mode does not evaluate these checks, and finds none of the dependencies of this library, hence failing the build.Interestingly enough, setting
deep+
orchain+
does also not solve the problem, butdeep
does.This PR fixes compilations for all 3 target architectures, tested with
Also increases the version by 1 minor.
As discussed in https://community.platformio.org/t/esp8266-audio-library-fails-to-compile/26070.