Hey guys,
i want to use ogre sdk under mac os x. Therefore I downloaded the latest SDK.dmg and installed it. Furthermore I installed the Template for Xcode. I created a simple testing application and want to build it with XCode.
So i press the play button and the build fails.
failure message:
/Users/ddymke/Documents/spritkit/ogre-mac/ogre-mac/OgreFramework.h:8:10: 'OgreCamera.h' file not found
Inside of the template are the header search path
"$(OGRE_SDK_ROOT)/include/OGRE"
It should be a path variable, shouldn't it?
I created a path variable
echo $OGRE_SDK_ROOT
/Users/ddymke/Tools/OgreSDK
but i don't work either.
Any suggestions?
thx for your help
Edit 1:
If I try to start the precompiled sample browser i get
workstation:~ ddymke$ /Users/ddymke/Tools/OgreSDK/bin/macosx/OgreXMLConverter ; exit;
dyld: Library not loaded: @executable_path/../Frameworks/Ogre.framework/Versions/1.9.0/Ogre
Referenced from: /Users/ddymke/Tools/OgreSDK/bin/macosx/OgreXMLConverter
Reason: image not found
Trace/BPT trap: 5
logout
: /
Building Ogre 1.9 under Mac OS X
-
- Gnoblar
- Posts: 16
- Joined: Wed Jul 15, 2009 6:51 pm
Re: Building Ogre 1.9 under Mac OS X
I am currently not on my mac so maybe the steps are not correct.
I set the OGRE_SDK_ROOT variable inside xcode. Therefore go to the buildsettings and click on the '+' in the upper line to add a custom field. This will be added at the end of the settings. Use OGRE_SDK_ROOT as name and as value the path. Then xcode should find ur includes/libs/framework
I set the OGRE_SDK_ROOT variable inside xcode. Therefore go to the buildsettings and click on the '+' in the upper line to add a custom field. This will be added at the end of the settings. Use OGRE_SDK_ROOT as name and as value the path. Then xcode should find ur includes/libs/framework