Installation
Wizard Duel requires several system libraries and build tools to compile and run successfully.System requirements
Operating system
- Linux (tested on X11-based systems)
- Windows and macOS may require additional configuration
Dependencies
The game requires the following libraries:All dependencies are linked during compilation. See the Makefile for the complete list.
| Library | Purpose |
|---|---|
| Raylib | 2D graphics rendering, windowing, input handling, and audio |
| ENet | Reliable UDP networking for multiplayer |
| OpenGL | Graphics acceleration |
| pthread | Threading support |
| X11 | Linux windowing system |
dl, rt, m (math)
Installation steps
Install Raylib
Install Raylib for graphics and game framework:Or build from source following the official Raylib installation guide.
Install ENet
Install ENet for multiplayer networking:This provides the
<enet/enet.h> header and networking library.Install graphics libraries
Install OpenGL and X11 development libraries:These are required for rendering on Linux systems.
Compilation flags
The Makefile uses the following compilation settings:- Wall, Wextra: Enable comprehensive compiler warnings
- std=c++17: Use C++17 language standard
- All libraries are dynamically linked