Go to file
Günther Brammer bb292e828d Attached objects use the nearest available point instead of the farthest
This avoids some teleporting when there's some material behind the object
and in front of it. Especially useful for small bumps of material in front
of a wall with the new left/right attachment of the foot vertex of the
Clonk.
2012-06-08 16:20:26 +02:00
autotools autotools: sdl.m4 from libsdl 1.2.15 2012-02-12 17:02:15 +01:00
cmake Add a little warning when GCC Precompiled Headers go wrong 2012-05-02 00:25:45 +02:00
docs Script: Add GetProperties function to get the keys of a proplist 2012-05-26 01:32:43 +02:00
include/c4script Start of a C4Script API third party programs could use 2012-03-04 21:23:11 +01:00
licenses Remove the remaining remnants of OpenSSL usage 2011-11-03 00:37:07 +01:00
masterserver Fix hosttest (Forgot to allow IPv4/6-adresses in hosttest_url) 2012-01-06 18:28:13 +01:00
planet Tweak the "corner scale" behaviour 2012-06-08 16:17:42 +02:00
src Attached objects use the nearest available point instead of the farthest 2012-06-08 16:20:26 +02:00
tests tests: Fix on linux-gcc 2011-10-16 14:17:43 +02:00
thirdparty Fix timsort so that it compiles with Visual Studio 2012-02-01 23:03:29 +01:00
tools mac: osx_bundle_libs bundles recursive dependencies so libogg/libvorbis conundrum solved 2012-03-25 15:30:01 +02:00
.hgeol Mercurial: Users with EOL extension now always check out planet with LF endings 2011-11-10 18:21:34 +01:00
.hgignore Ignore CMakeScripts 2012-02-14 16:26:26 +01:00
CMakeLists.txt Win32/MinGW: Add "-Wl," to linker options 2012-06-08 13:30:51 +02:00
Credits.txt update credits 2012-05-10 21:40:17 +02:00
Makefile.am Move C4AulFunc implementation to a separate file from C4Aul.cpp 2012-05-14 22:07:33 +02:00
README.linux.txt Remove the remaining remnants of OpenSSL usage 2011-11-03 00:37:07 +01: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 win32: Add build rules for the installer to CMakeLists.txt and Makefile.am 2011-09-20 19:43:22 +02:00
Version.txt Version.txt and C4Version.h cleanup 2012-02-29 23:47:32 +01:00
autogen.sh Revert "Removed autotools and anjuta build files" 2009-07-13 21:24:30 +02:00
clonk.anjuta Update Anjuta project file 2010-07-06 00:39:34 +02:00
clonk.desktop Polish 'make install' support a bit 2010-12-30 01:21:07 +01:00
config.h.cmake win32: Automatically check for DbgHelp availability 2011-10-03 13:09:51 +02:00
config.h.in autotools: UPnP 2012-01-27 01:42:37 +01:00
configure.ac Autotools: Add ASLR/DEP flags to LDADD 2012-06-08 13:31:21 +02: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:

    ./autogen.sh && ./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