Go to file
Günther Brammer 540b14dec6 docs: Generate the table-of-contents <img> in the xslt 2011-06-30 19:25:02 +02:00
autotools Autotools: Check for boost in configure 2010-09-22 16:43:26 +02:00
debian Use cmake in the debian build, and add hg as a build dependency 2010-12-31 15:41:41 +01:00
docs docs: Generate the table-of-contents <img> in the xslt 2011-06-30 19:25:02 +02:00
licenses Add license text for libogg and libvorbis 2010-12-15 00:03:59 +01:00
masterserver Masterserver: Fixed given but empty old_version string blocking the update 2011-02-12 16:32:11 +01:00
planet Flag: Changed Marker visuals 2011-06-29 00:35:28 +02:00
src editor: File/Save (As) again uses Game.ScenarioFile for saving (#611) 2011-06-24 14:25:30 +02:00
tests Test/win32: Add wchar_t conversion, registry access tests 2011-06-02 22:02:29 +02:00
thirdparty Move TinyXML into thirdparty/ 2011-01-25 21:28:44 +01:00
tools Automatically set C4COPYRIGHT_YEAR on win32 2011-05-20 13:40:27 +02:00
.hgignore Code cleaning, sourced the lorry stuff out into its own library, comments added 2011-03-21 18:49:49 +01:00
CMakeLists.txt Drop netpuncher from the default build, add script shell 2011-06-03 21:47:12 +02:00
Credits.txt updated credits screen 2010-11-17 22:32:37 +01:00
FindReadline.cmake dedicated: fix CMake and object loading (thanks ck and Guenther) 2011-01-30 21:44:54 +01:00
GccPchSupport.cmake gcc&cmake: precompiled header support 2011-03-12 22:01:23 +01:00
Makefile.am autotools: Add C4LandscapeRender 2011-05-24 01:50:14 +02:00
README.linux.txt Update Linux README file (#28) 2010-04-19 22:20:20 +02:00
README.mac.txt mac: readme: Remove NoNetwork notes, complete dependency list, add X11 to prerequisite list 2011-03-06 00:32:22 +01:00
README.windows.txt Prefer loading meshes from binary format 2010-03-02 17:12:28 +01:00
Version.txt Automatically set C4COPYRIGHT_YEAR on win32 2011-05-20 13:40:27 +02: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: Make vfw32 optional 2011-05-12 17:13:38 +02:00
config.h.in win32: Make vfw32 optional 2011-05-12 17:13:38 +02:00
configure.ac win32: Make vfw32 optional 2011-05-12 17:13:38 +02:00

README.windows.txt

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

You can build on Windows using either:

* vc9 (Microsoft Visual C++ 2008)
	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

Building OpenClonk requires the Boost C++ Libraries (from http://www.boost.org/). It uses the
header-only parts of the library, so you don't have to build any of the binary libraries.

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

You need gcc, g++, mingw-runtime, w32api, msys, msyscore, autoconf, automake,
and any packages needed by these. The versions listed below are known to work,
though newer versions are probably also good.

http://sourceforge.net/project/downloading.php?group_id=200665&filename=tdm-mingw-1.905.0-webdl.exe&a=64029035
(from http://sourceforge.net/project/showfiles.php?group_id=200665&package_id=238465)
(see also http://www.tdragon.net/recentgcc/)
- The default options work. Use an installation path without spaces to be on
  the save side.

http://sourceforge.net/project/downloading.php?group_id=2435&filename=MSYS-1.0.11-20090120-dll.tar.gz&a=78351117
http://sourceforge.net/project/downloading.php?group_id=2435&filename=msysCORE-1.0.11-20080826.tar.gz&a=60784616
(from http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=24963)
- extract these into the same directory as installed above, merging the
  directory contents
- create a shortcut to msys.bat

http://sourceforge.net/project/downloading.php?group_id=2435&filename=perl-5.6.1-MSYS-1.0.11-1.tar.bz2&a=91743036
http://sourceforge.net/project/downloading.php?group_id=2435&filename=crypt-1.1-1-MSYS-1.0.11-1.tar.bz2&a=95002722
http://sourceforge.net/project/downloading.php?group_id=2435&filename=autoconf2.5-2.61-1-bin.tar.bz2&a=93276645
http://sourceforge.net/project/downloading.php?group_id=2435&filename=automake1.10-1.10-1-bin.tar.bz2&a=66135072
http://sourceforge.net/project/downloading.php?group_id=2435&filename=autoconf-4-1-bin.tar.bz2&a=70428585
http://sourceforge.net/project/downloading.php?group_id=2435&filename=automake-3-1-bin.tar.bz2&a=12881354
(from http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=67879)
- you need to extract these from the msys shell with tar (other methods won't
  work). This assumes that the archives are in C:\Path\To\Downloads\, adjust
  the command as necessary:
    cd /
    for f in /c/Path/To/Downloads/*.bz2; do tar -xjf $f; done && echo done
 
Get the library package from openclonk.org and unpack it into the same
directory as the other archives.

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