Page 1 of 1
Problem compiling OgreODE on Mac OS X
Posted: Mon May 09, 2005 9:06 pm
I'm having trouble compiling OgreODE on my Mac OS 10.3 with XCode 1.5 system. I followed the instructions in the Ogre Addons and downloaded it through CVS (along with the other addons). I've read through the instructions, and searched the forum for information, but no luck. I get well over 200 errors (generally undefined externals) - I know its probably a problem with the library and framework settings, but I don't know which ones to change. Any advice would be greatly appreciated.
Posted: Tue May 10, 2005 4:24 pm
Ok, from a clean install, put all the deps into your /library/Frameworks/ folder.
Install the x11 sdk from Panther disc #3.
Put ogrenew anywhere you'd like.
Open up the project in xcode. There may be some files/libraries in red, option-click on those and point xcode to wherever they actually reside.
Compile. It may complain that it can't find one or another sdl file. Add that particular file to the ogre project manually, making sure to add it to every target just to be safe. (not efficient, I know, but it worked for me).
If that file resides in a framework, you will find that xcode is unable to traverse the directory if that framework is all ready added. The solution is to find that file manually in Finder, and make an alias to the folder it resides in, and put the alias on your desktop. Now back in xcode, you can traverse the alias just fine and manually add the file. Now you can actually get rid of the alias and things still work.
Compile it up.
This process worked for me on OS 10.3, xcode 1.5, Ogre 1.0.1.
Posted: Tue May 10, 2005 10:37 pm
Thanks for the advice, but I've managed to compile the Ogre framework (using a method much like you suggested). The problem is I cannot compile the OgreODE addon, which is a popular physics engine wrapper for Ogre. I know its possible tho (people on this board have done it).
Posted: Wed May 11, 2005 2:24 am
What undefined externals are you getting? Are you linking to Ogre and ODE?
Posted: Wed May 11, 2005 3:25 am
Firstly, I have to remove the "ode/" in front of the include files to get it to find the ode headers. Once I've made that change, dTerrainCallbackClass is still undefined.
I'm trying to create a framework for OgreODE. I've added the Ogre.framework as a linked framework, as well as adding the Ogre and SDL headers to the search paths. I've also made all the changes the OgreODE document suggested to the Ogre source code.
Posted: Wed May 25, 2005 11:30 pm
I've done a search, and I've seen a few post from mac users using OgreODE, could one of you post an XCode project, or something of that nature?