This is an old revision of the document!
NOTE - this guide is still in the early development and testing phase. Use at your own risk!
Table of Contents:
Follow these steps to compile the Crossfire client on macOS.
Ensure that the Xcode Command Line Tools are installed, as they provide essential compilers and build tools.
xcode-select --install
Homebrew is a package manager for macOS that simplifies the installation of software.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
The Crossfire client depends on several libraries. Use Homebrew to install them:
brew install gtk+3 brew install libpng brew install gettext brew install cmake
Download the source code from the official repository:
git clone https://git.code.sf.net/p/crossfire/crossfire-client
Change (cd) to the client source code directory:
cd crossfire-client
Set up the build environment using CMake:
mkdir build cd build cmake ..
Build the client using the `make` command:
make
After a successful build, install the client:
sudo make install
Launch the Crossfire client:
crossfire-client-gtk2
Visit Crossfire Client macOS Build page for the latest .dmg release of the Client.