I have emWIN version 5.38 from NXP. I saw some earlier post about this but can't find them now. How can I fix this?
undefined reference to `IMAGE_SetPNG'
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
-
-
Hi,
The prototype of this function is located in IMAGE.h, but the implementation is only available if you download the PNG package. As long as the function is not referenced it shouldn't be a problem. Per default this function is not referenced from emWin. Maybe it gets used by a demo made by NXP?
Download the PNG package from the link below and add it to your project (the folder with the version matching to your emWin version):
segger.com/downloads/emwin/emWin_png
Regards,
SvenPlease read the forum rules before posting.
Keep in mind, this is *not* a support forum.
Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
Should you be entitled to support you can contact us via our support system: segger.com/ticket/
Or you can contact us via e-mail. -
Thanks for the response. I was pulling in png images using the guibuilder. the png package fixed the error. Why is the PNG not included by default? Is it not recommended or not popular?
-
Share
- Facebook 0
- Twitter 0
- Google Plus 0
- Reddit 0