AssaultCube Reloaded Wiki
No edit summary
No edit summary
Line 10: Line 10:
 
===='''Compiling'''====
 
===='''Compiling'''====
 
To compile you just need to run the Makefile in source/src. If you added MSYS/bin to your path it should be as simple as typing make client or make server in the command prompt.
 
To compile you just need to run the Makefile in source/src. If you added MSYS/bin to your path it should be as simple as typing make client or make server in the command prompt.
  +
==='''Mingw and Code::Blocks:'''===
+
==='''Mingw and Code::Blocks'''===
 
supported by ruler501
 
supported by ruler501
 
===='''Dependencies'''====
 
===='''Dependencies'''====
Line 31: Line 32:
   
 
==Linux==
 
==Linux==
==='''Makefile:'''===
+
==='''Makefile'''===
 
supported by Victor and ruler501
 
supported by Victor and ruler501
 
==== '''Dependencies''' ====
 
==== '''Dependencies''' ====
Line 39: Line 40:
   
 
==== '''Compiling''' ====
 
==== '''Compiling''' ====
  +
cd ./source/src
To compile simply cd into the source/src directory and run make client or make server
 
  +
make client
  +
make server
   
 
=='''Mac'''==
 
=='''Mac'''==

Revision as of 23:06, 13 August 2014

Windows:

Mingw and MSYS:

supported by ruler501

Dependencies

You need Mingw(or TDM-GCC) and MSYS install the compiler in the MSYS directory so that they share /bin.

You need libintl(download binaries and developer files) http://gnuwin32.sourceforge.net/packages/libintl.htm

You need libcurl http://curl.haxx.se/gknw.net/7.34.0/dist-w32/curl-7.34.0-devel-mingw32.zip

Compiling

To compile you just need to run the Makefile in source/src. If you added MSYS/bin to your path it should be as simple as typing make client or make server in the command prompt.

Mingw and Code::Blocks

supported by ruler501

Dependencies

You need Mingw(or TDM-GCC) and Code::Blocks installed. Code::Blocks needs to be configured to use the Mingw(or TDM-GCC) compiler

You need libintl(download binaries and developer files) http://gnuwin32.sourceforge.net/packages/libintl.htm and install to the Mingw(or TDM-GCC) directory

You need libcurl http://curl.haxx.se/gknw.net/7.34.0/dist-w32/curl-7.34.0-devel-mingw32.zip and install to the Mingw(or TDM-GCC) directory

Compiling

To compile open the Code::Blocks project file in source/codeblocks, select your target and hit compile.

Visual Studio

supported by Victor

Dependencies

Microsoft Visual Studio 2005 or newer

Compiling

Client = Release Server = Standalone Build -> Build Solution

Linux

Makefile

supported by Victor and ruler501

Dependencies

You need to install these packages(or the equivalent ones for your distribution)

build-essential libsdl1.2debian libsdl-image1.2 libopenal1 libsdl1.2-dev libsdl-image1.2-dev libopenal-dev libvorbis-dev

Compiling

cd ./source/src
make client
make server

Mac

formerly supported by pwned (Tony), but he is inactive now

Dependencies

Xcode?

Compiling