Using the lvgl display library on Wio-terminal

I was trying to develop an application that works on Wio-terminal for lvgl library.
I tried the lvgl port of the Seeed studio that examples works on wio terminal but my custom examples do not work.
Also the lvgl has some guidelines on how to use it with Arduino, I tried that too but that did not work