OGRE Wiki
Support and community documentation for Ogre3D
Ogre Forums
ogre3d.org
Log in
Username:
Password:
CapsLock is on.
Remember me (for 1 year)
Log in
Home
Tutorials
Tutorials Home
Basic Tutorials
Intermediate Tutorials
Mad Marx Tutorials
In Depth Tutorials
Older Tutorials
External Tutorials
Cookbook
Cookbook Home
CodeBank
Snippets
Experiences
Ogre Articles
Libraries
Libraries Home
Alternative Languages
Assembling A Toolset
Development Tools
OGRE Libraries
List of Libraries
Tools
Tools Home
DCC Tools
DCC Tutorials
DCC Articles
DCC Resources
Assembling a production pipeline
Development
Development Home
Roadmap
Building Ogre
Installing the Ogre SDK
Setting Up An Application
Ogre Wiki Tutorial Framework
Frequently Asked Questions
Google Summer Of Code
Help Requested
Ogre Core Articles
Community
Community Home
Projects Using Ogre
Recommended Reading
Contractors
Wiki
Immediate Wiki Tasklist
Wiki Ideas
Wiki Guidelines
Article Writing Guidelines
Wiki Styles
Wiki Page Tracker
Ogre Wiki Help
Ogre Wiki Help Overview
Help - Basic Syntax
Help - Images
Help - Pages and Structures
Help - Wiki Plugins
Toolbox
Freetags
Categories
List Pages
Structures
Trackers
Statistics
Rankings
List Galleries
Ogre Lexicon
Comments
History: Tutorial 3
View page
Source of version: 5
(current)
!!How to create the Tutorial Project Using the ''File->New'' command, create a Windows project called in this case -+Tutorial3+-. This name could change from tutorial to tutorial. Make sure that ''Add to current workspace'' is selected as shown below. {img fileId="1619" thumb="y" alt="xorekis3_1.png" rel="box[g]"} In the next popup you will be asked ''What kind of Windows application would you like to create?'', make sure that ''An empty Project'' is selected. Now that we have a project, we need to setup some includes and libraries. First let’s add the additional include directories for Ogre and the tutorial. Open the settings for our Tutorial Project. Go to the C++ Tab, and select Preprocessor from the Category drop down. Set -+C/C++/Code Generation/Enable C++ Exceptions+- to "No". If this is left as the default "Yes", Ogre's exceptions will replaced by generic unknown exceptions, making debugging very challenging. __Note: The C++ tab may not show up until you have entered some code. In that case, do this step later.__ Now add -+../../OgreNew/OgreMain/Include;../../Common+- to the Additional Include Directories as shown below. {img fileId="1620" thumb="y" alt="xorekis3_2.png" rel="box[g]"} Next, go to the link tab and select Input from the category dropdown. Now add -+OgreMain.lib+- to the Objects/Library Modules. Enter the following into Additional Library Paths field -+..\..\OgreNew\OgreMain\lib\debug+-. {img fileId="1621" thumb="y" alt="xorekis3_3.png" rel="box[g]"} Change the Category to General, add the path -+../bin+- to the Output file name as shown below. {img fileId="1622" thumb="y" alt="xorekis3_4.png" rel="box[g]"} Click on the debug tab, and enter -+..\bin\debug+- to the Working Directory field as shown below. Make sure that the executable for debug session is pointing to -+C:\OgreTutorials\bin\debug\Tutorial3.exe+-. {img fileId="1623" thumb="y" alt="xorekis3_5.png" rel="box[g]"} We are now in a state that we can start creating our application.. On to the next Tutorial: ((Tutorial 4))
Search by Tags
Search Wiki by Freetags
Latest Changes
Minimal Ogre Collision
Artifex Terra
OpenMB
Advanced Mogre Framework
MogreSocks
Critter AI
Mogre Add-ons
MOGRE
Mogre MyGUI wrapper
MOGRE Editable Terrain Manager
...more
Search
Find
Advanced
Search Help
Online Users
49 online users