Was up to Module 7 in Learn_LVGL_Build_GUIs_for_ESP32_Projects_V1_1, no problems. Just did the update to eBook 1.3 and got the newer libraries, put the two .h files and two folders where they belong, but now getting:
1 | #include “../../src/themes/lv_theme_private.h”
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Web search on “not finding lv_theme_private.h” shows others with same problem. The missing file is there but not being found.
Solution?
Thanks,
-John B.
Went back to LVGL 9.1.0, keeping all the other updates the same, and now it works fine.
-John B.
Hello John,
- Can you try the following? Update LVGL library to version 9.2.
Open the lv_conf.h file inside the libraries folder and go to line 388:
#define LV_USE_PRIVATE_API 1
Change it to 0:
#define LV_USE_PRIVATE_API 0
Then, try to compile again. Does it work now?
- If those instructions still don’t work, I recommend deleting the whole LVGL library and then re-installing it. Because if that file is missing it looks like something failed while upgrading the library version
Hello John!
Please ignore the previous comment above.
We had to release yet another update (sorry about that). There’s currently an issue with some demos/examples. You can download eBook version 1.4:
Please re-install LVGL version 9.2. While installing LVGL do NOT move the examples/demos folders inside the src folder. This will solve that error messsage.