• 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 module 1 1_8_Text_Label.ino not compiling

Q&A Forum › Category: ESP32 › lvgl module 1 1_8_Text_Label.ino not compiling
0 Vote Up Vote Down
James Roberts asked 10 months ago

I copied lv_conf.h to the library.
I get the following errors:
c:\Users\jarcl\Documents\Arduino\libraries\lvgl\src\demos\benchmark\lv_demo_benchmark.c:18:6: error: #error “LV_FONT_MONTSERRAT_24 is required for lv_demo_benchmark. Enable it in lv_conf.h.”
18 | #error “LV_FONT_MONTSERRAT_24 is required for lv_demo_benchmark. Enable it in lv_conf.h.”
| ^~~~~
c:\Users\jarcl\Documents\Arduino\libraries\lvgl\src\demos\benchmark\lv_demo_benchmark.c:22:6: error: #error “LV_USE_DEMO_WIDGETS needs to be enabled”
22 | #error “LV_USE_DEMO_WIDGETS needs to be enabled”
| ^~~~~
c:\Users\jarcl\Documents\Arduino\libraries\lvgl\src\demos\benchmark\lv_demo_benchmark.c:29:10: fatal error: ../../src/display/lv_display_private.h: No such file or directory
29 | #include “../../src/display/lv_display_private.h”
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
 

Question Tags: LVGL
3 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 10 months ago

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.
 
Regards,
Sara
 
 

0 Vote Up Vote Down
James Roberts answered 10 months ago

Sara
  Thank you, that worked.
James A. Roberts
 

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

That’s 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

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.