#include "esp_lcd_panel_rgb.h" missing in rgb_panel example

chriskuku
Posts: 9
Joined: Fri Mar 29, 2024 5:49 pm

#include "esp_lcd_panel_rgb.h" missing in rgb_panel example

Postby chriskuku » Sun Mar 31, 2024 9:01 am

I was trying to go first steps in ESP-IDF under Vscode and was stumbling across a mising include file in
the example "rgb_panel":

Code: Select all

main.dir/rgb_lcd_example_main.c.obj -c /Users/kuku/Documents/PlatformIO/rgb_panel/main/rgb_lcd_example_main.c
/Users/kuku/Documents/PlatformIO/rgb_panel/main/rgb_lcd_example_main.c:14:10: fatal error: esp_lcd_panel_rgb.h: No such file or directory
   14 | #include "esp_lcd_panel_rgb.h"
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
This also happens when invoking

Code: Select all

idf.py build
in the rgb_panel example directory.

Is an include dir missing? The file is there:

Code: Select all

/Users/kuku/esp-idf/components/esp_lcd/rgb/include/esp_lcd_panel_rgb.h

Who is online

Users browsing this forum: Corand, meiland, mjgciltd, uC_Jon and 52 guests