A free multiplayer action game where you control small and nimble humanoids
C++ C CMake Objective-C++ PHP NSIS Other
isilkor Figure out whether a warning/error was #include'd or #appendto'd
We already notified the user on warning/error that the mistake
happened in a different script than the one we were currently
compiing. It's not too difficult to figure out whether that other
script was added due to an #include or an #appendto directive, so we
can just show the user which one it is.

We also don't show warnings in #include'd scripts anymore, since
they get compiled individually anyway and all warnings will show up
there. This way we don't duplicate warnings several times.
Latest commit f598808 Jul 24, 2018
Failed to load latest commit information.
cmake Make cross-compiling work with GCC 6+ Feb 25, 2018
docs Warn when using variables outside of their block Jul 23, 2018
include/c4script Add --check/-c parameter to c4script for syntax checking Dec 23, 2016
licenses Use PCG as random number generator Apr 20, 2016
masterserver Revert engine-side league localization Apr 27, 2014
planet Save scenario: Disable all warnings in auto-generated file Jul 24, 2018
src Figure out whether a warning/error was #include'd or #appendto'd Jul 24, 2018
tests Warn when using variables outside of their block Jul 23, 2018
thirdparty BLAKE2: Fall back to plain C implementation on non-amd64 platforms Mar 21, 2018
tools Deploy Qt libraries; fix platforms NSIS installer include Feb 13, 2018
.git_archival CMake: Add date of commit to logfile Apr 12, 2017
.gitattributes Hard-code line endings of shell scripts to LF Feb 23, 2015
.gitignore docs: Implement client-side search Mar 23, 2018
.travis.yml Remove separate c4value_test Feb 21, 2017
CMakeLists.txt CMake: add C4GROUP_TOOL_ONLY Apr 21, 2018
COPYING Update all copyright notices for 2016 Apr 5, 2016
Credits.txt Credits: Fix Kevin Zheng's name Feb 17, 2018
README Update dependency list in README Nov 10, 2016
TRADEMARK Update TRADEMARK and add trademark reference to credits (#1370) Aug 9, 2015
Version.txt Bump version to 9.0 alpha Jan 31, 2018
config.h.cmake Autodetect "/proc/self/exe"-equivalent on FreeBSD (#1999) Feb 17, 2018
openclonk.appdata.xml Add a Linux AppData file. Aug 27, 2016
openclonk.desktop Update openclonk.desktop Feb 12, 2018
scriptdefinitionsources.txt scriptdefinitionsources.txt: list of source files that contain defini… May 1, 2012


You should be able to build OpenClonk with any C++ compiler that supports
ISO C++14. That said, on Windows, we recommend using Microsoft Visual C++
2015 or higher; the Express edition will be sufficient. On Linux, you will
be fine with GNU g++ 4.9 or later. Apple users should use a clang-based
XCode version.

To generate project files for your chosen build system, you will also have to
install CMake from http://www.cmake.org/.

Additionally, OpenClonk depends on a number of third-party libraries:
  - zlib (http://zlib.net/)
  - libpng (http://www.libpng.org/pub/png/libpng.html)
  - libjpeg-turbo (http://sourceforge.net/projects/libjpeg-turbo/files/)
  - FreeType (http://www.freetype.org/)
  - The OpenGL Extension Wrangler Library (http://glew.sourceforge.net/)
  - FreeALUT (https://github.com/vancegroup/freealut)
  - libogg and libvorbis (https://www.xiph.org/downloads/)
  - Qt >= 5.7 (https://www.qt.io/download-open-source/)

OS X Specific
OpenClonk supports OS X versions 10.8 "Mountain Lion" and later.
If you are using brew (https://github.com/mxcl/homebrew) or MacPorts
(http://www.macports.org/), the packages you'll have to install are:
    libjpeg, libpng, freetype, glew, libogg, libvorbis

Linux Specific
For building OpenClonk on Linux, you need the following libraries in addition
to the ones listed above:
  - SDL 2.0 (https://www.libsdl.org/download-2.0.php)
  - libGL (http://www.mesa3d.org/)
  - OpenAL Soft >= 1.13 (https://github.com/kcat/openal-soft)
  - miniupnpc (http://miniupnp.free.fr/)
  - libxrandr
Most distributions should provide these dependencies via their packaging
system. At least gcc-4.9 is required.

Windows Specific
In addition to the libraries above, you will need one more if you want to
target Windows:
  - OpenAL Soft (http://kcat.strangesoft.net/openal.html)
To create an installer, you will also need the Nullsoft Install System
(http://nsis.sourceforge.net/). To create the installer, build the "setup" target.