DarkRadiant - Compilation Guide: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(115 intermediate revisions by 4 users not shown)
Line 1: Line 1:
= Compiling under Windows =
DarkRadiant's codebase is open source, the main part of the source code is hosted on github. To compile the sources you can either use
This should hopefully cover the steps to prepare your machine to be able to compile the DarkRadiant Editor from source.


== Needed Software ==
* Windows: ''Visual Studio 2022 Community Edition'' (higher editions also possible: Professional, Ultimate, ...)
You'll need to download these pieces of software (these are all free, you don't need to pay for anything):
* Linux: gcc/g++ (Automake)
* [http://tortoisesvn.tigris.org TortoiseSVN] for obtaining the sources
* Mac OS X: Automake (after installing XCode and using MacPorts)
* [http://www.mingw.org/download.shtml MinGW] the actual compiler
* [http://www.activestate.com/store/activepython/download ActivePython] to run scons
* [http://www.scons.org/download.php scons] to run the compilation scripts


== Where to obtain the Source ==
All compilers can be acquired for free. In any case, since DarkRadiant is using part of the C++17 feature set, a compiler supporting the C++17 standard is required.


= Compilation Guides =
There are separate articles for Windows and Linux, select one to learn more:


* [[DarkRadiant - Compiling in Windows|Compiling in Windows / Visual Studio]]
* [[DarkRadiant - Compiling in Linux|Compiling in Linux]]
* [[DarkRadiant - Compiling in macOS|Compiling in macOS]] (experimental)


Note: The articles are always referring to the latest revision of the source code, not to a specific release.


= Compiling under Linux =
{{coding}}
Instructions go here (WIP)
{{darkradiant|sort=Compilation}}
 
[[Category:Coding]]
[[Category:DarkRadiant]]

Latest revision as of 19:34, 1 April 2022

DarkRadiant's codebase is open source, the main part of the source code is hosted on github. To compile the sources you can either use

  • Windows: Visual Studio 2022 Community Edition (higher editions also possible: Professional, Ultimate, ...)
  • Linux: gcc/g++ (Automake)
  • Mac OS X: Automake (after installing XCode and using MacPorts)

All compilers can be acquired for free. In any case, since DarkRadiant is using part of the C++17 feature set, a compiler supporting the C++17 standard is required.

Compilation Guides

There are separate articles for Windows and Linux, select one to learn more:

Note: The articles are always referring to the latest revision of the source code, not to a specific release.