mingw32-make: error

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
874件の閲覧回数
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 解決策
839件の閲覧回数
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 返信
840件の閲覧回数
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.