-
Notifications
You must be signed in to change notification settings - Fork 57
Building with Debian or Ubuntu
Andreas edited this page Feb 28, 2023
·
8 revisions
Goal of this tutorial is to get a developer setup and run wargus without installation.
Building on Linux Building on macOS
clone the wargus source code and change to this folder
cmake CMakeLists.txt -DSTRATAGUS=/path/to/binary/stratagus -DSTRATAGUS_INCLUDE_DIR="/path/to/folder/stratagus/gameheaders"
- in case you activated stratagus debug options -DCMAKE_BUILD_TYPE=Debug please use stratagus-dbg binary
- insert in -DSTRATAGUS_INCLUDE_DIR the correct folder to your stratagus gameheaders
make
- change to wargus folder
./wargus
- follow the dialog process and point to your Warcraft CD or folder
- this takes some minutes
- change to wargus folder
/path/to/binary/stratagus -d /path/to/wargus/data
- the default directory for data is $HOME/.stratagus/data.Wargus