It doesn’t help that my libraries are not correctly set up. Not sure how it happened but I now have a /arduino/libraries and an arduino/sketches/libraries and have no idea yet which one is used by which sketches. Also after double checking after your post I find I don’t even have a TFT_eSPI directory under either library as highlighted in the ‘Getting started 5.0 Inch.pdf’ although I managed to have the lv_conf.h correct from you although probably now my SC01 Plus won’t work (seems a bad idea not to have this file in the project directory).
Changed the sketch location back to arduino/sketches/ and copied TFT_eSPI to sketches/library folder
Next compile error is:
C:\Users\jakke\Documents\Arduino\Sketches\Display Panels\ESP32-S3-800x480\5.0inch_ESP32-8048S050\1-Demo\Demo_Arduino\3_3-4_TFT-LVGL-Widgets\LvglWidgets\LvglWidgets.ino:55:1: error: no matching function for call to ‘Arduino_ESP32RGBPanel::Arduino_ESP32RGBPanel(int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int)’
);
^
In file included from c:\Users\jakke\Documents\Arduino\Sketches\libraries\GFX_Library_for_Arduino\src/Arduino_GFX_Library.h:17,
from C:\Users\jakke\Documents\Arduino\Sketches\Display Panels\ESP32-S3-800x480\5.0inch_ESP32-8048S050\1-Demo\Demo_Arduino\3_3-4_TFT-LVGL-Widgets\LvglWidgets\LvglWidgets.ino:34:
c:\Users\jakke\Documents\Arduino\Sketches\libraries\GFX_Library_for_Arduino\src/databus/Arduino_ESP32RGBPanel.h:59:3: note: candidate: ‘Arduino_ESP32RGBPanel::Arduino_ESP32RGBPanel(int8_t, int8_t, int8_t, int8_t, int8_t, int8_t, int8_t, int8_t, int8_t, int8_t, int8_t, int8_t, int8_t, int8_t, int8_t, int8_t, int8_t, int8_t, int8_t, int8_t, uint16_t, uint16_t, uint16_t, uint16_t, uint16_t, uint16_t, uint16_t, uint16_t, uint16_t, int32_t, bool, uint16_t, uint16_t)’
Arduino_ESP32RGBPanel(
^~~~~~~~~~~~~~~~~~~~~
c:\Users\jakke\Documents\Arduino\Sketches\libraries\GFX_Library_for_Arduino\src/databus/Arduino_ESP32RGBPanel.h:59:3: note: candidate expects 33 arguments, 23 provided
c:\Users\jakke\Documents\Arduino\Sketches\libraries\GFX_Library_for_Arduino\src/databus/Arduino_ESP32RGBPanel.h:56:7: note: candidate: ‘constexpr Arduino_ESP32RGBPanel::Arduino_ESP32RGBPanel(const Arduino_ESP32RGBPanel&)’
class Arduino_ESP32RGBPanel
Guessing that some Define is not set correctly perhaps so the call is incorrect. I seem to recall finding a readme that said to set a Define for LvglWidgets to 1 but can’t find that file again!
I’m sure others come across similar problems getting these new screens setup for the first time.