Lv_obj_get_x_aligned is not decleared in library but called in ui_helper.c by SquarelineStudio exported code

want to run a basic code.
exported basic code from squareline studio.
/ui_helpers.c: In function ‘_ui_anim_callback_get_x’:

E:/LVGL_PROJECTS/lvgl_v8_esp32-main/lvgl_v8_esp32-main/main/ui/ui_helpers.c:168:11: error: implicit declaration of function ‘lv_obj_get_x_aligned’; did you mean ‘lv_obj_set_align’? [-Werror=implicit-function-declaration]
return lv_obj_get_x_aligned(usr->target);


  • Operating system:


It’s strange as v8.2 also have this functions. What if you change the LVGL version to v8.3.4?