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

Building OGRE From Source
Image
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-7" for Cthugha, 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)


Image

What you need to build Ogre from source.
Image

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!
Image

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

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

 

Image

This section is an introduction on how to use CMake to build your own projects and have them link against Ogre. For more detailed information about CMake, refer to the official CMake website: http://www.cmake.org(external link)

Image
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.

 


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


Contributors to this page: haltendehand732 points  , Spacegaier4386 points  , jacmoe133512 points  and edoardo247 points  .
Page last modified on Thursday 05 of April, 2012 08:02:46 UTC by haltendehand732 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.