Hello everyone!
I'm trying to make LVGL to show pictures from SD-card, and I need 2 libraries: libpng and FatFS.
LVGL (9.2.2) and espressif/libpng (^1.6.39~1) are managed components by idf_component, and FatFS comes from ESP-IDF.
When I activate option "PNG decoder (libpng) library" in 3rd-party libs of LVGL, the buidl fails due to LVGL cannot resolve <png.h>, which is in espressif/libpng.
And when I activate "File system on top of FatFS", LVGL cannot resolve "ff.h".
How to resolve these dependencies?
LVGL cannot resolve libpng and FatFS
-
- Posts: 2
- Joined: Thu Dec 12, 2024 10:17 am
Re: LVGL cannot resolve libpng and FatFS
Hi,
could you please post link to your repo/minimal setup, so we can better help you.
Thank you.
could you please post link to your repo/minimal setup, so we can better help you.
Thank you.
-
- Posts: 82
- Joined: Sat Mar 02, 2019 8:06 pm
Re: LVGL cannot resolve libpng and FatFS
I figured out how to enable PNG images support and get images from SD card (that was my final goal).
I refused from use of external libpng and enabled internal PNG library embedded to LVGL.
As for reading images from external SD card, I set parameter "File system on top of STDIO"
I refused from use of external libpng and enabled internal PNG library embedded to LVGL.
As for reading images from external SD card, I set parameter "File system on top of STDIO"
Who is online
Users browsing this forum: Corand and 76 guests