Open TheAnton205 opened 3 years ago
Additional information:
declaration is incompatible with "lv_res_t decoder_info(struct _lv_img_decoder_t *decoder, const void *src, lv_img_header_t *header)" (declared at line 69)
Do you use lvgl v7? If so please use the release/v7 branch of this lib.
If the latest version is v7, then yes I have it. Additionally, I attempted to use the version from June, yet to no avail.
Additionally, I attempted to use the version from June, yet to no avail.
"June" version of LVGL or lv_lib_png? Have you tried with the release/v8 branc of lv_lib_png as I suggested above.
Bro,I'm solving this problem, too.Have you solved it?
Error still persists. I have no clue on how to decode the png other than that.
@tobiasraak Which LVGL version do you use? And how do you use the PNG image?
@kisvegabor I use the latest version v8.3.3. I store the PNG on an esp32 flash storage. But it is not possible for me to access this png. In fact, all settings for a filesystem in the lv_conf.h need a drive letter. Since I use SPIFFS I do not have a drive letter, I am not able to parse the png. Do you have any example for this scenario? I was not able to get it running.
@kisvegabor I really need help espicially with the drive letter. How do I create a drive letter with any of the supported filesystems that are listetd in the lv_conf.h? I can assign a drive number with FATFS for instance but there is no way (and I could not find any example) on how to create a filesystem image on the esp32 with a drive letter. Could you please provide some help to me with that? I would really appreciate this.
For ESP all you need to do is enabling LV_USE_FS_STDIO
with any letter, e.g. A
. After that you need to prefix the SPIFFS with A:
.
E.g. A:/spiffs/tmp/myfile.png
.
I suggest trying it out with lv_fs_open()
first.
Attempted to build using pio and I run into this error: