I am trying to set up an Ogre application (1.4.7) in XCode (3.0) on Mac OS X (10.5.2) and am running into problems. I hope someone with more experience w/ Ogre on the Mac can help me with this.
I can build Ogre from source and run the samples just fine on the mac. However creating my own project just is not working for me.
I believe I have all of the required Ogre frameworks and libs included (per instructions) and have drag & dropped all of Ogre's framework, library, and header file search paths into the project/target settings.
Just a note, I have not "installed" the ogre frameworks into my system after building them - I just refer directly to the ogre framework's build location from my project.
I have tried the following with no success:
1) Following the instructions for "setting up an app" on the wiki.
2) Making a copy of the Ogre Samples project and stripping it down and adding my own code.
In each case, as soon as I include Ogre.h (or <Ogre/Ogre.h>) I start getting the following compiler errors:
Code: Select all
/Developer/SDKs/MacOSX10.5.sdk/usr/include/libkern/i386/OSByteOrder.h:42: error: 'uint16_t' does not name a type
/Developer/SDKs/MacOSX10.5.sdk/usr/include/libkern/i386/OSByteOrder.h:55: error: 'uint32_t' does not name a type
/Developer/SDKs/MacOSX10.5.sdk/usr/include/libkern/i386/OSByteOrder.h:68: error: 'uint64_t' does not name a type
/Developer/SDKs/MacOSX10.5.sdk/usr/include/libkern/i386/OSByteOrder.h:87: error: 'uint16_t' has not been declared
/Developer/SDKs/MacOSX10.5.sdk/usr/include/libkern/i386/OSByteOrder.h:90: error: expected primary-expression before 'volatile'
/Developer/SDKs/MacOSX10.5.sdk/usr/include/libkern/i386/OSByteOrder.h:90: error: expected `)' before 'volatile'
I'm sure it is probably something simple that I am (or am not) doing, but I just can't seem to get it. I sure would appreciate it if someone could offer a few suggestions.
Thanks