• 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

ESP32 CYD. – ebook Learn LVGL_Compiling problems with skech ; Testing the display – module 1.8

Q&A Forum › Category: ESP32 › ESP32 CYD. – ebook Learn LVGL_Compiling problems with skech ; Testing the display – module 1.8
0 Vote Up Vote Down
Andreas Deckers asked 10 months ago

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
 

Question Tags: ESP32 CYD: Compiling problems
7 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.
 
Let me know if that solves the issue.

 
Regards

0 Vote Up Vote Down
Andreas Deckers answered 10 months ago

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

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

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

0 Vote Up Vote Down
Paolo Bonelli answered 10 months ago

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.

 

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

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

0 Vote Up Vote Down
Paolo Bonelli answered 10 months ago

Thank-you Sara.
I discover that I installed the wrong  XPT2046_Touchscreen, because more than one are available on the IDE.
Paolo

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

Let me know if everything is working properly now.
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.