Home » U++ Library support » U++ Library : Other (not classified elsewhere) » libpng on linux
Re: libpng on linux [message #48211 is a reply to message #48209] |
Tue, 06 June 2017 06:45   |
|
Hi Luigi,
forlano wrote on Mon, 05 June 2017 21:53The question is: can I solve my problem putting the source code of the new libpng16 within the folder
/upp/uppsrc/plugin/png/lib and compile it?
Are there problems with the current plugin for this library?
Short answer: No, upgrading the plugin won't help.
Long answer: plugin/png is only used on windows. On other platforms it is linked against the libpng installed in the system. So if you want to support clients with newer libpng, you need to upgrade the system on which you build your binaries.
Alternatively, you can use flag STATIC_PNG. This will force the plugin/png to use the contained sources and link them statically. So it will use the older version (1.2.57), but there will be no runtime dependence on libpng and the binary should run anywhere, regardless of the version of libpng the client has installed.
Best regards,
Honza
|
|
|
Goto Forum:
Current Time: Sat Aug 23 15:04:37 CEST 2025
Total time taken to generate the page: 0.03937 seconds
|