Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not be used as drop-in replacement for zlib with libpng #36

Open
GoogleCodeExporter opened this issue Apr 26, 2015 · 0 comments
Open

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Make libpng use miniz instead of zlib, by compiling miniz as a static 
library, modifying the libpng makefile to use the compiled library instead of 
zlib, and creating a header file out of miniz.c, to impersonate the original 
zlib.h.

What is the expected output? What do you see instead?
libpng can't be compiled - linker complains about missing inflateReset and 
inflateReset2.


What version of the product are you using? On what operating system?
miniz v115_r4 and libpng-1.6.12 cross-compiling for a custom SuperH target with 
gcc 4.8.2. The cross-compiling setup is tested and works fine.


Please provide any additional information below.

Seems to be a problem similar to issue #16, except here it's not a macro that's 
missing, but two zlib functions that have no equivalents on miniz.
This is especially disappointing because the project homepage claims it is 
tested as a drop-in replacement for zlib, and mentions libpng as an example.

Original issue reported on code.google.com by gbl0...@gmail.com on 13 Aug 2014 at 2:27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant