Compilation Error in IAR for STM32F769

Hi All

I am new to LVGL and I am currently porting the LVGL to the IAR platform for my STM32F769 development.

My LVLG Version is 9.0.0. All of the source code under the “src” folders can be ported and compiled without any issue except the “lv_anim.c”.

The compiler reported the following error

Blockquote
Error[Pe167]: argument of type “lv_anim_exec_xcb_t” is incompatible with parameter of type "void *

As checked, this error is produced in the following function call

Blockquote
bool lv_anim_delete(void * var, lv_anim_exec_xcb_t exec_cb)
{
return delete_core(var, exec_cb, false);
}

May I ask if anyone has an idea what’s wrong with that and how can I fix this issue?