Page 1 of 1

ESP32_Display_Panel example project not comipiling

Posted: Wed Jun 19, 2024 1:52 pm
by wavejaco
Hi everyone.

I am trying to build the "PanelTest" project under "Examples->ESP32_Display_Panel", but with no luck.

I have performed all the configuration changes as outlined in the PanelTest.ino file, both for the supported and custom board versions.

When compiling, I get the following error:
PanelTest:46:1: error: 'ESP_Panel' does not name a type; did you mean 'ESP_PanelLcd'?
46 | ESP_Panel *panel = nullptr;
| ^~~~~~~~~
| ESP_PanelLcd
C:\Users\User\Documents\Arduino\libraries\ESP32_Display_Panel\examples\Panel\PanelTest\PanelTest.ino: In function 'void setup()':
PanelTest:74:5: error: 'panel' was not declared in this scope
74 | panel = new ESP_Panel();
| ^~~~~
PanelTest:74:17: error: expected type-specifier before 'ESP_Panel'
74 | panel = new ESP_Panel();
| ^~~~~~~~~


I have even used the custom board setup in an attempt to avoid the issue (as documented in https://github.com/esp-arduino-libs/ESP ... /issues/26, but with the same result.

As this comes directly from the Waveshare at https://www.waveshare.com/wiki/ESP32-S3-Touch-LCD-4.3, one would expect that it would reliably build after following the relevant instructions.

How can this be resolved?

Thank you very much for your consideration in this issue.

Re: ESP32_Display_Panel example project not comipiling

Posted: Fri Jun 21, 2024 4:36 pm
by lbernstone
What version of arduino-esp32 are you running? I would recommend using 2.0.17. The API has changed in v3.0.x.

Re: ESP32_Display_Panel example project not comipiling

Posted: Sun Mar 30, 2025 12:53 am
by akmishra99
I installed version 2.0.17 of esp32 package and tried to compile SPI.cpp example file for ESP32_Display_Panel library

and here is error which I am getting

/home/akmishra/Arduino/libraries/ESP32_Display_Panel/src/lcd/ESP_PanelLcd.cpp:13:10: fatal error: esp_memory_utils.h: No such file or directory
#include "esp_memory_utils.h"
^~~~~~~~~~~~~~~~~~~~
compilation terminated.
Using library ESP32_Display_Panel at version 0.1.8 in folder: /home/akmishra/Arduino/libraries/ESP32_Display_Panel
Using library ESP32_IO_Expander at version 0.0.4 in folder: /home/akmishra/Arduino/libraries/ESP32_IO_Expander
exit status 1
Error compiling for board ESP32S3 Dev Module.

Re: ESP32_Display_Panel example project not comipiling

Posted: Sun Mar 30, 2025 1:02 am
by akmishra99
I am using Arduino IDE (1.8.19) running on Debian (12 bookworm) on raspberry pi compute module 5

Re: ESP32_Display_Panel example project not comipiling

Posted: Sun Mar 30, 2025 1:11 am
by akmishra99
it is SPI.ino which I am trying to compile not SPI.cpp