zlib.install
zlib.install copied to clipboard
Installation failure
-- System info
OS Name: Microsoft Windows 11 Pro
OS Version: 10.0.22000 N/A Build 22000
C:\Program Files\CMake\bin\cmake.exe
cmake.exe is accessible by default.
Fetching https://zlib.net/zlib1211.zip
Downloading https://zlib.net/zlib1211.zip... done.
-- Building for: NMake Makefiles
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Error at CMakeLists.txt:4 (project):
Generator
NMake Makefiles
does not support platform specification, but platform
x64
was specified.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
See also "C:/Users/matti/zlib_tmp/zlib-1.2.11/build/CMakeFiles/CMakeOutput.log".
-- C:\Users\matti\zlib_tmp\zlib-1.2.11\build\CMakeFiles\CMakeOutput.log
The system is: Windows - 10.0.22000 - AMD64
Same problem here
Installing Visual Studio C++ might solve it ( Make sure to select Desktop Development with C++ while doing so.)