image_display编译报错,idf5.1 espbox_lit

180cm_bai
Posts: 4
Joined: Wed Nov 01, 2023 12:04 pm

image_display编译报错,idf5.1 espbox_lit

Postby 180cm_bai » 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.

ESP_Xuxin
Posts: 83
Joined: Thu Sep 22, 2022 3:35 am

Re: image_display编译报错,idf5.1 espbox_lit

Postby ESP_Xuxin » Fri Nov 03, 2023 2:05 am

现在已经更新,请重新尝试下,中间出了一个 LCD 驱动版版本有问题
可以先把本地的环境清除一下, 把 depence.lock 文件也删除下。

Who is online

Users browsing this forum: No registered users and 5 guests