LVGL Raspberry Pi 4

Description

I am trying to compile LVGL with a Raspberry Pi 4. I know there are some other tutorials and questions similar, but I have not been able to successfully complete them.

It seems like this should work out of the box and I am unsure what I am doing wrong. I am following the instructions from the website. I cloned the lvgl git repository, made the lv_conf.h file and my main.c file, tried to include lvgl.h and just simply call the lv_init(). However, I am getting the following error of undefined reference to lv_init.

I am not quite sure why this would be the case as lvgl.h includes all the files necessary it seems to call the lvgl functions in your own program. Lv_init.c is one of the files included in lvgl.h. Any help would be greatly appreciated. Thanks.

Screenshot and/or video