Xinyuan-LilyGO / T-Display-S3-Pro

29 stars 6 forks source link

Compilation error: 'lv_font_montserrat_16' was not declared in this scope #7

Closed ortiztx closed 1 month ago

ortiztx commented 1 month ago

Hi, I have just received my new T-Display-S3 and after uploading a couple of examples, I wanted to return to the initial factory firmware. But I always receive the same issue:

Compilation error: 'lv_font_montserrat_16' was not declared in this scope

It is about this font I don't know how to fixed, it is just in the ui.cpp file and in no other place.

Please, can you help on this?

Thank you,

Tomas

ortiztx commented 1 month ago

Got it, if anyone needs it: Just search lv_conf.h in Arduino/ibraries, search for this string: #define LV_FONT_MONTSERRAT_16 1 and activate the font with a 1 at the end, if doesn't find in the compilation is because is 0, that is, not activated.