Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1791
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Hi Luigi,

forlano wrote on Mon, 05 June 2017 21:53
The 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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: reference/OpenGL crashes
Next Topic: Filtering streams for bz2
Goto Forum:
  


Current Time: Sat Aug 23 15:04:37 CEST 2025

Total time taken to generate the page: 0.03937 seconds