Build zlib

  • Download and install cmake from CMake website
  • Open CMD and and set cmake bin folder in the path (e.g assuming you installed it under C:\cmake:
set PATH=C:\cmake\bin;%PATH%
  • Ensure that your gcc is in the path:
set PATH=C:\TDM-GCC-64\bin;%PATH%
  • Download zlib and extract it
  • Run the following:
cd c:\src\zlib-1.2.11
mkdir build-release
cmake .. -DCMAKE_BUILD_TYPE=Release -G"MinGW Makefiles"
mingw32-make -j8
  • The binary files are located under c:\src\zlib-1.2.11\build-release
Edit - History - Print - Recent Changes - Search
Page last modified on February 14, 2017, at 02:12 PM