Error: 'lv_font_montserrat_42' was not declared in this scope

hello I need help, I am on a project with my esp32 s3box3 where I use LGVL esphome, but I am facing a font problem which remains blocked on montserrat 22 the others it does not take them like for example montserrat_42 or other

hi, make sure the required fonts are enabled in lv_conf.h

I don’t have this lv_conf.h how to put it ??

lv_conf.h will be available in the lvgl folder.

I want to use the lv_font_montserrat_42 for the Arduino giga display using Arduino R1 giga board but i have the font 42 in lv_conf.h but still the program is the still showing the Error

Maybe the change in the H file in recognized. Can you “clean” and build again?

But i have enabled it and still facing the same issue , could help me Asap… and Thank you for your response.

I’m out of ideas from LVGL’s side. It should an Arduino build system specific issue.

cc @fbiego

Ok Thank you , I will look into it .

@dasarisujithreddy I could not reproduce the issue.
have you enabled the lv_conf.h content?

You should have this line set to 1 near the top of the file
#if 1 /* Set this to "1" to enable content */