-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Please fix 1.2.12 compile #631
Comments
I have the same problem in VS 2012 and VS 2019. First attempt fails due to missing bat file that is listed as a pre-build event. After removing the bat file, it gives a large number of errors. I have attached the output from VS 2012. |
@topwizprogramming See #624 and #620 for the proposed fixes. |
I want a native fix and not workaround solutions. |
Summary
Details
|
x86 build errorI also noticed if I build on MSVC 2022 for x86 platform, MSVC generates errors on these functions: C2708 -
|
Thank you with the crc32.c edits I was able to compile zlibwapi.dll and zlib.dll without errors in RleaseWithoutAsm mode. |
I applied the above changes in VS 2019 and I am getting one error on Win32 compile: |
I have Visual Studio 2012, 2017, 2019, and 2022 so once the code is fixed, I can upload solution/project files for them. I've removed Itanium from them. |
Here is fixed master. I have applied all the mentioned workarounds for Win32 ReleaseWithoutAsm build mode. https://www.mediafire.com/file/jy55bqeh5kosjly/zlib-master.zip/file |
I created solutions/projects for Visual Studio 2017, 2019, and 2022. I removed the Itanium platform. I also changed the Runtime Library option to /MT so that the runtime will be built-in. |
not work |
Can someone upload zlib1.dll for 1.2.12 version built using VS2010. |
For me zlibwapi.dll only getting generated. How to build zlib1.dll? |
With Visual Studio 2012, after making the suggested workaround in |
Per @tbeu 's assertion, I will close this issue. |
Hi Mr. Adler,
I can't build zlibwapi.dll from your new version 1.2.12 because of errors during the compiling process using Visual Studio v17 2022. The previous version 1.2.11 worked.
I see many people have this problem. Can you please make a new release?
Thank you so much.
The text was updated successfully, but these errors were encountered: