• 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 "Hello World" , compile error #include "../../src/themes/lv_theme_private.h"

Q&A Forum › LVGL "Hello World" , compile error #include "../../src/themes/lv_theme_private.h"
0 Vote Up Vote Down
steve park asked 9 months ago

Following the instructions from the book Learn LVGL, Build GUIs for ESP32 Projects V1,
I copied the ‘lv_conf’ file into the library folder and
moved the ‘demos’ and ‘examples’ folders into the src folder.
However, I’m still encountering the error mentioned above and can’t figure out the reason.
There are ‘lv_theme_private.h’ file in C:\Arduino\libraries\lvgl\src\themes  path
I ran Arduino with administrator privileges.
Arduino – Preferences – Sketchbook location : c:\Arduino
Thank you

3 Answers
1 Vote Up Vote Down
steve park answered 9 months ago

C:\Arduino\libraries\lvgl\src\examples\styles
lv_example_style_14.c

 
“../../src/themes/lv_theme_private.h”  >  “../../themes/lv_theme_private.h”

0 Vote Up Vote Down
Sara Santos Staff answered 9 months ago

Hi.
I think you placed the lv_conf in the wrong place.
Move the lv_conf.h to the libraries folder (do NOT move it inside the lvgl folder).
Can you double-check that?
Regards,
Sara

0 Vote Up Vote Down
Jean-Francois Bouchard answered 5 months ago

I had the same problem I had lvgl 9.2.2 installed I did reinstall 9.0.0 and that fixed the probleme 

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.