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
Hi,
I have error compiling for esp32-8048S050C board. The error is about include of lv_conf.h file.
In the compile log I can see a wrong path /home/ivan/software-projects-free/1-8048S050C. It should to be /home/ivan/software-projects-free/ESP32-8048S050C.
As workaround I commented out the build flag '-D LV_CONF_PATH=${platformio.include_dir}/lv_conf.h' and inserted a new flag : -D LV_LVGL_H_INCLUDE_SIMPLE
But I'm not sure if this is the way to go
Processing esp32-8048S050C (board: esp32-8048S050C; platform: espressif32; framework: arduino)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32-8048S050C.html
PLATFORM: Espressif 32 (6.4.0) > esp32-8048S050C
HARDWARE: ESP32S3 240MHz, 320KB RAM, 16MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-builtin, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
- framework-arduinoespressif32 @ 3.20011.230801 (2.0.11)
- tool-esptoolpy @ 1.40501.0 (4.5.1)
- toolchain-riscv32-esp @ 8.4.0+2021r2-patch5
- toolchain-xtensa-esp32s3 @ 8.4.0+2021r2-patch5
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 35 compatible libraries
Scanning dependencies...
Dependency Graph
|-- esp32_smartdisplay @ 2.1.0+sha.a49bf44
|-- lvgl @ 9.2.2
Building in release mode
Compiling .pio/build/esp32-8048S050C/src/main.cpp.o
Compiling .pio/build/esp32-8048S050C/src/ui/components/ui_comp_hook.c.o
Compiling .pio/build/esp32-8048S050C/src/ui/screens/ui_scrMain.c.o
In file included from .pio/libdeps/esp32-8048S050C/lvgl/src/lv_init.h:17,
from .pio/libdeps/esp32-8048S050C/lvgl/lvgl.h:21,
from src/ui/screens/../ui.h:13,
from src/ui/screens/ui_scrMain.c:6:
.pio/libdeps/esp32-8048S050C/lvgl/src/lv_conf_internal.h:54:42: fatal error: /home/ivan/software-projects-free/1-8048S050C/esp32-smartdisplay-demo/include/lv_conf.h: No such file or directory
#include __LV_TO_STR(LV_CONF_PATH)
^
compilation terminated.
Compiling .pio/build/esp32-8048S050C/src/ui/ui.c.o
Compiling .pio/build/esp32-8048S050C/src/ui/ui_helpers.c.o
In file included from .pio/libdeps/esp32-8048S050C/lvgl/src/lv_init.h:17,
from .pio/libdeps/esp32-8048S050C/lvgl/lvgl.h:21,
from src/ui/ui.h:13,
from src/ui/ui.c:6:
.pio/libdeps/esp32-8048S050C/lvgl/src/lv_conf_internal.h:54:42: fatal error: /home/ivan/software-projects-free/1-8048S050C/esp32-smartdisplay-demo/include/lv_conf.h: No such file or directory
#include __LV_TO_STR(LV_CONF_PATH)
^
compilation terminated.
*** [.pio/build/esp32-8048S050C/src/ui/screens/ui_scrMain.c.o] Error 1
*** [.pio/build/esp32-8048S050C/src/ui/ui.c.o] Error 1
In file included from .pio/libdeps/esp32-8048S050C/lvgl/src/lv_init.h:17,
from .pio/libdeps/esp32-8048S050C/lvgl/lvgl.h:21,
from src/ui/ui.h:13,
from src/ui/ui_helpers.h:13,
from src/ui/ui_helpers.c:6:
.pio/libdeps/esp32-8048S050C/lvgl/src/lv_conf_internal.h:54:42: fatal error: /home/ivan/software-projects-free/1-8048S050C/esp32-smartdisplay-demo/include/lv_conf.h: No such file or directory
#include __LV_TO_STR(LV_CONF_PATH)
^
compilation terminated.
*** [.pio/build/esp32-8048S050C/src/ui/ui_helpers.c.o] Error 1
In file included from .pio/libdeps/esp32-8048S050C/lvgl/src/lv_init.h:17,
from .pio/libdeps/esp32-8048S050C/lvgl/lvgl.h:21,
from .pio/libdeps/esp32-8048S050C/esp32_smartdisplay/include/esp32_smartdisplay.h:5,
from src/main.cpp:3:
.pio/libdeps/esp32-8048S050C/lvgl/src/lv_conf_internal.h:54:42: fatal error: /home/ivan/software-projects-free/1-8048S050C/esp32-smartdisplay-demo/include/lv_conf.h: No such file or directory
#include __LV_TO_STR(LV_CONF_PATH)
^
compilation terminated.
*** [.pio/build/esp32-8048S050C/src/main.cpp.o] Error 1
=============================================================================================== [FAILED] Took 1.37 seconds ===============================================================================================
Environment Status Duration
--------------- -------- ------------
esp32-8048S050C FAILED 00:00:01.367
========================================================================================= 1 failed, 0 succeeded in 00:00:01.367 =========================================================================================
* The terminal process "platformio 'run'" terminated with exit co
The text was updated successfully, but these errors were encountered:
Hi,
I have error compiling for esp32-8048S050C board. The error is about include of
lv_conf.h
file.In the compile log I can see a wrong path
/home/ivan/software-projects-free/1-8048S050C
. It should to be/home/ivan/software-projects-free/ESP32-8048S050C
.As workaround I commented out the build flag
'-D LV_CONF_PATH=${platformio.include_dir}/lv_conf.h'
and inserted a new flag :-D LV_LVGL_H_INCLUDE_SIMPLE
But I'm not sure if this is the way to go
The text was updated successfully, but these errors were encountered: