EdgeLine :invalid conversion from 'lv_anim_user_data_t 'lv_obj_t*

Hi, I’m trying to fill out a simple GUI of tests exported from EdgeLine, but I still get a PlatformIO error:

invalid conversion from ‘lv_anim_user_data_t {aka void*}’ to ‘lv_obj_t* {aka _lv_obj_t*}’ [-fpermissive];

For all functions:

lv_obj_set_y(a->user_data, v);

and also:

void ChangeScreen(lv_obj_t*, int, int, int)’:
invalid conversion from ‘int’ to ‘lv_scr_load_anim_t’ [-fpermissive]

from:

void ChangeScreen(lv_obj_t *target, int fademode, int spd, int delay) {

lv_scr_load_anim(target, fademode, spd, delay, false);

}

Could you help me?

MCU: ESP32
Framework: Arduino
EdgeLine 0.3.1 on Windows 10
PlatformIO on VSCode
LVGL: 7.11.0

Thanks, we are checking it.

1 Like

Is there any news?

You just put (lv_obj_t *) in front of a->user_data.

1 Like