Go to file
Nicolas Hake e0dc30c59a Update copyright notices
As discussed in http://forum.openclonk.org/topic_show.pl?tid=2917, I
have merged all copyright notices into a single file and referenced that
merged file from each source file.

For the updated source files, the timeline has been split into three
parts:
 1. Pre-RWD code (before 2001)
 2. RWD code (2001 through 2009)
 3. OpenClonk code (2009 and later)
All pre-RWD copyright notices have been left intact, as have RWD-era
copyright notices where the file did not have a RedWolf design copyright
notice but only individual author ones. All copyright notices of the
OpenClonk era have been replaced by a single notice ranging from the
first recorded year to the current year (2013). Mape code did not get a
OpenClonk Team copyright notice because it is somewhat separate from the
main OpenClonk codebase and has only been touched by Armin Burgmeier.
2013-12-23 13:03:19 +01:00
autotools autotools: sdl.m4 from libsdl 1.2.15 2012-02-12 17:02:15 +01:00
cmake Update copyright notices 2013-12-23 13:03:19 +01:00
docs renamed DynamicParticles* to Particles* and CreateParticleEx to CreateParticle 2013-12-17 22:32:01 +01:00
include/c4script Update copyright notices 2013-12-23 13:03:19 +01:00
licenses Update copyright notices 2013-12-23 13:03:19 +01:00
masterserver add internationalization for responses from the masterserver/league server 2013-11-06 13:35:27 +07:00
planet script: And I forgot to copy-paste a ‘!’, yay 2013-12-21 13:28:36 +01:00
src Update copyright notices 2013-12-23 13:03:19 +01:00
tests cmake: properly removed gtest from the all target 2013-01-30 13:06:22 +01:00
thirdparty Fix timsort so that it compiles with Visual Studio 2012-02-01 23:03:29 +01:00
tools win32: Installer always creates Start Menu entries 2013-05-18 00:21:46 +02:00
.git_archival Prepare build for Git repository 2012-11-20 22:23:59 +01:00
.gitattributes Prepare build for Git repository 2012-11-20 22:23:59 +01:00
.gitignore Fix line endings broken by 71b3afb 2013-11-08 01:11:14 +01:00
CMakeLists.txt Update copyright notices 2013-12-23 13:03:19 +01:00
COPYING Update copyright notices 2013-12-23 13:03:19 +01:00
Credits.txt update credits 2012-10-18 21:57:33 +02:00
Makefile.am Update copyright notices 2013-12-23 13:03:19 +01:00
README.linux.txt Updated libglew dependency in README.linux.txt 2013-05-26 10:03:30 +02:00
README.mac.txt mac: README: Add note about CMake 2.8-8 getting along with Xcode 4.3+ 2012-05-02 12:19:46 +02:00
README.windows.txt autotools: Remove autogen.sh, use autoreconf instead 2013-01-29 01:07:22 +01:00
TRADEMARK Update copyright notices 2013-12-23 13:03:19 +01:00
Version.txt Prepare build for Git repository 2012-11-20 22:23:59 +01:00
config.h.cmake Remove remains of Direct3D support 2013-11-02 21:39:34 +01:00
config.h.in cmake: Make Freetype mandatory for non-headless builds 2013-10-18 22:27:55 +02:00
configure.ac Update copyright notices 2013-12-23 13:03:19 +01:00
openclonk.desktop Rename game binary to "openclonk" (#830) 2013-01-28 13:57:29 +01:00
scriptdefinitionsources.txt scriptdefinitionsources.txt: list of source files that contain definitions relevant to script (C4DT reads it) 2012-05-01 14:34:27 +02:00

README.windows.txt

Requirements
============

You can build on Windows using either:

* vc10 (Microsoft Visual C++ 2010)
  - you need CMake (http://www.cmake.org/cmake/resources/software.html) to
    create the "solution"
  - you might have to set the correct DXSDK include and library directories

* MinGW and MSYS
  - plus DXSDK 9 (if you want DirectX support)

* Some other compilers and IDEs which are supported by CMake might also work

OpenClonk requires some additional libraries. Prebuilt versions of them can be
found on http://openclonk.org.

Building the installer
======================

The installer is created with NSIS. makensis needs to be in the PATH, and
the dlls used by openclonk in the build directory. To create the installer,
build the "setup" target if using CMake, or if using autotools, run:

    make setup_openclonk.exe

Get NSIS from http://nsis.sourceforge.net/.

Notes for MinGW
===============

You need gcc, g++, mingw-runtime, w32api, msys, msyscore, autoconf, automake,
and any packages needed by these.

Get the library package from openclonk.org and unpack it into the mingw
directory.

If you want DirectX support, get a DirectX 9 SDK from Microsoft. Copy the
contents of its include dir to the include dir of your MinGW installation,
and pass --with-directx to configure below.

Start msys (your MinGW directory, e.g. C:\MinGW -> msys.bat),
cd to this directory, and execute:

    autoreconf -i && ./configure && make

To compile a debugbuild, pass --enable-debug to configure. Other options are
listed by ./configure --help.

On subsequent build runs, you only have to execute make.

If you want to separate the source directory and the output files, you can call
configure from another directory. You can call configure by it's relative path,
but using the full path helps gdb find the source files. Example:

    mkdir build
    cd build
    /path/to/clonksource/configure --with-directx CXXFLAGS='-Os'
    make