Skip to content

Instantly share code, notes, and snippets.

@CynicRus
Last active May 9, 2025 16:27
Show Gist options
  • Select an option

  • Save CynicRus/edd4e04c1fecb97a259e888baf380edd to your computer and use it in GitHub Desktop.

Select an option

Save CynicRus/edd4e04c1fecb97a259e888baf380edd to your computer and use it in GitHub Desktop.
simple zlib install for Mingw64 for Windows
1) Download source code from https://github.com/madler/zlib/
2) Unpack
3) Using powershell or cmd and navigate to the unpacked source folder
4) mkdir build
5) cd build
6) cmake -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX=C:/mingw64 ..
7) mingw32-make
8) mingw32-make install
same for liblzma
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment