mingw32-make: error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

mingw32-make: error

跳至解决方案
597 次查看
Gene_Xu
Contributor I

Gene_Xu_0-1745850180929.png

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....

 

标记 (1)
0 项奖励
回复
1 解答
562 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

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".

image002.png

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.

image (12).png

BR,
Edwin.

在原帖中查看解决方案

1 回复
563 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

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".

image002.png

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.

image (12).png

BR,
Edwin.