Here I’m again
I try to to make this Project for learning GitHub - lvgl/lv_port_esp32: LVGL ported to ESP32 including various display and touchpad drivers
I do pio run -t menuconfig what is working but you have to use J and K because the arrow keys not working then I try to do Point 5
5. Configure your display and/or touch controllers in Components config->LVGL TFT Display Configuration and Components config->LVGL TOUCH Configuration.
I see all kind of modules but not the LVGL item I installed pio lib install “lvgl/lvgl”
with the platformIO.ini
Don’t add lvgl as a library when working with ESP-IDF, but as a component, see docs and example. This way the Kconfig file will be read if there is one. (You should also remove the .pio folder after removing it from lib_deps to clear old build artefacts).
I can add a lib as component
But when I do this I have the Problem
src/main.c:26:10: fatal error: lvgl.h: No such file or directory
What I have to do that PlatformIO recognizes, lvgl.h
or is my approach wrong ?
I reference to this https://docs.lvgl.io/latest/en/html/get-started/espressif.html
Ah, I just tried this and found a caveat that prevented it from working, at least for me.
the REQUIRES main had to be deleted, otherwise it would be giving me “failed to resolve component main” errors.
So, a standard project with Espressif32 Dev module + ESP-IDF + adding lvgl in the components/ folder makes the configuration appear in pio run -t menuconfig.
will initially show a include error at lvgl.h, but after one compilation, which is successfull, and a Ctrl+Shift+P → Rebuild IntelliSense it goes away.
hello, the build process failed on my end with this error message "components\lvgl_esp32_drivers\lvgl_helpers.c:22:10: fatal error: src/lv_core/lv_refr.h: No
such file or directory ", what can i do ?.