Skip to main content

History: Building Ogre

Preview of version: 16

48px-Ogrehead.png
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. Select your platform and compiler from the list below. Then move on to learn how to setup your first application.

For the latest stable code (all platforms), you can check out the source from Mercurial.
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 branch, e.g. "branches/v1-7" for Cthugha, and not trunk. Trunk 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.

Image
Building Ogre With CMake

As of version 1.7 (Cthugha), the Ogre project uses CMake as its primary build system. On the following pages you can familiarise yourself with CMake and how to use it to build Ogre from source (and, if you like, your own projects using Ogre).

See Building Ogre Shoggoth for building earlier versions of Ogre.


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 introduces you to CMake and explains the concepts as well as how you can get and use CMake.


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


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


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