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!
ESP-BOX: Enabling LVGL Lottie Animations
-
- Posts: 9764
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP-BOX: Enabling LVGL Lottie Animations
You're working in a non-Unix, non-shared-library compatible environment on the ESP32... there is no such concept as 'installed library'. The way you did it (package rlottie into a separate component) is the proper one.
Who is online
Users browsing this forum: No registered users and 8 guests