Skip to content

UOX3DevTeam/zlib

Repository files navigation

zlib-1.2.11 configured for UOX3

Herein are configured a minimum set of files required to compile a static library of zlib on Windows, Linux/FreeBSD and macOS, for linking with Ultima Offline eXperiment 3 and utilized to access Ultima Online data files and packets. Build setups can be found in the make/ folder, but extraneous build files and folders have been removed from this configuration. For the full, official zlib project complete with compilation solutions for other platforms and third party contributions, visit https://github.com/madler/zlib

For detailed instructions on compiling and using this zlib configuration with UOX3, check out https://github.com/UOX3DevTeam/UOX3. Alternatively, follow the below instructions at your own peril:

Windows

Visual Studio 2017/2022

  1. Open zlib.sln in the make/[VS2017/VS2022]/ folder
  2. Choose Release/Debug build type from dropdown menu
  3. Go Build -> Build zlib-static

CMake

  1. Open Developer Command Prompt for VS2017 or Developer Powershell for VS2022
  2. Traverse to the make/cmake folder, and enter the following commands:
  3. mkdir build
  4. cd build
  5. cmake .. -DCMAKE_BUILD_TYPE=Release
  6. cmake --build . --config Release

Linux/FreeBSD/macOS

CMake

  1. Open a new Terminal
  2. Traverse to the make/cmake folder, and enter the following commands:
  3. mkdir build
  4. cd build
  5. cmake .. -DCMAKE_BUILD_TYPE=Release (Linux/FreeBSD)
  6. cmake .. -DCMAKE_BUILD_TYPE=Release -G"Unix Makefiles" (macOS)
  7. cmake --build . --config Release

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published