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: Building From Source - Mac OSX - Shoggoth
View page
Source of version: 4
(current)
%prevogre% {DIV(class="Layout_box5")}At this time OS X currently only has build support for Xcode.{DIV} {maketoc} !!Eihort Instructions !!!Prerequisites * Check your OS X and Xcode install the following packages: ** Mac OS X 10.4+, Xcode 2.3 required, 2.4+ recommended (Xcode available from [http://developer.apple.com|Apple]). ** You must also install the optional 10.4u System SDK, this is an option available at the time of Xcode installation. * Make sure you've downloaded the latest dependencies archive for OS X ** Unzip the source archive where you would like it to be ** Unzip the dependencies archive such that the Dependencies folder is inside 'ogre', at the same level as the Mac and OgreMain folders. !!!Building Open the [http://www.ogre3d.org/index.php?option=com_content&task=view&id=412&Itemid=132|Ogre Linux / OS X source] to ".../ogre/Mac/Ogre/". * Open the "Ogre.xcodeproj" file. * Make sure the frameworks and dependencies you installed are seen by Xcode, If they are not they will appear in red. (Note: they may appear in red anyhow. Try building the project). * Fix the "OctreeZone plugin" target: Open the Target info window of the OctreeZone plugin (right click & choose "Get Info"). Find the Info.plist section and change the contents to './plist/OctreeZone Plugin-Info.plist' (without the quotes). * Select the configuration you want to build, Debug or Release. ** From the Xcode menu select Project -> Set Active Build Configuration -> Build for Release * Hit build. !!!Installation * Navigate to "~np~.../ogre/Mac/build/Debug(or Release)/~/np~" and drag the "Ogre.framework" file to ~np~/Library/Frameworks/, ~/Library/Frameworks~/np~, or bundle the framework with your application. ** Note: By default the samples from ".../ogre/Mac/Samples/Samples.xcodeproj" will symbolically link frameworks inside their Foo.app/Contents/Frameworks folder. This is to save disk space compared to copying the frameworks there (to make a drag & droppable .app). When you make a real deployable app you will actually want to copy frameworks into that location. !!Dagon Instructions !!!Prerequisites * Check your OS X and Xcode install the following packages: ** Mac OS X 10.4, Xcode 2.3 required (Xcode available from [http://developer.apple.com|Apple]). * Retrieve the necessary [http://prdownloads.sourceforge.net/ogre/Dagon_Mac_Dependencies_10.4_Universal_v4.zip|external frameworks] from SourceForge. ** Unzip the file somewhere. ** Install the frameworks by dragging the .framework folders to /Library/Frameworks/. * Check if the zzlibip lbrary is installed on your system by using for example the fink project: {CODE(wrap="1")} sudo port install zziplib {CODE} !!!Building Open the [http://www.ogre3d.org/index.php?option=com_remository&Itemid=57&func=fileinfo&filecatid=44&parent=category|Ogre source] to ".../ogre/Mac/Xcode/Ogre/". * Open the "Ogre.xcodeproj" file. * Make sure the frameworks you installed are seen by Xcode. Hit the little gear button on the project window with the "Frameworks" folder selected, and hit Add -> Existing Framework. Select the frameworks that you just installed, and hit Ok. * Hit build. If you want, you can also build the source in the Deployment configuration, which makes it easier to package your apps together when you want to distribute your Ogre-based apps. To do this: * ~np~Hit Project -> Set Active Build Configuration -> Deployment.~/np~
Search by Tags
Search Wiki by Freetags
Latest Changes
Ogre 2.1 FAQ
Minimal Ogre Collision
Artifex Terra
OpenMB
Advanced Mogre Framework
MogreSocks
Critter AI
Mogre Add-ons
MOGRE
Mogre MyGUI wrapper
...more
Search
Find
Advanced
Search Help
Online Users
124 online users