You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Compilation error in v3.9.10 due to unresolved dependency on Arduino IDE #1839
Hi, I use this via M5Unified package with Arduino IDE 2.3.4.
In the the latest release v3.9.10, the following compilation error occurs:
In file included from c:\Users\{USER}\Documents\Arduino\libraries\FastLED\src/third_party/yves/I2SClockLessLedDriveresp32s3/driver.h:9,
from c:\Users\{USER}\Documents\Arduino\libraries\FastLED\src\platforms\esp\32\clockless_i2s_esp32s3.cpp:6:
c:\Users\{USER}\Documents\Arduino\libraries\FastLED\src/third_party/yves/I2SClockLessLedDriveresp32s3/src/I2SClockLessLedDriveresp32s3.h:8:10: fatal error: esp_memory_utils.h: No such file or directory
#include "esp_memory_utils.h"
^~~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Downgrading to v3.9.9 resolves this problem ad hoc.
The inclusion is added on ebf6945 , which looks to depending on esp-idf. For the future release, I suggest you to revert the dependency change or update the dependency list explicitly.
I was getting this same error, and then realised that I was stuck for ages at version 2.0.17. If it's possible for you to upgrade at 3.1.1 (I understand this might not be the case for several reasons), that version ships esp_memory_utils.h.
If you don't see that as an available core version, be sure to include https://espressif.github.io/arduino-esp32/package_esp32_index.json in Preferences -> Additional boards manager URLs. For some reason it won't fetch by itself without this URL, and the most recent version displayed will be 3.0.7.
@lmancini Thank you for advising. Following your comments, today I have updated esp32 from v3.0.7 to v3.1.1 with Arduino IDE boards manager, restarted the IDE updated and updated all libraries accordingly. But unfortunately the same error occurred again.
Downgrading FastLED to v3.9.9 is only one promising way for me at this time. I will report you if I find something more.
It took me a while to get the right configuration (platformio.ini) for both boards. If you are interested: ESP32-S3-Zero, ESP32-DevKitC-1-N16R8v (Proposal #4 in this Post). Both are based on the esp32-s3-devkitc-1 board. Both are clones from Aliexpress.
Error message after the build process:
In file included from .pio/libdeps/RoomPanel_esp32-s3-devkitc-1-n16r8v/FastLED/src/third_party/yves/I2SClockLessLedDriveresp32s3/driver.h:9,
from .pio/libdeps/RoomPanel_esp32-s3-devkitc-1-n16r8v/FastLED/src/platforms/esp/32/clockless_i2s_esp32s3.cpp:6:
.pio/libdeps/RoomPanel_esp32-s3-devkitc-1-n16r8v/FastLED/src/third_party/yves/I2SClockLessLedDriveresp32s3/src/I2SClockLessLedDriveresp32s3.h:8:10: fatal error: esp_memory_utils.h: No such file or directory
**************************************************************************
* Looking for esp_memory_utils.h dependency? Check our library registry!
*
* CLI > platformio lib search "header:esp_memory_utils.h"
* Web > https://registry.platformio.org/search?q=header:esp_memory_utils.h
*
**************************************************************************
#include "esp_memory_utils.h"
^~~~~~~~~~~~~~~~~~~~
compilation terminated.
Have you tried to install core v3.1.1, FastLED v3.9.10, and only compile the standard FastLED Blink example? That should compile without errors.
Yes and no. I found that compilation results depend on the board settings: if I choose esp32 borads such as "ESP32{*} Dev Module," no error occurred; the reported error appears only with M5Stack boards.
I am investigating the possibility that this compilation issue is caused by M5 library dependencies.
Activity
R4m1-F1n commentedon Jan 11, 2025
Same problem with v3.9.10. Use M5Atom Esp32S3. I have to Downgrade to v3.9.9 to got Arduino IDE v2.3.4 work again.
theelims commentedon Jan 11, 2025
I had this issue also when downgrading to v3.9.9. I had to revert back to v3.9.8.
lmancini commentedon Jan 12, 2025
@ssr-yuki @R4m1-F1n @theelims I'm not familiar with the M5 devices, but which core version (https://github.com/espressif/arduino-esp32) are you using?
I was getting this same error, and then realised that I was stuck for ages at version 2.0.17. If it's possible for you to upgrade at 3.1.1 (I understand this might not be the case for several reasons), that version ships
esp_memory_utils.h.If you don't see that as an available core version, be sure to include
https://espressif.github.io/arduino-esp32/package_esp32_index.jsonin Preferences -> Additional boards manager URLs. For some reason it won't fetch by itself without this URL, and the most recent version displayed will be 3.0.7.Hope this helps!
ssr-yuki commentedon Jan 12, 2025
@lmancini Thank you for advising. Following your comments, today I have updated
esp32from v3.0.7 to v3.1.1 with Arduino IDE boards manager, restarted the IDE updated and updated all libraries accordingly. But unfortunately the same error occurred again.Downgrading
FastLEDto v3.9.9 is only one promising way for me at this time. I will report you if I find something more.lmancini commentedon Jan 12, 2025
That's really weird, can you compare your Arduino IDE Boards Manager sidebar with the one below?
Have you tried to install core v3.1.1, FastLED v3.9.10, and only compile the standard FastLED Blink example? That should compile without errors.
Queequack commentedon Jan 12, 2025
Same problem here. I work with PlatformIO. Tried 2 boards with FastLED today (both have PSRAM, each with main difference in the config):
It took me a while to get the right configuration (platformio.ini) for both boards. If you are interested: ESP32-S3-Zero, ESP32-DevKitC-1-N16R8v (Proposal #4 in this Post). Both are based on the esp32-s3-devkitc-1 board. Both are clones from Aliexpress.
Error message after the build process:
ssr-yuki commentedon Jan 12, 2025
Yes and no. I found that compilation results depend on the board settings: if I choose
esp32borads such as "ESP32{*} Dev Module," no error occurred; the reported error appears only withM5Stackboards.I am investigating the possibility that this compilation issue is caused by M5 library dependencies.
zackees commentedon Jan 12, 2025
Pushing out a fix today.
zackees commentedon Jan 12, 2025
For those curious what's going on - a header made it above the include guard for a cpp file and is being compiled on non esp32 chips.
zackees commentedon Jan 13, 2025
3.9.11 is pushed to Arduino for release. If you want the fix now, feel free to manually download our library and install it.