The library needs C++17. ESP32 3.x, RP2040 (earlephilhower) and STM32duino 2.x cores default to it. On Adafruit nRF52, SAMD, AVR and ESP32 2.x, build with PlatformIO and set: ...