Go to file
Nicolas Hake 4b37749a62 StdBuf: Disable const copy ctor on compilers not supporting rvalue references
Otherwise, MSVC chooses the const ctor and loses underlying memory.
This might be a good time to drop StdBuf and use std::string instead.
2009-05-09 21:13:07 +02:00
autotools Fix crash when building with g++ 4.3 or newer 2009-05-09 03:29:28 +02:00
docs Add Clonk Rage developer documentation 2009-05-09 15:11:51 +02:00
engine Flip the main screen layout to further distinguish it from CR 2009-05-09 17:19:50 +02:00
group Cleanups 2009-05-09 14:37:37 +02:00
licenses Import source 2009-05-08 15:28:41 +02:00
netpuncher Import source 2009-05-08 15:28:41 +02:00
planet snow and ice textures 2009-05-09 17:19:50 +02:00
standard StdBuf: Disable const copy ctor on compilers not supporting rvalue references 2009-05-09 21:13:07 +02:00
xcode Import source 2009-05-08 15:28:41 +02:00
.hgignore Added .hgignore 2009-05-09 18:39:48 +02:00
Makefile.am Update autotools build to not require library copies 2009-05-08 20:56:43 +02:00
README.linux.txt Fix crash when building with g++ 4.3 or newer 2009-05-09 03:29:28 +02:00
README.mac.txt Import source 2009-05-08 15:28:41 +02:00
README.windows.txt Fix crash when building with g++ 4.3 or newer 2009-05-09 03:29:28 +02:00
build_tag Import source 2009-05-08 15:28:41 +02:00
clonk.anjuta Import source 2009-05-08 15:28:41 +02:00
clonk.vc9.sln Import source 2009-05-08 15:28:41 +02:00
config.h.in Import source 2009-05-08 15:28:41 +02:00
configure.ac Update autotools build to not require library copies 2009-05-08 20:56:43 +02:00
version Import source 2009-05-08 15:28:41 +02:00

README.windows.txt

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

You can build on Windows using either:

* vc6 (Microsoft Visual C++ 6.0)
	plus PlatformSDK 2003
	plus DXSDK 8.1

* vc7 (Microsoft Visual C++ 2003)
	you might have to set the correct DXSDK include and library directories
	professional edition required to compile resources

* vc9 (Microsoft Visual C++ 2008)
	you might have to set the correct DXSDK include and library directories
	professional edition required to compile resources

* MinGW
	plus MSYS (or any other shell that can run configure and make)
	plus DXSDK 9 (if you want DirectX support)
	this is currently only tested by crosscompiling from Linux.

NoNetwork
=========

If you are using the public source package, will be able to build
the "NoNetwork" configurations only.


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

To build using MinGW, you need from http://www.mingw.org/:
 * MinGW-5.1.3.exe (or newer)
 * MSYS-1.0.10.exe

With MinGW-*.exe, install from the "current" distribution the MinGW base tools
and g++, the C++ compiler. Then install msys.

You also need the MSYS DTK, Autoconf 2.6x and Automake 1.10.x. You might need
to build the last two from source.

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.

Open a shell (the MSYS one under windows), cd to this directory, and execute:

  autoreconf -i && ./configure && make

To use g++ version 4.3 or newer, you need to pass 'CXX=g++ -std=gnu++0x'
to configure. g++ version 4.2 is not able to compile Clonk.

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