History: Building Ogre3D 1.9 Statically in Mac OS X (Yosemite)
Preview of version: 16
- «
- »
The idea of this tutorial is to help you build Ogre3D 1.9 statically in Mac OS X (Yosemite). Additionally this tutorial will explain you how to run your first application from scratch using CMake and the QtCreator IDE.
Table of contents
Prerequisites
- You need to have a basic C++ background.
- Basic knowledge about how to use a terminal in Mac OS X (create folders, list directory contents, run commands, etc.).
- An Internet connection (this sounds obvious, but it’s better to clarify 😊 ).
- Have the following software installed (there are no specific restrictions regarding the versions used, but it's better to use the latest):
- Xcode.
- Mercurial.
- QtCreator.
- CMake.
- When this tutorial refers to the terminal, it's refering to the Mac OS X Terminal.
- When entering a command in the terminal, this tutorial refers to the current path location with the following notation:
$> cd /folder1/folder2 /folder1/folder2 $> pwd /folder1/folder2
Building Ogre
First, create a folder where the whole Ogre3D project will live:
$> sudo mkdir -p /opt/dev
You can create this folder in another location if you wish. This is not a blocker. The important thing is that you keep in mind where the folder was created to use it from now on.
Downloading Ogre3D’s Dependencies
Create the folder where the dependencies will reside:
/opt/dev/ $> mkdir dependencies
Go to the following link and download ogre3D’s dependencies:
Unzip the file you downloaded. This will contain a folder called “Dependencies”. Copy the content of that folder to the following location:
/opt/dev/dependencies
You should have something like this: