Summary
Build fails on Windows: minizip-ng CustomBuild exits with code 1 (MSB8066)
Interface type
Command-line interface (CLI)
Application version
v1.6.0
Operating system
Windows 11
Hardware configuration
System
Intel Core Ultra 7 155U with 40GB RAM
Steps to reproduce
Environment
OS | Windows 10/11 x64
Visual Studio | 2022 Community (v17)
MSBuild | v170
CMake | (bundled with VS)
Branch | main
Commit | latest
Steps to reproduce
git clone --recurse-submodules https://github.com/mlcommons/mlperf_client.git
cd mlperf_client
mkdir build
cmake -G "Visual Studio 17 2022" -A x64 -S . -B "build"
cd build
msbuild mlperf.sln -p:Configuration=Release
Error
The build fails consistently during the minizip-ng dependency download/build step with the following error:
Build FAILED.
"...\build\mlperf.sln" (default target) (1) ->
"...\build\ALL_BUILD.vcxproj.metaproj" (default target) (2) ->
"...\build\src\CIL\CIL.vcxproj.metaproj" (default target) (3) ->
"...\build\src\CIL\minizip-ng.vcxproj.metaproj" (default target) (31) ->
"...\build\src\CIL\minizip-ng.vcxproj" (default target) (32) ->
(CustomBuild target) ->
Microsoft.CppCommon.targets(254,5): error MSB8066: Custom build for
'...minizip-ng-download.rule;...minizip-ng-update.rule;
...minizip-ng-patch.rule;...minizip-ng-configure.rule;
...minizip-ng-build.rule;...minizip-ng-install.rule;
...minizip-ng-complete.rule;...minizip-ng.rule;
...\src\CIL\CMakeLists.txt'
exited with code 1.
0 Warning(s)
1 Error(s)
Time Elapsed 00:06:21.50
Notes
- The error occurs every time without exception, across multiple clean attempts.
- The build runs for ~6 minutes before failing, suggesting the download step may be partially completing or timing out.
- No more detailed error message is surfaced —
MSB8066 with exit code 1 is the only diagnostic shown.
- This may be related to network access during build time (CMake's
ExternalProject_Add / FetchContent for minizip-ng), a missing dependency, or a CMake configuration issue on Windows.
Questions
- Is there a known workaround to pre-download or vendor
minizip-ng locally before building?
- Is there a way to get more verbose output from the minizip-ng build step to diagnose the root cause?
- Are there any undocumented prerequisites for Windows builds (e.g. specific Windows SDK version, Perl, NASM, or other tools)?
Additional context
The README_BUILD.md does not mention any prerequisites beyond Visual Studio 2022 and CMake for the Windows CLI build. A more detailed prerequisites section or a known-issues note for this step would help future contributors.
Expected behavior
No response
Logs or screenshots
Contact information (optional)
No response
Summary
Build fails on Windows: minizip-ng CustomBuild exits with code 1 (MSB8066)
Interface type
Command-line interface (CLI)
Application version
v1.6.0
Operating system
Windows 11
Hardware configuration
System
Intel Core Ultra 7 155U with 40GB RAM
Steps to reproduce
Environment
OS | Windows 10/11 x64
Visual Studio | 2022 Community (v17)
MSBuild | v170
CMake | (bundled with VS)
Branch |
mainCommit | latest
Steps to reproduce
Error
The build fails consistently during the
minizip-ngdependency download/build step with the following error:Notes
MSB8066with exit code1is the only diagnostic shown.ExternalProject_Add/ FetchContent for minizip-ng), a missing dependency, or a CMake configuration issue on Windows.Questions
minizip-nglocally before building?Additional context
The
README_BUILD.mddoes not mention any prerequisites beyond Visual Studio 2022 and CMake for the Windows CLI build. A more detailed prerequisites section or a known-issues note for this step would help future contributors.Expected behavior
No response
Logs or screenshots
Contact information (optional)
No response