arm - .\Obj\stm32_gpio_demo.axf: Error: L6218E: Undefined symbol mf_wordwrap (referred from render_bmp.o) - Ask Ubuntu
i trying compile using arm stm32f10x , i'm getting error
**rebuild target 'final_stm_thermal' assembling startup_stm32f10x_hd.s... compiling main.c... ..\user\defs.h(15): warning: #1295-d: deprecated declaration adc_getvalue - give arg types compiling stm32f10x_it.c... compiling gpio_config.c... ..\user\defs.h(15): warning: #1295-d: deprecated declaration adc_getvalue - give arg types compiling printer.c... ..\user\defs.h(15): warning: #1295-d: deprecated declaration adc_getvalue - give arg types ..\user\printer.c(472): warning: #177-d: variable "length" declared never referenced ..\user\printer.c(472): warning: #177-d: variable "x" declared never referenced ..\user\printer.c(473): warning: #177-d: variable "maxsize" declared never referenced compiling render_bmp.c... ..\user\mf_font.h(135): warning: #1295-d: deprecated declaration mf_get_font_list - give arg types ..\user\mf_kerning.h(27): warning: #1-d: last line of file ends without newline ..\user\render_bmp.c(98): warning: #9-d: nested comment not allowed ..\user\render_bmp.c(48): warning: #177-d: variable "usage_text" declared never referenced ..\user\render_bmp.c(59): warning: #177-d: function "parse_options" declared never referenced ..\user\render_bmp.c(222): warning: #177-d: function "character_callback" declared never referenced compiling mf_encoding.c... compiling mf_font.c... ..\user\mf_font.h(135): warning: #1295-d: deprecated declaration mf_get_font_list - give arg types compiling mf_rlefont.c... ..\user\mf_font.h(135): warning: #1295-d: deprecated declaration mf_get_font_list - give arg types compiling core_cm3.c... compiling system_stm32f10x.c... compiling misc.c... compiling stm32f10x_gpio.c... compiling stm32f10x_rcc.c... compiling stm32f10x_usart.c... compiling stm32f10x_adc.c... linking... **.\obj\stm32_gpio_demo.axf: error: l6218e: undefined symbol mf_scale_font (referred render_bmp.o).** **.\obj\stm32_gpio_demo.axf: error: l6218e: undefined symbol mf_wordwrap (referred render_bmp.o).** target not created**
i assuming mf_scale_font , mf_wordwrap part of ugfx library , these files missing on setup.
are sure have dependencies installed?
sudo apt-get install libsdl2-dev:i386 build-essential gcc-multilib
as per official documentation linux ugfx wiki
you need set: cflags = sdl2-config --libs --cflags
sdl link properly.
Comments
Post a Comment