moononournation/RGB565_video

SPIFFS_MJPEG_MP3_ESP32_S3_RGB 编译报错

Opened this issue · 0 comments

您好,编译SPIFFS_MJPEG_MP3_ESP32_S3_RGB出现如下错误
编译器版本:arduino ide 2.20
错误信息:
C:\Users\86183\AppData\Local\Arduino15\libraries\Arduino_GFX\src/databus/Arduino_ESP32RGBPanel.h: At global scope:
C:\Users\86183\AppData\Local\Arduino15\libraries\Arduino_GFX\src/databus/Arduino_ESP32RGBPanel.h:43:3: error: 'esp_lcd_rgb_panel_frame_trans_done_cb_t' does not name a type; did you mean 'esp_lcd_panel_io_color_trans_done_cb_t'?
43 | esp_lcd_rgb_panel_frame_trans_done_cb_t on_frame_trans_done; // Callback, invoked after frame trans done
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| esp_lcd_panel_io_color_trans_done_cb_t
C:\Users\86183\Documents\Arduino\RGB565_video\SPIFFS_MJPEG_MP3_ESP32_S3_RGB\SPIFFS_MJPEG_MP3_ESP32_S3_RGB.ino:52: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)'
52 | );
| ^
C:\Users\86183\AppData\Local\Arduino15\libraries\Arduino_GFX\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)'
59 | Arduino_ESP32RGBPanel(
| ^~~~~~~~~~~~~~~~~~~~~
C:\Users\86183\AppData\Local\Arduino15\libraries\Arduino_GFX\src/databus/Arduino_ESP32RGBPanel.h:59:3: note: candidate expects 31 arguments, 23 provided
C:\Users\86183\AppData\Local\Arduino15\libraries\Arduino_GFX\src/databus/Arduino_ESP32RGBPanel.h:56:7: note: candidate: 'constexpr Arduino_ESP32RGBPanel::Arduino_ESP32RGBPanel(const Arduino_ESP32RGBPanel&)'
56 | class Arduino_ESP32RGBPanel
| ^~~~~~~~~~~~~~~~~~~~~
C:\Users\86183\AppData\Local\Arduino15\libraries\Arduino_GFX\src/databus/Arduino_ESP32RGBPanel.h:56:7: note: candidate expects 1 argument, 23 provided
C:\Users\86183\AppData\Local\Arduino15\libraries\Arduino_GFX\src/databus/Arduino_ESP32RGBPanel.h:56:7: note: candidate: 'constexpr Arduino_ESP32RGBPanel::Arduino_ESP32RGBPanel(Arduino_ESP32RGBPanel&&)'
C:\Users\86183\AppData\Local\Arduino15\libraries\Arduino_GFX\src/databus/Arduino_ESP32RGBPanel.h:56:7: note: candidate expects 1 argument, 23 provided
C:\Users\86183\Documents\Arduino\RGB565_video\SPIFFS_MJPEG_MP3_ESP32_S3_RGB\SPIFFS_MJPEG_MP3_ESP32_S3_RGB.ino:53:1: error: 'Arduino_ST7701_RGBPanel' does not name a type; did you mean 'Arduino_ESP32RGBPanel'?
53 | Arduino_ST7701_RGBPanel *gfx = new Arduino_ST7701_RGBPanel(bus, GFX_NOT_DEFINED, 480, 480);
| ^~~~~~~~~~~~~~~~~~~~~~~
| Arduino_ESP32RGBPanel

C:\Users\86183\Documents\Arduino\RGB565_video\SPIFFS_MJPEG_MP3_ESP32_S3_RGB\SPIFFS_MJPEG_MP3_ESP32_S3_RGB.ino:75:3: error: 'gfx' was not declared in this scope
75 | gfx->draw16bitBeRGBBitmap(pDraw->x, pDraw->y, pDraw->pPixels, pDraw->iWidth, pDraw->iHeight);
| ^~~
C:\Users\86183\Documents\Arduino\RGB565_video\SPIFFS_MJPEG_MP3_ESP32_S3_RGB\SPIFFS_MJPEG_MP3_ESP32_S3_RGB.ino: In function 'void setup()':
C:\Users\86183\Documents\Arduino\RGB565_video\SPIFFS_MJPEG_MP3_ESP32_S3_RGB\SPIFFS_MJPEG_MP3_ESP32_S3_RGB.ino:87:3: error: 'gfx' was not declared in this scope
87 | gfx->begin();

exit status 1

Compilation 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)'