build(windows): Do not try to build minizip before zlib.#1965
build(windows): Do not try to build minizip before zlib.#1965MrSoup678 wants to merge 6 commits into
Conversation
8d741d8 to
908dd19
Compare
Signed-off-by: Sławomir Śpiewak <sosw.slawomir.spiewak@gmail.com>
|
@SlawekNowy , thanks for the PR. Would you please provide more detail about what scenarios require this fix? In other words, most Windows builds succeed already without this, so it must be something more specific about the way you are building. |
|
This is the local windows build. Fetched the repository and built it using Visual Studio generator. Both minizip and zlib are managed by opencolorio. Visual studio 2022 Community x64. |
|
Oh. I forgot to mention I run Also it seems that did not fix my problems? |
|
The build is done using |
|
I'll admit this is not standard setup, but this repo's CMakeLists does fetch deps... |
|
From parent project's discord:
|
|
Hi Slawek, I encountered the same problem on Windows. It seems that minizip-ng sometimes builds before zlib, which causes a build error, because minizip-ng depends on zlib. I was able to fix it locally by adding a dependency on Zlib in the i.e. Could you try this and see if it fixes your build? |
|
@stephen-yee-adsk Confirmed fixed, by project head. |
Fix an occasional race condition caused by zlib building before minizip-ng.
|
@SlawekNowy , thanks for the update, the code looks perfect now, but unfortunately it looks like you did not sign your latest commit? The DCO sign-off check needs to pass before we're able to merge it. Usually "git commit --amend -s" and then re-pushing will fix it. |
This reverts commit 025e7c0. Signed-off-by: MrSoup678 <sosw.slawomir.spiewak@gmail.com>
2758870 to
6fb350b
Compare
|
Closing in favor of #1986. |
No description provided.