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 error on Win 10 with zlib latest ver 1.2.12 #431

Open
wants to merge 6 commits into
base: libpng16
Choose a base branch
from

Conversation

floatid
Copy link

@floatid floatid commented Sep 12, 2022

Fixes issue while bulding with winlib's mingw64 on windows 10.

Target "libpng" requests linking to directory "<zlib_build_dir>".
Targets may link only to libraries. CMake is dropping the item.

specify zlib's dir location rather than make ld.exe look in default locations.
Also use zlib lib names as created by latest 1.2.12 ver

…ectory...'

Fixes issue while bulding with winlib's mingw64 on windows 10.

Target "libpng" requests linking to directory "<zlib_build_dir>".
  Targets may link only to libraries.  CMake is dropping the item.
specify zlib's dir location rather than make ld.exe look in default locations.
Also use zlib lib names as created by latest 1.2.12 ver
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

Successfully merging this pull request may close these issues.

1 participant