• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

LVGL book 1.3 compile problem

Q&A Forum › Category: ESP32 › LVGL book 1.3 compile problem
0 Vote Up Vote Down
John Bounds asked 8 months ago

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.

3 Answers
0 Vote Up Vote Down
John Bounds answered 8 months ago

Went back to LVGL 9.1.0, keeping all the other updates the same, and now it works fine.
-John B.

0 Vote Up Vote Down
Rui Santos Staff answered 8 months ago

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
0 Vote Up Vote Down
Rui Santos Staff answered 8 months ago

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:

  • https://rntlab.com/module-1/esp32-lvgl-ebook/

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.

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.