Skip to content

Instantly share code, notes, and snippets.

@llamapope
Last active December 27, 2016 06:51
Show Gist options
  • Save llamapope/551937ed3adb74f1220d4dfff4c7e699 to your computer and use it in GitHub Desktop.
Save llamapope/551937ed3adb74f1220d4dfff4c7e699 to your computer and use it in GitHub Desktop.
Compiling Battle for Wesnoth on Ubuntu 16.04

install build dependencies

sudo apt install cmake libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev libsdl2-net-dev libvorbis-dev libboost-all-dev libpango1.0-dev

clone repo

git clone https://github.com/wesnoth/wesnoth.git

first build

mkdir wesnoth/build && cd wesnoth/build
cmake ..
make

launch program

./wesnoth

make changes to code (or do a git pull), then in the build folder created earlier run make again

make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment