Closed chliii closed 4 years ago
run on the CLION for ESP32
As stated in the README you need to use the feat/new-fs-api
branch of LVGL with the GIF decoder.
And,did I set the path is true ? lv_obj_t *img = lv_gif_create_from_file(lv_scr_act(), "p/ship.gif"); lv_obj_align(img, NULL, LV_ALIGN_CENTER, 0, 0);
the function "ftruncate" cant compile on the ESP32.
int _EXFUN(ftruncate, (int __fd, off_t length)); int _EXFUN(truncate, (const char *, off_t length));
Hm, if ftruncate
is a standard C function however it's important to support ESP32. If you remove this function the rest is working?
Hi, if I remove this function the rest is working,but,the screen only show No data.
My WARNING and the screen
How do you set the path of the gif?
Please enable the logging of LVGL to see what's going on.