Building Ogre         How to build Ogre and/or your own projects using Ogre

Building OGRE From Source
For developers with more experience, building OGRE from source is usually the more attractive option. For some, it is the only option as prebuilt binaries are not available. Source provides the fastest access to bug fixes and allows the developer to debug any aspect of their code or OGRE. It is also necessary for contributing patches.
Info As of version 1.7 (Cthugha), the Ogre project uses CMake as its primary build system. See Building Ogre Shoggoth for previous versions.

For the latest stable code (all platforms), you can check out the source from Mercurial(external link).
If using windows, you might also want to read a quick guide about getting the sources with tortoisehg, a windows client.

The actual stable revision is always in a specific branch, e.g. "v1-8" for Byatis, and not the default branch. The 'default' branch is the latest unstable version and is not fully API-compatible with the stable stream, and may have temporary issues. Recommended only for experienced developers.

[+] Quick Mercurial Guide (Click the + sign to view)


What you need to build Ogre from source.

For the impatient: Learn how to build Ogre with CMake in two minutes. If you encounter any problems or need some more advanced procedures, do read the rest of the sections below!

This section explains how to use CMake to build Ogre from source.

This section introduces you to CMake and explains the concepts as well as how you can get and use CMake.

This is an introduction to using cmake to build your own Ogre projects. For more detailed information about cmake, refer to the official site(external link).


IMPORTANT: These instructions only work with old releases of Ogre.


For recent versions of Ogre, please follow the Doxygen Instructions(external link).


For developers: Working with and extending Ogre's CMake build system

This section describes in some detail how Ogre's CMake build system works and how you can extend it. This is meant for developers who may need to add source files or entire targets to the build system.


This section contains a list of detailed build guides for specific configuration and scenarios meant as addition to the standard guides already provided for the use with CMake.
Building Ogre with boost 1.50 upwards and MinGW

Alias: Building With CMake
Alias: Building_With_CMake
Alias: Building From Source
Alias: Building_From_Source

Contributors to this page: spacegaier6073 points  , Spacegaier6073 points  , jacmoe180265 points  , haltendehand742 points  and edoardo782 points  .
Page last modified on Saturday 25 of August, 2012 12:04:03 UTC by spacegaier6073 points .

The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.
As an exception, any source code contributed within the content is released into the Public Domain.