Skip to content

Developer Getting Started: Linux

Cong edited this page Jan 6, 2021 · 25 revisions

Prerequisites

  • cmake
  • libsdl2-dev, libsdl2-image-dev, libsdl2-mixer-dev libgtk-3-dev
  • build-essential
  • ninja-build (optional for faster builds)
  • protoc version 3.6 (https://github.com/protocolbuffers/protobuf)
  • python3 -m pip install protobuf
  1. Clone the repo to a location (e.g. ~/cdogs-sdl) using git clone https://github.com/cxong/cdogs-sdl.git

  2. Run make.sh

  3. Run src/cdogs-sdl. You are ready to go!