Page 1 of 1

#include "esp_lcd_panel_rgb.h" missing in rgb_panel example

Posted: Sun Mar 31, 2024 9:01 am
by chriskuku
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

Re: #include "esp_lcd_panel_rgb.h" missing in rgb_panel example

Posted: Wed Oct 02, 2024 8:29 pm
by m4l490n
Were you able to figure this out? I'm having the exact same problem.