image_display编译报错,idf5.1 espbox_lit
Posted: Wed Nov 01, 2023 12:06 pm
F:/01_ESP_STM_PRJ/ESP32/ESP-BOX/esp-box-master/examples/image_display/managed_components/espressif__esp_lcd_ili9341/esp_lcd_ili9341.c: In function 'esp_lcd_new_panel_ili9341':
F:/01_ESP_STM_PRJ/ESP32/ESP-BOX/esp-box-master/examples/image_display/managed_components/espressif__esp_lcd_ili9341/esp_lcd_ili9341.c:77:29: error: 'esp_lcd_panel_dev_config_t' has no member named 'rgb_ele_order'
77 | switch (panel_dev_config->rgb_ele_order) {
| ^~
F:/01_ESP_STM_PRJ/ESP32/ESP-BOX/esp-box-master/examples/image_display/managed_components/espressif__esp_lcd_ili9341/esp_lcd_ili9341.c:78:10: error: 'LCD_RGB_ELEMENT_ORDER_RGB' undeclared (first use in this function)
78 | case LCD_RGB_ELEMENT_ORDER_RGB:
| ^~~~~~~~~~~~~~~~~~~~~~~~~
F:/01_ESP_STM_PRJ/ESP32/ESP-BOX/esp-box-master/examples/image_display/managed_components/espressif__esp_lcd_ili9341/esp_lcd_ili9341.c:78:10: note: each undeclared identifier is reported only once for each function it appears in
F:/01_ESP_STM_PRJ/ESP32/ESP-BOX/esp-box-master/examples/image_display/managed_components/espressif__esp_lcd_ili9341/esp_lcd_ili9341.c:81:10: error: 'LCD_RGB_ELEMENT_ORDER_BGR' undeclared (first use in this function)
81 | case LCD_RGB_ELEMENT_ORDER_BGR:
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[1318/1332] Building C object esp-idf/espressif__esp-box/CMakeFiles/__idf_espressif__esp-box.dir/esp-box.c.obj
ninja: build stopped: subcommand failed.
F:/01_ESP_STM_PRJ/ESP32/ESP-BOX/esp-box-master/examples/image_display/managed_components/espressif__esp_lcd_ili9341/esp_lcd_ili9341.c:77:29: error: 'esp_lcd_panel_dev_config_t' has no member named 'rgb_ele_order'
77 | switch (panel_dev_config->rgb_ele_order) {
| ^~
F:/01_ESP_STM_PRJ/ESP32/ESP-BOX/esp-box-master/examples/image_display/managed_components/espressif__esp_lcd_ili9341/esp_lcd_ili9341.c:78:10: error: 'LCD_RGB_ELEMENT_ORDER_RGB' undeclared (first use in this function)
78 | case LCD_RGB_ELEMENT_ORDER_RGB:
| ^~~~~~~~~~~~~~~~~~~~~~~~~
F:/01_ESP_STM_PRJ/ESP32/ESP-BOX/esp-box-master/examples/image_display/managed_components/espressif__esp_lcd_ili9341/esp_lcd_ili9341.c:78:10: note: each undeclared identifier is reported only once for each function it appears in
F:/01_ESP_STM_PRJ/ESP32/ESP-BOX/esp-box-master/examples/image_display/managed_components/espressif__esp_lcd_ili9341/esp_lcd_ili9341.c:81:10: error: 'LCD_RGB_ELEMENT_ORDER_BGR' undeclared (first use in this function)
81 | case LCD_RGB_ELEMENT_ORDER_BGR:
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[1318/1332] Building C object esp-idf/espressif__esp-box/CMakeFiles/__idf_espressif__esp-box.dir/esp-box.c.obj
ninja: build stopped: subcommand failed.