lvgl / lv_port_esp32

LVGL ported to ESP32 including various display and touchpad drivers
MIT License
1.06k stars 440 forks source link

fatal error: lv_drv_conf.h: No such file or directory #297

Closed myfreax closed 2 years ago

myfreax commented 2 years ago

We use GitHub issues for development related discussions. Please use the forum to ask questions.

Describe the issue

/mnt/f/work/lv_port_esp32/components/lv_examples/lv_examples/objs/builder/lv_drivers/display/ILI9341.h:19:10: fatal error: lv_drv_conf.h: No such file or directory
 #include "lv_drv_conf.h"
          ^~~~~~~~~~~~~~~
In file included from /mnt/f/work/lv_port_esp32/components/lv_examples/lv_examples/objs/builder/lv_drivers/display/R61581.c:9:
/mnt/f/work/lv_port_esp32/components/lv_examples/lv_examples/objs/builder/lv_drivers/display/R61581.h:18:10: fatal error: lv_drv_conf.h: No such file or directory
 #include "lv_drv_conf.h"
          ^~~~~~~~~~~~~~~
compilation terminated.
compilation terminated.
In file included from /mnt/f/work/lv_port_esp32/components/lv_examples/lv_examples/objs/builder/lv_drivers/display/SHARP_MIP.c:43:
/mnt/f/work/lv_port_esp32/components/lv_examples/lv_examples/objs/builder/lv_drivers/display/SHARP_MIP.h:19:10: fatal error: lv_drv_conf.h: No such file or directory
 #include "lv_drv_conf.h"
          ^~~~~~~~~~~~~~~
In file included from /mnt/f/work/lv_port_esp32/components/lv_examples/lv_examples/objs/builder/lv_drivers/display/GC9A01.c:10:
/mnt/f/work/lv_port_esp32/components/lv_examples/lv_examples/objs/builder/lv_drivers/display/GC9A01.h:18:10: fatal error: lv_drv_conf.h: No such file or directory
 #include "lv_drv_conf.h"

Code to reproduce the issue

git clone -b v4.2 --recursive https://github.com/espressif/esp-idf.git
git clone --recurse-submodules https://github.com/lvgl/lv_port_esp32.git
source ../esp-idf/export.sh
Components config->LVGL TFT Display Controller -> select predefind display configuration -> ESP-Worver-KIT-v4.1
idf.py build

Expected Results fix lv_drv_conf.h Actual Results

ESP32 Chip version ESP32-Worver-KIT-v4.1 ESP-IDF version V4.2 Development kit used

Development machine OS windows wsl: Ubuntu 20.04 Compilation warnings/errors (if available)

If possible, copy the compilation log into a file and attach it here

myfreax commented 2 years ago

Fixed by

rm -rf lv_port_esp32 && git clone --recurse-submodules https://github.com/lvgl/lv_port_esp32.git