Hello,
I try to start a demo from LVGL but I get a compiler error, see below.
I included LVGL as following (installed over library manager).
Even in lv_conf.h the demos are activated/defined, when I check the demo C-files, it looks it does not recognize that it is defined, still marked out.
What can I try?
#include <lvgl.h>
#include "demos/lv_demos.h"
[env:pico]
platform = raspberrypi
board = pico
framework = arduino
lib_deps = lvgl/lvgl@^8.3.4
upload_protocol = picotool
.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio\build\pico\src\main.cpp.o: in function `setup':
main.cpp:(.text.setup+0x9e): undefined reference to `lv_demo_widgets'
collect2.exe: error: ld returned 1 exit status
*** [.pio\build\pico\firmware.elf] Error 1