Failed build due to lv_conf.h location on v7.7.0 release

Description

After rev’ing to 7.7.0 I can no longer build my app due to the hard coded lv_conh.h location in lv_gpu_nxp_pxp.c that is not relative or respective of DEFINEs.

Error as follows for my PIO build:

.pio/libdeps/teensy41/lvgl/src/lv_gpu/lv_gpu_nxp_pxp.c:35:21: fatal error: lv_conf.h: No such file or directory

What MCU/Processor/Board and compiler are you using?

Built using the following platformio.ini:

board = teensy41
board_build.mcu = imxrt1062
framework = arduino

What do you experience?

Can no longer build my project with 0 changes to my codebase.

What do you expect?

lv_conf.h location to be relative, respect conf location DEFINEs, and be backwards compatible if possible.

Code to reproduce

I’m not setting any DEFINEs for conf location and rely on the default location of includes, i.e., #include "../lvgl.h", which works in all files except lv_gpu_nxp_pxp.c.

I believe this is fixed in 7.7.1 already. Can you confirm?

I think it was fixed in https://github.com/lvgl/lvgl/issues/1860

Verified. @embeddedt @Carlos_Diaz thanks for the quick response.

1 Like

Appears to be 2 years ago, this topic. Esp32 with TFT_espi, the lvgl is asking the same on a new install.

arduino scripts\libraries\lvgl\src\lv_conf_internal.h:41:103: fatal error: …/…/lv_conf.h: No such file or directory

Has this been fixed?

You have to create the lv_conf.h file manually by copying lv_conf_template.h