• 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

Compilation error

Q&A Forum › Category: ESP32 › Compilation error
0 Vote Up Vote Down
Enrico Vitali asked 8 months ago

while compiling the file 1_10_1_Calibration_Sketch.ino (module_1) I get the error :
” d:Arduinolibrarieslvglsrcexamplesstyleslv_example_style_14.c:1:10: fatal error: .. /../src/themes/lv_theme_private.h: No such file or directory
1 | #include “.. /.. /src/themes/lv_theme_private.h”
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Compilation error: exit status 1 “
I think I have arranged the folders as indicated. I note that I work on PC (win10) with disk D:
What could it be?
Thanks for a tip

Question Tags: board ESP32-2432S02R CYD
6 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 8 months ago

Hi.
what version of the ebook are you following? 
The latest version is 1.4. Make sure that’s the version you’re following at the moment.
 
when setting up the lvgl library, don’t move the demos folder. 

Regards
Sara

0 Vote Up Vote Down
Enrico Vitali answered 8 months ago

Hi
I use the book with the last version 1.4
I noticed that in the course guidelines v. 1.4 the library “ESP32 Core by Espressif Systems version 3.0.4” is requested but that in the “library Manager” is not present !!What could it be?
I still note that the “libraries” folder is located on D:Arduinolibraries and not on C:
Could this be a problem?
Thanks for a tip
 

0 Vote Up Vote Down
Enrico Vitali answered 8 months ago

Where exactly they should
find the “Demos” and “Examples” folders?
Regards
 

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

Hi.
The ESP32 version is not in the library Manager.
It is on the Boards Manager.
 
Our Arduino installation is on the C driver, but yours might be on a different place. That’s why you need to follow your sketchbook location.
 
As for the LVGL library, is this the first time installing it? Or have you previously installed it?
 
Please unninstall the LVGL library and follow the installing procedure steo-by-step exactly as shown in the eBook.
Move copy lv_conf.h configuration file to Arduino libraries folder Arduino IDE 2
 
That compilation issue is because the demos and examples folder are not in the original place (probably because you’re using a previous installation).
 
Regards,
Sara
 

0 Vote Up Vote Down
Enrico Vitali answered 8 months ago

Hello,
I moved the DEMOS and EXAMPLE files to the correct folders after which the compilation worked correctly.
Thanks for the help
Regards

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

Ok.
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.