Skip to content

Build error on Win 10 with zlib latest ver 1.2.12#431

Open
floatid wants to merge 6 commits intopnggroup:libpng16from
floatid:libpng16
Open

Build error on Win 10 with zlib latest ver 1.2.12#431
floatid wants to merge 6 commits intopnggroup:libpng16from
floatid:libpng16

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