Skip to content

Build path issue #6

@Switchleg1

Description

@Switchleg1

Analysis

When trying to compile the example vscode(platformio) is unable to find lv_conf.h. Correct valid path is D:/JC3248W535EN-main/src/lv_conf.h and yet the compile exits with error "libraries/lvgl/src/misc/../lv_conf_internal.h:35:42: fatal error: D:JC3248W535EN-main/src/lv_conf.h: No such file or directory"

Expected Behavior

I was hoping it would have compiled :)

Steps To Reproduce

Open project folder with vscode and click build.

Logs

Processing LVGL-320-480 (platform: [email protected]; board: 320x480; framework: espidf)
----------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/320x480.html
PLATFORM: Espressif 32 (6.6.0) > ESP32-S3 3.5-inch capacitive touch IPS module 8M PSRAM 16M FLASH Arduino LVGL development 320 * 480
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-espidf @ 3.50201.240515 (5.2.1)
 - tool-cmake @ 3.16.4
 - tool-esptoolpy @ 1.40501.0 (4.5.1)
 - tool-idf @ 1.0.1
 - tool-mconf @ 1.4060000.20190628 (406.0.0)
 - tool-ninja @ 1.9.0
 - tool-riscv32-esp-elf-gdb @ 11.2.0+20220823
 - tool-xtensa-esp-elf-gdb @ 11.2.0+20230208
 - toolchain-esp32ulp @ 1.23500.220830 (2.35.0)
 - toolchain-riscv32-esp @ 13.2.0+20230928
 - toolchain-xtensa-esp32s3 @ 12.2.0+20230208
Reading CMake configuration...
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 1 compatible libraries
Scanning dependencies...
Dependency Graph
|-- lvgl @ 8.4.0
Building in debug mode
Compiling .pio\build\LVGL-320-480\src\DEMO_LVGL.o
Compiling .pio\build\LVGL-320-480\src\esp_bsp.o
In file included from libraries/lvgl/src/misc/lv_log.h:16,
                 from libraries/lvgl/lvgl.h:25,
                 from src/DEMO_LVGL.c:3:
libraries/lvgl/src/misc/../lv_conf_internal.h:35:42: fatal error: D:JC3248W535EN-main/src/lv_conf.h: No such file or directory
   35 |         #include __LV_TO_STR(LV_CONF_PATH)
      |                                          ^
compilation terminated.
Compiling .pio\build\LVGL-320-480\src\esp_lcd_axs15231b.o
Compiling .pio\build\LVGL-320-480\src\esp_lcd_touch.o
*** [.pio\build\LVGL-320-480\src\DEMO_LVGL.o] Error 1
In file included from libraries/lvgl/src/misc/lv_log.h:16,
                 from libraries/lvgl/lvgl.h:25,
                 from src/esp_bsp.c:23:
libraries/lvgl/src/misc/../lv_conf_internal.h:35:42: fatal error: D:JC3248W535EN-main/src/lv_conf.h: No such file or directory
   35 |         #include __LV_TO_STR(LV_CONF_PATH)
      |                                          ^
compilation terminated.
*** [.pio\build\LVGL-320-480\src\esp_bsp.o] Error 1
================================================ [FAILED] Took 7.46 seconds ================================================

Configuration

New to vscode and platformio so please let me know what you would like me to include though I didn't make any changes to the original files that i am aware of.

Environment

  • OS: Windows 11
  • Software: vscode (platformio)
  • Node:
  • npm:

Process Supervisor

not applicable

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions