Go to file
Carl-Philip Hänsch 806cd10f7b Blit every landscape texture separately and with higher resolution
ApplyLighting copies all values of Surface8 to Blue-Channel of Surface32,
BlitLandscape loops over all textures. This enables multiple material
texture pixels per landscape pixel.
2009-05-28 01:38:14 +02:00
autotools configure: Always try to switch to C++0x mode 2009-05-14 01:59:39 +02:00
docs Docs: Fix compilation 2009-05-15 21:17:55 +02:00
engine Blit every landscape texture separately and with higher resolution 2009-05-28 01:38:14 +02:00
group Added a clean Code::Blocks workspace (open this file with C::B) and project files for engine, c4group and standard 2009-05-14 18:51:42 +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 Removed Logo due to trademark concerns 2009-05-10 16:54:46 +02:00
standard Blit every landscape texture separately and with higher resolution 2009-05-28 01:38:14 +02:00
xcode * Bundle all non-system libraries for Mac builds 2009-05-16 18:24:44 +02:00
.hgignore # Some more ignores, mostly relevant to Mac builds 2009-05-16 18:24:10 +02:00
Clonk.workspace Added a clean Code::Blocks workspace (open this file with C::B) and project files for engine, c4group and standard 2009-05-14 18:51:42 +02:00
Makefile.am Mingw: Add -DGLEW_STATIC, assuming that everyone will use a static glew 2009-05-14 01:57:50 +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 Mingw: Fix the instructions to actually work 2009-05-13 20:30:28 +02:00
autogen.sh merge 2009-05-14 18:59: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 MSVC: Change EOLs in solution so MSVC shell extension recognizes it 2009-05-10 12:20:21 +02:00
config.h.in Import source 2009-05-08 15:28:41 +02:00
configure.ac configure: Always try to switch to C++0x mode 2009-05-14 01:59:39 +02:00
version Import source 2009-05-08 15:28:41 +02:00

README.windows.txt

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

You can build on Windows using either:

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

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


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, cd to this directory, and execute:

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