8000 Can not be used as drop-in replacement for zlib with libpng · Issue #36 · barnson/miniz · GitHub
[go: up one dir, main page]

Skip to content

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

Open

Description

@GoogleCodeExporter
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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0