Hi,
Been trying to get the “littlevgl/pc_simulator_sdl_platformio” project working on my Macbook using the VSCode + Platform IO project with little success.
I already had VSCode with PlatformIO installed for some Arduino projects and there it works flawlessly.
When I run build the output is the following:
Processing native (platform: native)
Verbose mode can be enabled via-v, --verbose
option
PACKAGES:
LDF: Library Dependency Finder → Library Dependency Finder (LDF) — PlatformIO latest documentation
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 2 compatible libraries
Scanning dependencies…
Dependency Graph
|-- 6.0
|-- <littlevgl_sdl_drivers> 1.1
Compiling .pio/build/native/src/demo.o
Compiling .pio/build/native/src/img_bubble_pattern.o
Compiling .pio/build/native/src/main.o
Compiling .pio/build/native/lib72b/littlevgl_ID6228/lv_core/lv_disp.o
In file included from src/demo.c:9:
include/demo.h:18:10: fatal error: ‘lvgl.h’ file not found
#include <lvgl.h>
^~~~~~~~
1 error generated.
src/img_bubble_pattern.c:2:10: fatal error: ‘lvgl.h’ file not found
#include <lvgl.h>
^~~~~~~~
*** [.pio/build/native/src/demo.o] Error 1
…
I’ve tried running “Update project libraries” to no avail. The dependent libs(lvgl and the sdldrivers) are located in .pio/libdeps/native.
I’m sure I’m just missing something simple but I’m just not seeing it, everything is there but the project env. just doesn’t seem to be able to find it using the steps in the repo.