-
-
Notifications
You must be signed in to change notification settings - Fork 438
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
drop '#ifdef HAVE_ZLIB' from mz_compat.h? #309
Comments
I don’t understand. It is not necessary to compile with zlib. You can compile with only lzma hence the HAVE_ZLIB indicates that you want to use zlib. |
well, maybe I am missing something.. I wanted to say that I thought that I'm not sure, porting to this minizip implementation is not trivial, is it supposed to be? Maybe we could make the move easier. So far I reported psi-im/psi/issues/388 and assimp/assimp/issues/2121. |
I see. What are the other constants? If you use CMAKE to compile the project, it automatically adds everything you need. Are you just dropping in the files? I don't know if there is a way to just make it work for those other constants. |
In 2.5.2 release, #include "zlib.h" was removed from mz_compat.h. Maybe this is a case of using an older version of the library? |
We tried to build against
One project required about a dozen of them. And even after back-porting those, I wasn't able to build (some methods missing, etc.). I'll give it another run as soon as I have some time and update this ticket; but some migration docs/guidance for existing projects would be awesome. |
Could you give a try against 2.5.2 as recommended by Nathan? The history of this file shows there is a continuous effort to solve compatibility issues: https://github.com/nmoinvaz/minizip/commits/master/mz_compat.h |
I have added some upgrade info also to: |
Commit 41331dd added:
Which complicates compat work; simply -> those who want to replace zlib's header by <mz_compat.h> also have to define
HAVE_ZLIB
.The text was updated successfully, but these errors were encountered: