E:/test/lvgl-simulator/../generated/guider_fonts/lv_font_montserratMedium_178.c:156573:4: error: #error "Too large font or glyphs in LV_FONT_MONTSERRATMEDIUM_178. Enable LV_FONT_FMT_TXT_LARGE in lv_conf.h") 156573 | # error "Too large font or glyphs in LV_FONT_MONTSERRATMEDIUM_178. Enable LV_FONT_FMT_TXT_LARGE in lv_conf.h") | ^~~~~ Makefile:103: recipe for target 'build/object/generated/lv_font_montserratMedium_178.o' failed mingw32-make: *** [build/object/generated/lv_font_montserratMedium_178.o] Error 1 mingw32-make: *** Waiting for unfinished jobs....
已解决! 转到解答。
Hi @Gene_Xu,
On the Code Editor window, open "lv_conf_ext.h" and add the following code:
#undef LV_FONT_FMT_TXT_LARGE
#define LV_FONT_FMT_TXT_LARGE 1
It should look as follows if you are deploying the GUI to a board. If you are using the simulator, add the code under "#if LV_USE_GUIDER_SIMULATOR".
Important note! Please make sure to save the "lv_conf_ext.h" file before generating code or clicking the green play button of the top right corner. In other words, write down the aforementioned macros, press CTRL + S to save, making sure the "Code saved!" message appears, and only then, proceed with the build. This will prevent your "lv_conf_ext.h" file from getting overwritten.
BR,
Edwin.
Hi @Gene_Xu,
On the Code Editor window, open "lv_conf_ext.h" and add the following code:
#undef LV_FONT_FMT_TXT_LARGE
#define LV_FONT_FMT_TXT_LARGE 1
It should look as follows if you are deploying the GUI to a board. If you are using the simulator, add the code under "#if LV_USE_GUIDER_SIMULATOR".
Important note! Please make sure to save the "lv_conf_ext.h" file before generating code or clicking the green play button of the top right corner. In other words, write down the aforementioned macros, press CTRL + S to save, making sure the "Code saved!" message appears, and only then, proceed with the build. This will prevent your "lv_conf_ext.h" file from getting overwritten.
BR,
Edwin.