ESP-BOX: Enabling LVGL Lottie Animations
Posted: Wed Jan 12, 2022 6:47 pm
Hi,
I have been able to enable lottie animations in a hacky fashion, by directly building the Rlottie library as a component to a project and display rlottie animations per https://github.com/lvgl/lv_lib_rlottie/issues/3
However, this method is ugly, inefficient and not scalable.
Instead, I would like to rely upon an installed rlottie library per https://docs.lvgl.io/8.1/libs/rlottie.h ... ld-rlottie
In esp-idf, how would I go about adding the rlottie library?
Per LVGL documentation, a -lrlottie flag is added, but I'm not sure how to add the same to an idf project. Notably, the rlottie library builds out to a .so package, that I'm unsure if its even capable of loading on the idf.
Any help/direction would be much appreciated!
I have been able to enable lottie animations in a hacky fashion, by directly building the Rlottie library as a component to a project and display rlottie animations per https://github.com/lvgl/lv_lib_rlottie/issues/3
However, this method is ugly, inefficient and not scalable.
Instead, I would like to rely upon an installed rlottie library per https://docs.lvgl.io/8.1/libs/rlottie.h ... ld-rlottie
In esp-idf, how would I go about adding the rlottie library?
Per LVGL documentation, a -lrlottie flag is added, but I'm not sure how to add the same to an idf project. Notably, the rlottie library builds out to a .so package, that I'm unsure if its even capable of loading on the idf.
Any help/direction would be much appreciated!