My Question: How can I create the binaries for zlib 1.2.11 with Visual Studio 2019?
Information:
The binaries are used in a c++ v142 project.
I specially need the zlibwapi.lib, zlibwapi.dll and all required headers (zip.h, zlib.h, zconf.h, iowin32.h, ioapi.h) needed for the two components
I tried to write this question as compact as possible. Please inform me if I could provide more information.
What I already tried:
1.) I know there VS solutions exist which are supported by the community.
But there are only .sln´s for vs15 and below available.
And I cannot create the binaries without having to modify the source code.
2.) Tried to use cmake and the CMakeLists.txt to generate the example product.
Then I imported these binaries in my project.
But I get linker errors when doing so. I think the issues with this approach is that an
“extern “C”” decoration is not applied when I create the files.
3.) Tried to use vspk but I get the zlib1.dll instead of the zlibwapi.dll.
And the zip.h Header is missing.
Thank you very much in advance!
Resources: Homepage: https://zlib.net/ (downloads can be found there. I dont want to provide a link to a mirror.)