Skip to main content

History: Prerequisites V2

Preview of version: 9

prerequisites.jpg

What you need to build Ogre from source.

Introduction

This is a small check list of things you need to do before you're ready to build Ogre from source.

Image CMake

Download CMake from https://cmake.org/ and run the installer.
<br/>

Image

DoneInstall paths

Make sure that Cmake and the project are both installed in a folder with no spaces and latin characters only.

Done Compiler Specific Prerequisites

Done Visual Studio

Best thing is to start with the latest version of Visual Studio.
Download Download 'Visual Studio Community Free' from https://www.visualstudio.com/downloads and run vs_community_ENU.exe (installation takes about half and hour)

Done MinGW

Get the latest MinGW installer from here and install MinGW.
Make sure to include the C++ compiler (it is the only required compiler for Ogre, but installing all of them doesn't hurt).
You most likely do not want the full "MinGW Developer Toolkit", but you should check the "MSYS Basic System".

Install it to C:\mingw.

Also add C:\mingw\bin to your PATH. The installer might ask if it should do that for you, but if you did not install with admin rights, this likely did not work. In any case, you should check and make sure it is correctly added to your PATH.

Done DirectX

If you want to use DirectX in Ogre3D, the 'Windows Software Development Kit (SDK) for Windows 10' is required (if you are using Windows 10 of course).
Download it from https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk. Run 'sdksetup.exe' and install the SDK (this will take some time).

Mandatory for compiling SDL2 however, is the use of the DirectX Software Development Kit 'DirectX 9 SDK (DX SDK June 2010)'; this version is not used by
Ogre3D V2+ (because it doesn't use DirectX 9 anymore), but it is only used for SDL2. SDL2 is used by the tutorials and samples, which are part of the Ogre source. Download DirectX 9 SDK from https://www.microsoft.com/en-us/download/confirmation.aspx?id=6812. Run the downloaded 'DXSDK_Jun10.exe'.

Done Dependencies

A repository containing a all sources of the Ogre dependencies (along with the necessary CMake scripts) is available here at Bitbucket. Make sure to read the instructions.
Also to read our CMake Guide if you haven't yet.

-(Linux)-

Image

This tab needs to be updated for Ogre 2+

-(Mac OS X & iOS)-

Image
This tab needs to be updated for Ogre 2+

History

Information Version
Thu 29 of Dec, 2016 22:26 GMT-0000 spookyboo 18
Thu 29 of Dec, 2016 22:25 GMT-0000 spookyboo 17
Thu 29 of Dec, 2016 22:24 GMT-0000 spookyboo 16
Thu 29 of Dec, 2016 20:05 GMT-0000 spookyboo 15
Thu 29 of Dec, 2016 17:05 GMT-0000 spookyboo 14
Thu 29 of Dec, 2016 17:03 GMT-0000 spookyboo 13
Thu 29 of Dec, 2016 17:02 GMT-0000 spookyboo 12
Thu 29 of Dec, 2016 16:55 GMT-0000 spookyboo 11
Thu 29 of Dec, 2016 16:53 GMT-0000 spookyboo 10
Thu 29 of Dec, 2016 16:52 GMT-0000 spookyboo 9
Wed 28 of Dec, 2016 22:20 GMT-0000 spookyboo 8
Wed 28 of Dec, 2016 22:15 GMT-0000 spookyboo 7
Wed 28 of Dec, 2016 22:13 GMT-0000 spookyboo 6
Wed 28 of Dec, 2016 22:08 GMT-0000 spookyboo 5
Wed 28 of Dec, 2016 22:00 GMT-0000 spookyboo 4
Wed 28 of Dec, 2016 21:53 GMT-0000 spookyboo 3
Wed 28 of Dec, 2016 21:52 GMT-0000 spookyboo 2
Wed 28 of Dec, 2016 14:14 GMT-0000 spookyboo 1