Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic LilyGo EPD47 Library + ESP32 - Include file not found (Read 1298 times)
wesch
Junior Member
**
Offline


Posts: 19
Joined: Aug 22nd, 2018
LilyGo EPD47 Library + ESP32 - Include file not found
Jan 19th, 2023 at 1:07pm
Print Post  
I'm trying to use  Lilygo E-Paper display.
When compiling a sketch witm VM which already works with PlatformIO, get the error
The LilyGo-EPD47-master library encountered an unknown path resolve error.c*: 14:30: fatal error: esp_lcd_panel_io.h: No such file or directory

The library search path is:
Library Include Paths (6)
Include Path 'c:\Arduino.Sketchbook\libraries\ArduinoJson\src'
Include Path aries\HTTPClient\src'
Include Path aries\WiFi\src'
Include Path aries\SPI\src'
Include Path 'c:\Arduino.Sketchbook\libraries\LilyGo-EPD47-master\src'

In folder 'c:\Arduino.Sketchbook\libraries' I have already added the 'arduino-esp32-master' library, which  in the subpath 'tools\sdk\esp32\include\esp_lcd\include' contains the file.

But according to build logs, it doesn't include this library. What am I doing wrong here?

What I noticed is, compiling states it 'Library Include Paths (6)' but logged only 5.
« Last Edit: Jan 23rd, 2023 at 2:22am by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2174
Joined: Feb 13th, 2019
Re: Include file not dound (esp_lcd_panel_io.h)
Reply #1 - Jan 19th, 2023 at 1:15pm
Print Post  
Thanks for the report.

Can you set the Verbose and Show Build Properties shown at the top of this page, then run Build > Clean Solution.  Then if you build your project again, and attach the complete build output it will allow us to replicate your configuration.

If you can confirm where the "arduino-esp32-master" and "LilyGo-EPD47-master" libraries are downloadable from it will make it much quicker for us to review the specific issue you are having.
  
Back to top
 
IP Logged
 
wesch
Junior Member
**
Offline


Posts: 19
Joined: Aug 22nd, 2018
Re: Include file not dound (esp_lcd_panel_io.h)
Reply #2 - Jan 19th, 2023 at 2:01pm
Print Post  
Thx for the fast reply.
Lilygo library you can get on this link:
https://github.com/Xinyuan-LilyGO/LilyGo-EPD47

And this is the verbose output:

Admin Note: Please attach output as a txt or email. Follow the instructions at the top of this page.
« Last Edit: Jan 19th, 2023 at 4:48pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
wesch
Junior Member
**
Offline


Posts: 19
Joined: Aug 22nd, 2018
Re: Include file not dound (esp_lcd_panel_io.h)
Reply #3 - Jan 19th, 2023 at 2:04pm
Print Post  
It seems, the log is not fully shown here, is there a length limit?

Btw, "Board Support Urls: "https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32...."

this is the package the missing library is within.
« Last Edit: Jan 19th, 2023 at 2:06pm by wesch »  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2174
Joined: Feb 13th, 2019
Re: Include file not dound (esp_lcd_panel_io.h)
Reply #4 - Jan 19th, 2023 at 2:50pm
Print Post  
Thanks for the information.

Please also enable vMicro > Compiler > Show Build Properties, and perform the build again.  If you save the full output to a *.txt file, and then attach it to the post there is no limit on the length.

Also disable the Serial Debugger by changing to the Release Build configuration to ensure this is removed from the issue.
  
Back to top
 
IP Logged
 
wesch
Junior Member
**
Offline


Posts: 19
Joined: Aug 22nd, 2018
Re: Include file not dound (esp_lcd_panel_io.h)
Reply #5 - Jan 19th, 2023 at 6:16pm
Print Post  
Here is the compile output.

If there are any further questions, I will try to answer. Unfortunately over the weekend I'm not able to do any compile tests since I'm not in reach of my computer.

Thx.
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2174
Joined: Feb 13th, 2019
Re: Include file not dound (esp_lcd_panel_io.h)
Reply #6 - Jan 19th, 2023 at 6:23pm
Print Post  
Thanks for the information.

The LilyGo-EPD47 Library GitHub page specifies you must use ESP32 Board Package >= 1.0.5, you currently have the old 1.0.4 version (latest is 2.0.6, and it definitely contains the esp_lcd_panel_io.h file).

Can you try updating this in Visual Micro from the Micro Explorer, to at least 1.0.5 and try this again.

If the issue still persists could you point us to one of the Library Examples which demonstrates the issue?
« Last Edit: Jan 23rd, 2023 at 2:22am by Tim@Visual Micro »  
Back to top
 
IP Logged
 
wesch
Junior Member
**
Offline


Posts: 19
Joined: Aug 22nd, 2018
LilyGo EPD47 Library + ESP32 - Include file not found
Reply #7 - Jan 22nd, 2023 at 5:20pm
Print Post  
Thx, this answer helped a lot.
After your hint I've seen in the board manager that version 1.0.4 and 2.0.6 have been installed but in the ESP/hardware folder, there was only 1.0.4.
After reinstalling 2.0.6 it did compile well.
« Last Edit: Jan 23rd, 2023 at 2:22am by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint