Back to homepage
List of programs and libraries for building and/or running Hedgewars
Updated Thu, 10 Oct 2019 20:36:35 +0100 by Wuzzy


Dependencies for fetching latest source code

If you want to get the source code from the mercurial repository, you'll need these.

Name Homepage

Build-only dependencies

You need these packages to build Hedgewars, but not afterwards.

Name Version (Latest HW release) Version (Unstable) Homepage
CMake 2.6 2.6

Core dependencies

You need these programs and libraries to build and run Hedgewars. Note: You will need the development headers of the libraries for building only.

Name Version (Latest HW release) Version (Unstable) Homepage
Qt 5.0.0 5.0.0
SDL 2.0 2.0
SDL_net 2.0 2.0
SDL_mixer 2.0 2.0
SDL_image 2.0 2.0
SDL_TTF 2.0 2.0
FPC (Free Pascal Compiler) 2.2.4 2.2.4
PhysFS 3.0.0 3.0.0

Bundled dependencies

You can build/run Hedgewars using these packages from your system or use those that come with the Hedgewars source:

Name Version (Latest HW release) Version (Unstable) Homepage
Lua 5.1 (exactly) 5.1 (exactly)

Bundled Fonts:

Name Homepage Comment
DejaVu Sans Bold
Zen Hei From the WenQuanYi project. Font is internally known as “wgy-zenhei”

Optional dependencies

You don’t need to install these packages to build Hedgewars, but if you don’t, some features will be missing.

For PNG screenshots

Name Version Homepage
libpng 1.2

Without this, all screenshots will be bitmaps (BMP) instead.

Video recording

For the video recorder, you need either FFmpeg or Libav. And FreeGLUT.

Name Version Homepage
FFmpeg ???
Libav ???
FreeGLUT 3.0

Note: See also VideoRecorder for detailed instructions to build the video recorder.


The server is built seperately. If you want to build the server you need a couple of Haskell-related packages. First you need GHC:
Name Version Homepage
GHC (Glasgow Haskell Compiler) 6.10

Then you need a couple of Haskell software. Please refer to for a list.