Building zlib and bzip2 on Windows

Download and extract the correct versions of zlib and bzip2:

To build zlib, run the following commands after extracting the source code:

$ make -f win32/Makefile.gcc INCLUDE_PATH=/mingw/include LIBRARY_PATH=/c/met.no/lib all install
$ rm /c/met.no/lib/libzdll.a
$ cp README /c/met.no/copyright/zlib.txt

To build bzip2, run the following commands after extracting the source code:

$ make
$ cp libbz2.a /c/met.no/lib
$ cp LICENSE /c/met.no/copyright/bzip2.txt
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • diana/windows/building/compress.txt
  • Last modified: 2022-05-31 09:29:31
  • (external edit)