Hi Sara and Rui
After installing all libraries and config files following your instructions of the LVGL ebook I got compling the test sketch of module 1.8 the following error code:
c:\Users\Deckers\Documents\Arduino\libraries\lvgl\src\demos\benchmark\assets\img_benchmark_cogwheel_alpha256.c:6:10: fatal error: lvgl/lvgl.h: No such file or directory
6 | #include “lvgl/lvgl.h”
| ^~~~~~~~~~~~~
compilation terminated.
exit status 1
Compilation error: exit status 1
I have doublechecked the installation in the arduino IDE but it doesn´t work. I´m desparately waiting for help.
Andreas
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.
Let me know if that solves the issue.
Regards
Hi Sara. Now it works. I have additionally the lvgl-library uninstalled and again installed following your instructions. Maybe there was an fault on my PC. Thank you for your quick support
Great.
I’ll mark this issue as resolved. If you need further help, you just need to open a new question in our forum.
Regards,
Sara
Hi Sara,
I am trying the test program (page 60); The error is:
Compilation error: XPT2046_Touchscreen.h: No such file or directory
I think to have followed all the instructions for the libraries. Can you suggest me something?
Thankyou
Paolo
P.S. I solved the problem! I installed the library PaulStoffregen / XPT2046_Touchscreen . But I didn’t find to do this in your book.
Hi.
Please follow all the instructions carefully.
Everything is explained in Unit 1.7, including the installation of that library on page 47.
Regards,
Sara
Thank-you Sara.
I discover that I installed the wrong XPT2046_Touchscreen, because more than one are available on the IDE.
Paolo