Problem compiling OgreODE on Mac OS X
-
- Gnoblar
- Posts: 21
- Joined: Sat May 07, 2005 4:41 am
Problem compiling OgreODE on Mac OS X
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.
-
- Goblin
- Posts: 245
- Joined: Mon Nov 22, 2004 11:56 pm
- Location: New York, NY, USA
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.

--Ben
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.

--Ben
-
- Gnoblar
- Posts: 21
- Joined: Sat May 07, 2005 4:41 am
-
- OGRE Community Helper
- Posts: 1098
- Joined: Mon Sep 22, 2003 2:40 am
- Location: Melbourne, Australia
-
- Gnoblar
- Posts: 21
- Joined: Sat May 07, 2005 4:41 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.
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.
-
- Gnoblar
- Posts: 21
- Joined: Sat May 07, 2005 4:41 am