This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

GUI_PNG_Draw: seems like not compiled into library

Hi

Anyone using GUI_PNG_Draw (or _DrawEx)? I am successfully using the BMP, JPG versions but linker fails to find the PNG version. I have checked and it is prototyped in GUI.h.

Is there a different library or option I need to switch on?

Thanks

Parents
  • Hello Janos,
    did you add all files from the png library to your project?
    The function GUI_PNG_DrawEx() is part of this, and it looks like it is just not getting compiled in your project.

    Please be aware that you need to increase your emwin memory according to 9.4 "Displaying bitmap files" -> "PNG file support" -> "Memory usage".

    Regards,
    Matthias

Reply
  • Hello Janos,
    did you add all files from the png library to your project?
    The function GUI_PNG_DrawEx() is part of this, and it looks like it is just not getting compiled in your project.

    Please be aware that you need to increase your emwin memory according to 9.4 "Displaying bitmap files" -> "PNG file support" -> "Memory usage".

    Regards,
    Matthias

Children