#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

m4l490n
Posts: 5
Joined: Thu May 17, 2018 4:39 pm

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

Postby m4l490n » Wed Oct 02, 2024 8:29 pm

Were you able to figure this out? I'm having the exact same problem.

Who is online

Users browsing this forum: joe_fang_iD, Majestic-12 [Bot] and 273 guests