I copied lv_conf.h to the library.
I get the following errors:
c:\Users\jarcl\Documents\Arduino\libraries\lvgl\src\demos\benchmark\lv_demo_benchmark.c:18:6: error: #error “LV_FONT_MONTSERRAT_24 is required for lv_demo_benchmark. Enable it in lv_conf.h.”
18 | #error “LV_FONT_MONTSERRAT_24 is required for lv_demo_benchmark. Enable it in lv_conf.h.”
| ^~~~~
c:\Users\jarcl\Documents\Arduino\libraries\lvgl\src\demos\benchmark\lv_demo_benchmark.c:22:6: error: #error “LV_USE_DEMO_WIDGETS needs to be enabled”
22 | #error “LV_USE_DEMO_WIDGETS needs to be enabled”
| ^~~~~
c:\Users\jarcl\Documents\Arduino\libraries\lvgl\src\demos\benchmark\lv_demo_benchmark.c:29:10: fatal error: ../../src/display/lv_display_private.h: No such file or directory
29 | #include “../../src/display/lv_display_private.h”
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Hi,
According to that error, it means you’re using the default lv_conf.h file and not our configuration file.
Please double-check the instructions carefully. Check page 52.
You should move the lv_config.h file to the libraries folder and not to the lvgl folder.
Regards,
Sara