Supported environments:
- Windows, via MSYS2 UCRT64, MSYS2 MINGW64 or MSYS2 CLANG64. Server and Client are both supported.
- Linux, only GCC is tested. Server only.
- Install MSYS2.
- Note that MSYS2 does not come with any build tools by itself, everything must be installed manually.
- Open
MSYS2 CLANG64
from the start menu - Repeatedly run
pacman -Syuu
until all packages are up-to-date. - Install the build tools:
pacman -S --needed base-devel mingw-w64-clang-x86_64-toolchain mingw-w64-clang-x86_64-cmake mingw-w64-clang-x86_64-gtk4 mingw-w64-clang-x86_64-gtkmm-4.0
Note that only the server is supported on Linux.
Make sure you have the following packages installed:
cmake
pkg-config
orpkgconf
libglib2.0-dev
libsqlite3-dev
- and a C++ toolchain, such as
build-essential
If you're on Windows, make sure to run the following commands from the correct MSYS2 environment (CLANG64 if you followed instructions above).
mkdir build
cd build
cmake ..
ninja # or make if ninja is not installed
To run the compiled client:
cd .. # Going back to repository root
./build/client
The server can be run with: ./build/server