Difference between revisions of "How to build from source"
(→Code::Blocks IDE) |
|||
Line 3: | Line 3: | ||
=Getting the source= | =Getting the source= | ||
There are two ways to obtain the source to Odamex: | There are two ways to obtain the source to Odamex: | ||
− | |||
* [http://odamex.net/ Download] the latest stable version from the official Odamex website | * [http://odamex.net/ Download] the latest stable version from the official Odamex website | ||
* Get the absolute latest modifications through anonymous [[Subversion]] access | * Get the absolute latest modifications through anonymous [[Subversion]] access | ||
Line 9: | Line 8: | ||
=Getting required files= | =Getting required files= | ||
When you download Odamex, it's almost ready to go, right out of the box. However, you need something to compile it with. In addition, Odamex relies on extra libraries in order to function. | When you download Odamex, it's almost ready to go, right out of the box. However, you need something to compile it with. In addition, Odamex relies on extra libraries in order to function. | ||
− | |||
* [[Required Libraries]] | * [[Required Libraries]] | ||
Line 26: | Line 24: | ||
==Outdated== | ==Outdated== | ||
The following build methods no longer exist as of 0.6.1. However, if you are building 0.6.0 or earlier, you might be interested in the information below. | The following build methods no longer exist as of 0.6.1. However, if you are building 0.6.0 or earlier, you might be interested in the information below. | ||
− | |||
* [[Compiling using GCC]] | * [[Compiling using GCC]] | ||
* [[Debian package]] | * [[Debian package]] | ||
* [[Compiling using Xcode]] | * [[Compiling using Xcode]] | ||
* [[Cross compiling for Windows using MinGW]] | * [[Cross compiling for Windows using MinGW]] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=Building odamex.wad= | =Building odamex.wad= | ||
− | This will show you how to build the latest odamex.wad file | + | This will show you how to build the latest odamex.wad file. This is usually not necessary, as an up-to-date version of odamex.wad is included in the source tree, but here's instructions for how to do it regardless. |
− | + | ||
* [[Building odamex.wad using DeuTex]] on multiple platforms | * [[Building odamex.wad using DeuTex]] on multiple platforms | ||
− | |||
− |
Revision as of 16:44, 14 July 2012
Odamex is open source. This means that it is possible to obtain and compile Odamex from source if you so desire. The Odamex team wishes to make this process as painless as possible, therefore detailed instructions for how to build Odamex are provided in this section.
Contents
Getting the source
There are two ways to obtain the source to Odamex:
- Download the latest stable version from the official Odamex website
- Get the absolute latest modifications through anonymous Subversion access
Getting required files
When you download Odamex, it's almost ready to go, right out of the box. However, you need something to compile it with. In addition, Odamex relies on extra libraries in order to function.
Compiling Odamex
You have all the pieces of the puzzle...now it's time to build.
Code::Blocks IDE
Most Odamex developers use Code::Blocks, so there is a specific project file just for that editor.
CMake
In most other cases we use CMake to create project files or Makefiles that are tailored to each system.
Outdated
The following build methods no longer exist as of 0.6.1. However, if you are building 0.6.0 or earlier, you might be interested in the information below.
Building odamex.wad
This will show you how to build the latest odamex.wad file. This is usually not necessary, as an up-to-date version of odamex.wad is included in the source tree, but here's instructions for how to do it regardless.
- Building odamex.wad using DeuTex on multiple platforms