DarkRadiant - Compilation Guide: Difference between revisions
No edit summary |
mNo edit summary |
||
Line 4: | Line 4: | ||
== Needed Software == | == Needed Software == | ||
You'll need to download these pieces of software (these are all free, you don't need to pay for anything): | You'll need to download these pieces of software (these are all free, you don't need to pay for anything): | ||
* [http://tortoisesvn.tigris.org TortoiseSVN] for obtaining the sources | * [http://tortoisesvn.tigris.org '''TortoiseSVN'''] for obtaining the sources | ||
* [http://www.mingw.org/download.shtml MinGW] the actual compiler | * [http://www.mingw.org/download.shtml '''MinGW'''] the actual compiler | ||
* [http://www.activestate.com/store/activepython/download ActivePython] to run scons | * [http://www.activestate.com/store/activepython/download '''ActivePython'''] to run scons | ||
* [http://www.scons.org/download.php scons] to run the compilation scripts | * [http://www.scons.org/download.php '''scons'''] to run the compilation scripts | ||
* [http://gimp-win.sourceforge.net/stable.html '''The GTK+ Framework'''] (choose the latest stable version) | |||
== Step 1: Install the Tools == | |||
First, download and install TortoiseSVN. Nothing special here, just install it into any folder of your preference. After installation it probably will ask to reboot your machine, as Tortoise integrates into the Explorer shell. (You can do that later, when all the other components have been installed). | |||
Second, install the compiler MinGW. Launch the setup and choose the package '''Current''', then be sure to check the box of the '''g++''' compiler. Choose '''Download and Install''' in the next steps and let setup do the rest. | |||
Third, install the ActivePython interpreter, which is needed to run the SconScript. Nothing spectacular here as well. After Python has been installed, run the scons installer (version 0.96.1 works for sure, don't know about others). | |||
Lastly, install GTK+ and reboot the machine. | |||
== Step 2: Obtain the Sources == | |||
The complete codebase is available at SourceForge. To check out the sources, open up Explorer and create the folder you want to store them. | |||
Right-click somewhere in the white space and choose '''SVN Checkout'''. A new dialog appears asing you for the repository URL and the checkout folder. You can copy and paste the URL from here into the dialog window: | |||
https://darkradiant.svn.sourceforge.net/svnroot/darkradiant/trunk/darkradiant/ | |||
Click OK and prepare for a few minutes of downloading, the trunk repository is some ten megs large. | |||
[http://img256.imageshack.us/img256/6370/drcheckoutuj0.jpg http://img256.imageshack.us/img256/6370/drcheckoutuj0.th.jpg] | |||
= Compiling under Linux = | = Compiling under Linux = |
Revision as of 19:23, 9 February 2007
Compiling under Windows
This should hopefully cover the steps to prepare your machine to be able to compile the DarkRadiant Editor from source.
Needed Software
You'll need to download these pieces of software (these are all free, you don't need to pay for anything):
- TortoiseSVN for obtaining the sources
- MinGW the actual compiler
- ActivePython to run scons
- scons to run the compilation scripts
- The GTK+ Framework (choose the latest stable version)
Step 1: Install the Tools
First, download and install TortoiseSVN. Nothing special here, just install it into any folder of your preference. After installation it probably will ask to reboot your machine, as Tortoise integrates into the Explorer shell. (You can do that later, when all the other components have been installed).
Second, install the compiler MinGW. Launch the setup and choose the package Current, then be sure to check the box of the g++ compiler. Choose Download and Install in the next steps and let setup do the rest.
Third, install the ActivePython interpreter, which is needed to run the SconScript. Nothing spectacular here as well. After Python has been installed, run the scons installer (version 0.96.1 works for sure, don't know about others).
Lastly, install GTK+ and reboot the machine.
Step 2: Obtain the Sources
The complete codebase is available at SourceForge. To check out the sources, open up Explorer and create the folder you want to store them.
Right-click somewhere in the white space and choose SVN Checkout. A new dialog appears asing you for the repository URL and the checkout folder. You can copy and paste the URL from here into the dialog window:
https://darkradiant.svn.sourceforge.net/svnroot/darkradiant/trunk/darkradiant/
Click OK and prepare for a few minutes of downloading, the trunk repository is some ten megs large.
Compiling under Linux
Instructions go here (WIP)