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

doesn't build with libpng15 or libpng16 #2

Open
nieder opened this issue Jun 25, 2013 · 0 comments
Open

doesn't build with libpng15 or libpng16 #2

nieder opened this issue Jun 25, 2013 · 0 comments

Comments

@nieder
Copy link

nieder commented Jun 25, 2013

src/rwpng.c doesn't build when using libpng15 or libpng16 because the macro ZLIB_VERSION is not found. This is because png.h in these newer versions no longer #include <zlib.h> themselves. Adding "#include <zlib.h>" to src/rwpng.c directly allows the build to finish and pngnq to work.

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

No branches or pull requests

1 participant