Symbol 'lv_font_montserrat_34' could not be resolved

Im getting Symbol ‘lv_font_montserrat_34’ could not be resolved even though I have it enabled in lv_conf.h

Any ideas on how to resolve this?

Is the lv_font_montserrat_34.c source file being compiled? I would try checking that by adding this at the beginning of the file, causing a compilation error on purpose to know for sure it’s being compiled.

diff --git a/src/font/lv_font_montserrat_34.c b/src/font/lv_font_montserrat_34.c
index 7577c7343..bd04aa3c6 100644
--- a/src/font/lv_font_montserrat_34.c
+++ b/src/font/lv_font_montserrat_34.c
@@ -16,6 +16,8 @@
 
 #if LV_FONT_MONTSERRAT_34
 
+#error "Here"
+
 /*-----------------
  *    BITMAPS
  *----------------*/

Odd, I had to add the code that causes the compilation error to each of the font source files, build the project, remove the compilation error-causing code, then rebuild and it fixed it, quite strange

Weird, does it work now? If it works then we can mark this as solved :slight_smile: