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.
ESP32_Display_Panel example project not comipiling
-
lbernstone
- Posts: 1131
- Joined: Mon Jul 22, 2019 3:20 pm
Re: ESP32_Display_Panel example project not comipiling
What version of arduino-esp32 are you running? I would recommend using 2.0.17. The API has changed in v3.0.x.
-
akmishra99
- Posts: 10
- Joined: Sat Mar 07, 2020 5:48 pm
Re: ESP32_Display_Panel example project not comipiling
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.
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.
-
akmishra99
- Posts: 10
- Joined: Sat Mar 07, 2020 5:48 pm
Re: ESP32_Display_Panel example project not comipiling
I am using Arduino IDE (1.8.19) running on Debian (12 bookworm) on raspberry pi compute module 5
-
akmishra99
- Posts: 10
- Joined: Sat Mar 07, 2020 5:48 pm
Re: ESP32_Display_Panel example project not comipiling
it is SPI.ino which I am trying to compile not SPI.cpp
Who is online
Users browsing this forum: YisouSpider and 4 guests