Skip to main content

History: Building Ogre

Source of version: 62

Copy to clipboard
            {DIV(class="achtung")}__IMPORTANT:__ These instructions are meant to be used with old releases of Ogre.
For Ogre 1.10+, rather use [https://ogrecave.github.io/ogre/api/latest/building-ogre.html|BuildingOgre.md].{DIV}

{BOX(width="100%",class="Layout_box9",title="Building OGRE From Source")}{SPLIT(colsize=10%|70%)}{IMG(fileId="4",imalign="left")}{IMG}
---
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.
{DIV(class="Layout_box13")}%info% As of version 1.7 (Cthugha), the Ogre project uses CMake as its primary build system. See ((Building Ogre Shoggoth)) for previous versions.{DIV}
For the latest stable code (all platforms), you can [http://www.ogre3d.org/developers/mercurial|check out the source from Mercurial]. 
If using windows, you might also want to read ((Getting Sources With TortoiseHG|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 {DIV(type="span", class="nxOgre_sup")}(Click the ''+'' sign to view){DIV}
To clone OGRE directly to the stable version (Byatis) do this:
{CODE(wrap="1")}hg clone https://bitbucket.org/sinbad/ogre/ -u v1-8{CODE}
For the unstable 'default' branch:
{CODE(wrap="1")}hg clone https://bitbucket.org/sinbad/ogre/{CODE}

%note% __Note:__ You can always switch branches at any time. For instance, this command switches to the current stable branch:
{CODE(wrap="1")}hg update v1-8{CODE}
!!!!
{SPLIT}{BOX}
{INCLUDE(page="Prerequisites",stop="!!Introduction")}{INCLUDE}
{INCLUDE(page="CMake Quick Start Guide",stop="!!Introduction")}{INCLUDE}
{INCLUDE(page="Building Ogre with CMake",stop="!!Getting the Ogre Sources")}{INCLUDE}
{INCLUDE(page="Getting started with CMake",stop="!!Quick Start For The Impatient")}{INCLUDE}
{INCLUDE(page="Building Your Projects With CMake",stop="!Introduction")}{INCLUDE}
---
Alias: (alias(Building With CMake))
Alias: (alias(Building_With_CMake))
Alias: (alias(Building From Source))
Alias: (alias(Building_From_Source))
        

History

Information Version
Thu 08 of Apr, 2021 21:17 GMT-0000 paroj 63
Thu 08 of Apr, 2021 21:15 GMT-0000 paroj 62
Thu 08 of Apr, 2021 21:12 GMT-0000 paroj 61
Sun 27 of May, 2018 22:34 GMT-0000 paroj 60
Sun 03 of Sep, 2017 16:36 GMT-0000 paroj 59
Sat 25 of Aug, 2012 12:04 GMT-0000 spacegaier added "Specific Build Guides" section 58
Sat 25 of Aug, 2012 11:40 GMT-0000 spacegaier 57
Fri 25 of May, 2012 23:44 GMT-0000 jacmoe Updated stable version to 1.8 Byatis 56
Thu 05 of Apr, 2012 08:02 GMT-0000 haltendehand 55
Mon 02 of May, 2011 21:24 GMT-0000 edoardo 54
Sat 31 of Jul, 2010 19:51 GMT-0000 jacmoe 53
Sat 31 of Jul, 2010 19:51 GMT-0000 jacmoe 52
Sat 31 of Jul, 2010 19:50 GMT-0000 jacmoe 51
Sat 31 of Jul, 2010 19:49 GMT-0000 jacmoe 50
Sat 31 of Jul, 2010 19:49 GMT-0000 jacmoe 49
Mon 28 of Jun, 2010 16:32 GMT-0000 jacmoe 48
Tue 25 of May, 2010 05:46 GMT-0000 jacmoe 47
Tue 25 of May, 2010 05:43 GMT-0000 jacmoe 46
Tue 25 of May, 2010 04:48 GMT-0000 jacmoe 45
Tue 25 of May, 2010 04:35 GMT-0000 jacmoe 44
Tue 25 of May, 2010 04:34 GMT-0000 jacmoe 43
Tue 25 of May, 2010 04:30 GMT-0000 jacmoe 42
Tue 25 of May, 2010 04:27 GMT-0000 jacmoe 41
Tue 25 of May, 2010 04:17 GMT-0000 jacmoe 40
Tue 25 of May, 2010 04:01 GMT-0000 jacmoe [rollback version 36] 39