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
-
- Posts: 826
- 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.
Who is online
Users browsing this forum: No registered users and 54 guests