Error compiling examples
-
Hello everyone,
First time on M5, and quite enthousiastic.
Unfortunately, I am unable to compile examples under macOS 10.11.6, Arduino IDE 1.6.6I followed setup instructions here: https://m5stack.github.io/m5-docs/#/en/quick_start/m5core/m5stack_core_get_started_Arduino_MacOS?id=step1-install-arduino-ide
but fixed library path according to a message posted on the forum: https://dl.espressif.com/dl/package_esp32_index.json
Then, I tried to compile (or compile & upload) "Hello World": here is the message I get:
WARNING: Spurious .git folder in 'M5Stack' library
Build options changed, rebuilding all
In file included from /Users/simon/Documents/Arduino/hardware/espressif/esp32/tools/xtensa-esp32-elf/xtensa-esp32-elf/include/dirent.h:6:0,
from /Users/simon/Documents/Arduino/hardware/espressif/esp32/libraries/FS/src/vfs_api.h:24,
from /Users/simon/Documents/Arduino/hardware/espressif/esp32/libraries/FS/src/vfs_api.cpp:15:
/Users/simon/Documents/Arduino/hardware/espressif/esp32/tools/xtensa-esp32-elf/xtensa-esp32-elf/include/sys/dirent.h:10:2: error: #error "<dirent.h> not supported"
#error "<dirent.h> not supported"
^
exit status 1
Error compiling.Any suggestion ?
-
@christians After Arduino IDE update to 1.8.7, cleaning libs, re-installing, everything works well.
:-))
-
I was just about to suggest you update Arduino but you already figured it out. Any other issues you bump into let us know
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login