LVGL cannot resolve libpng and FatFS

dmitrij999
Posts: 82
Joined: Sat Mar 02, 2019 8:06 pm

LVGL cannot resolve libpng and FatFS

Postby dmitrij999 » Tue Dec 10, 2024 8:38 am

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?

ESP_haberturdeur
Posts: 2
Joined: Thu Dec 12, 2024 10:17 am

Re: LVGL cannot resolve libpng and FatFS

Postby ESP_haberturdeur » Thu Dec 12, 2024 10:21 am

Hi,
could you please post link to your repo/minimal setup, so we can better help you.
Thank you.

dmitrij999
Posts: 82
Joined: Sat Mar 02, 2019 8:06 pm

Re: LVGL cannot resolve libpng and FatFS

Postby dmitrij999 » Fri Dec 13, 2024 4:17 pm

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"

Who is online

Users browsing this forum: No registered users and 92 guests