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

Build issues with VS2017, libpng 1.2.35, zlib 1.2.8 [Solved] #250

Open
hekkup opened this issue Jul 30, 2018 · 1 comment
Open

Build issues with VS2017, libpng 1.2.35, zlib 1.2.8 [Solved] #250

hekkup opened this issue Jul 30, 2018 · 1 comment

Comments

@hekkup
Copy link

hekkup commented Jul 30, 2018

When building libpng with VS2017, there are two warnings which prevent the build to succeed: C5045 Spectre mitigation and C4464 relative paths. I used libpng 1.6.35 and zlib 1.2.8.

Solution:
Find <DisableSpecificWarnings> row from file ./projects/vstudio/zlib.props and add the warning numbers 4464 and 5045 to the list.
<DisableSpecificWarnings>4255;4464;4668;4710;4711;4746;4820;4996;5045</DisableSpecificWarnings>

@NatWeiss
Copy link

NatWeiss commented Jul 7, 2020

Thanks, this worked for me too. Had to add 4061 to the disabled warnings as well (as of Visual Studio 2019).

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

2 participants