Makerfabs / ESP32-S3-Parallel-TFT-with-Touch-7inch

37 stars 11 forks source link

demo code Erro #8

Closed Th1rd-Player closed 5 months ago

Th1rd-Player commented 5 months ago
In file included from t:\222\OneDrive\Documents\Arduino\libraries\GFX_Library_for_Arduino\src/Arduino_GFX_Library.h:4,
                 from E:\ESP32-S3-Parallel-TFT-with-Touch-7inch-main\ESP32-S3-Parallel-TFT-with-Touch-7inch-main\example\LvglWidgets\LvglWidgets.ino:28:
t:\222\OneDrive\Documents\Arduino\libraries\GFX_Library_for_Arduino\src/Arduino_DataBus.h:161:13: error: 'i80_device_list' has not been declared
  161 |   LIST_HEAD(i80_device_list, lcd_panel_io_i80_t)
      |             ^~~~~~~~~~~~~~~
t:\222\OneDrive\Documents\Arduino\libraries\GFX_Library_for_Arduino\src/Arduino_DataBus.h:161:3: error: ISO C++ forbids declaration of 'LIST_HEAD' with no type [-fpermissive]
  161 |   LIST_HEAD(i80_device_list, lcd_panel_io_i80_t)
      |   ^~~~~~~~~
t:\222\OneDrive\Documents\Arduino\libraries\GFX_Library_for_Arduino\src/Arduino_DataBus.h:161:48: error: expected ';' at end of member declaration
  161 |   LIST_HEAD(i80_device_list, lcd_panel_io_i80_t)
      |                                                ^
      |                                                 ;
t:\222\OneDrive\Documents\Arduino\libraries\GFX_Library_for_Arduino\src/Arduino_DataBus.h:162:3: error: 'device_list' does not name a type
  162 |   device_list; // Head of i80 device list
      |   ^~~~~~~~~~~
t:\222\OneDrive\Documents\Arduino\libraries\GFX_Library_for_Arduino\src/Arduino_DataBus.h:196:3: error: ISO C++ forbids declaration of 'LIST_ENTRY' with no type [-fpermissive]
  196 |   LIST_ENTRY(lcd_panel_io_i80_t)
      |   ^~~~~~~~~~
t:\222\OneDrive\Documents\Arduino\libraries\GFX_Library_for_Arduino\src/Arduino_DataBus.h:196:32: error: expected ';' at end of member declaration
  196 |   LIST_ENTRY(lcd_panel_io_i80_t)
      |                                ^
      |                                 ;
t:\222\OneDrive\Documents\Arduino\libraries\GFX_Library_for_Arduino\src/Arduino_DataBus.h:197:3: error: 'device_list_entry' does not name a type
  197 |   device_list_entry; // Entry of i80 device list
      |   ^~~~~~~~~~~~~~~~~
In file included from t:\222\OneDrive\Documents\Arduino\libraries\GFX_Library_for_Arduino\src/Arduino_GFX_Library.h:14:
t:\222\OneDrive\Documents\Arduino\libraries\GFX_Library_for_Arduino\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

exit status 1

Compilation error: exit status 1
Th1rd-Player commented 5 months ago

The bug is fixed by simply reinstalling the esp32 board support package. you need to put 2.0.14 and it works fine.

Th1rd-Player commented 5 months ago

Тож просто перевстановіть пакет підтримки і все буде добре всім добра