Hi, I got today the new version of LVGL book (1.4). I verified the libraries versions and placed the User_Setup.h within the TFT_eSPI directory and the lv_conf.h within the libraries directory with the files supplied in this new book’ links.
Then I downloaded the “Hello, world!” sketch from the provided link, which took me to the raw view of this one. Then I copied (Control-C) the whole text and pasted it into a new sketch. I got the following compilation error:
c:\Users\tadde\OneDrive\Documents\Arduino\libraries\lvgl\src\examples\widgets\scale\lv_example_scale_7.c:4:10: fatal error: ../../../src/lvgl_private.h: No such file or directory
4 | #include “../../../src/lvgl_private.h” //To expose the fields of lv_draw_task_t
Is it possible that the TFT_eSPI and/or the lv_conf.h files provided may be wrong or there are other points I should check to help the compiler to find the file?
Thanks.
Hello Fernando,
Please delete the LVGL library and follow the instructions again in the eBook to install the LVGL library.
That error means that you’ve moved the demos and examples folders to the src folder. You can’t move those folders in LVGL 9.2.
Regards,
Sara