Hi all, I’m on a cmake lvgl8.2 project, and I can’t display the png image, but my compilation doesn’t have any errors.
I should have compiled the lib_png library as well, please take a look at my code. Either absolute or root directory is used, it cannot be displayed. Already initialized in ui.c lv_png_init();
The platform I’m running on is cotex-A7
it will be very helpful if you can translate and repost in English!
sorry!Now I have translated into English,can you help me?
Why do you use lv_png_init()
call in user files? You should put #define LV_USE_PNG 1
in your lv_conf.h. All necessary calls will be included in the program from library files. Maybe there are some problems with compiled lib_png library. How did you compile it ?