Home » Developing U++ » U++ Developers corner » Linking standard libraries
Re: Linking standard libraries [message #36900 is a reply to message #35293] |
Wed, 18 July 2012 21:35   |
|
Hi everyone
I know it took me a lot of time, but I finally did it Tonight I committed a new versions of jpg, png and tif plugins into sandbox for testing. I don't have M$ windows, so I only tested with MSC9 and MINGW in wine, so please test on real win32 machines If you agree with what I did so far, I can convert other plugins as well to follow the same scheme.
The main features:
Each plugin has a shell script that can be used to upgrade the package when new upstream version of the library is released. It should require only minor tweaks on each upgrade, thus simplifying things a lot.
On win32, the plugins are always compiled and statically linked. On posix they are by default linked dynamically to system version, but static linking can be forced by using .EMBED_JPG, .EMBED_PNG and/or .EMBED_TIF flags.
Current versions of libraries used are:
libjpeg-turbo 1.2.0
tiff 4.0.1
libpng 1.5.10
(I know they are already out of date, but they were bleeding edge when I first started working on this )
As far as I could test the packages work, the only issue I know about is a memory leak when compiling with MSC, which I didn't locate yet.
Let me know your opinions, test, send patches, etc... Thanks.
Best regards,
Honza
|
|
|
Goto Forum:
Current Time: Sun Jun 22 18:28:50 CEST 2025
Total time taken to generate the page: 0.04212 seconds
|