Getting undefined symbols when porting from v6.0 to v6.0.2

Linker gives the following errors:

Undefined symbol lv_debug_check_null (referred from lv_font_fmt_txt.o).
Undefined symbol lv_debug_log_error (referred from lv_font_fmt_txt.o).
Undefined symbol lv_debug_check_style (referred from lv_obj.o).
Undefined symbol lv_vsnprintf (referred from lv_label.o).

What MCU/Processor/Board and compiler are you using?

What do you experience?

My code compiles when using version 6.0. But when I compile with version 6.0.2, I get undefined symbols.

What do you expect?

I expect the code to compile since the undefined symbols are being called from within the lvgl library code. I don’t expect that the library is broken in this way so I expect that there is something I need to update something when porting from v6.0 to v6.0.2.

Code to reproduce

I don’t think a code snippet is relevant here since it is a linker error having to do with functions declared in the lvgl library header files but not defined anywhere in the source code.

Use the ```c and ``` tags to format your code:

/*You code here*/

Screenshot and/or video

If possible, add screenshots and/or videos about the current issue.

Make sure all source files within the LittlevGL directory have been added to your Makefile or equivalent file list.

1 Like

Ah, yes, thank you! Completely forgot that there might be new files in the new version.