Difference between revisions of "Compiling using Code::Blocks"
m (Compiling on Windows with Codeblocks moved to Compiling using Codeblocks) |
|||
Line 1: | Line 1: | ||
<b>Overview:</b> | <b>Overview:</b> | ||
--------- | --------- | ||
− | + | The ODAMEX Source package comes with a variety of project and workspace files. | |
− | + | ||
− | + | This tutorial will show you how to build ODAMEX using the [http://www.codeblocks.org/ Code::Blocks] IDE. | |
− | + | ==Step 1: Getting Code::Blocks== | |
− | + | You can download Code::Blocks from its website here: [http://www.codeblocks.org/ Code::Blocks]. | |
− | + | ||
− | * | + | * Note: Be sure to get the latest nightly build, as this is the one that works with the current project files. |
− | + | ==Step 2: Required Libraries == | |
− | + | For ODAMEX to successfully compile, you must obtain some libraries for it, which are: | |
− | * [http:// | + | * [http://www.libsdl.org SDL development libraries] |
+ | * [http://www.libsdl.org/projects/SDL_mixer SDL_mixer development libraries] | ||
− | + | And unzip these libraries into your [http://www.mingw.org MinGW] directory | |
− | + | ==Step 3: Getting the source code for ODAMEX== | |
− | + | This can be obtained through the [http://www.odamex.net website] or from the [[SVN]] repository | |
− | + | using [http://tortoisesvn.tigris.org/ tortoisesvn]. | |
− | + | ||
− | = | + | ==Step 4: Compiling the ODAMEX source code== |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | After you've extracted the source code to a directory, open the workspace file (currently named odamex.workspace) | |
+ | and go to the <b>Build menu</b> and click <b>Rebuild workspace</b> | ||
− | + | ==Conclusion== | |
− | + | Once its all built (and no errors have occurred), you should find some binary files located in the <b>bin</b> directory | |
− | + | and these are ready to use. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |
Revision as of 08:04, 19 September 2006
Overview:
The ODAMEX Source package comes with a variety of project and workspace files.
This tutorial will show you how to build ODAMEX using the Code::Blocks IDE.
Contents
Step 1: Getting Code::Blocks
You can download Code::Blocks from its website here: Code::Blocks.
- Note: Be sure to get the latest nightly build, as this is the one that works with the current project files.
Step 2: Required Libraries
For ODAMEX to successfully compile, you must obtain some libraries for it, which are:
And unzip these libraries into your MinGW directory
Step 3: Getting the source code for ODAMEX
This can be obtained through the website or from the SVN repository using tortoisesvn.
Step 4: Compiling the ODAMEX source code
After you've extracted the source code to a directory, open the workspace file (currently named odamex.workspace) and go to the Build menu and click Rebuild workspace
Conclusion
Once its all built (and no errors have occurred), you should find some binary files located in the bin directory and these are ready to use.