I forgot I would be heading into uni today, so I've just tried the binary on the Mac here.
It crashes in what seems to be a rather bad way.. having had little experience with Mac development, I'm not quite sure what's wrong, but I do have a backtrace if it's of any use to you:
Code:
Date/Time: 2008-07-20 11:48:42.940 +0100
OS Version: 10.4.11 (Build 8S2167)
Report Version: 4
Command: MacIntegration
Path: /Users/s.campbell/Desktop/MacIntegration.app/Contents/MacOS/MacIntegration
Parent: WindowServer [66]
Version: ??? (1.0)
PID: 226
Thread: 0
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000
Thread 0 Crashed:
0 com.yourcompany.Horde3D 0x00210fdf EngineLog::writeDebugInfo(char const*, ...) + 21
1 com.yourcompany.Horde3D 0x00219701 setNodeTransform + 245
2 com.yourcompany.MacIntegration 0x000036c4 -[MyOpenGLView drawRect:] + 1210
3 com.apple.AppKit 0x932f5e91 -[NSView _drawRect:clip:] + 3228
4 com.apple.AppKit 0x932f4eeb -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 614
5 com.apple.AppKit 0x93306e4f _recursiveDisplayInRect2 + 149
6 com.apple.CoreFoundation 0x9083eaa8 CFArrayApplyFunction + 307
7 com.apple.AppKit 0x932f50f3 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1134
8 com.apple.AppKit 0x93306e4f _recursiveDisplayInRect2 + 149
9 com.apple.CoreFoundation 0x9083eaa8 CFArrayApplyFunction + 307
10 com.apple.AppKit 0x932f50f3 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1134
11 com.apple.AppKit 0x932f3f53 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 217
12 com.apple.AppKit 0x932f3658 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 290
13 com.apple.AppKit 0x932f2e42 -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 523
14 com.apple.AppKit 0x932f276e -[NSView displayIfNeeded] + 439
15 com.apple.AppKit 0x932f2512 -[NSWindow displayIfNeeded] + 168
16 com.apple.AppKit 0x93297e54 -[NSWindow _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 1225
17 com.apple.AppKit 0x9329793a -[NSWindow orderWindow:relativeTo:] + 104
18 com.apple.AppKit 0x93370038 -[NSWindow orderFront:] + 49
19 com.apple.AppKit 0x9326e20e -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1171
20 com.apple.AppKit 0x93265479 loadNib + 260
21 com.apple.AppKit 0x93264ea9 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 918
22 com.apple.AppKit 0x93264b0a +[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:] + 164
23 com.apple.AppKit 0x93264a4c +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 392
24 com.apple.AppKit 0x93264794 NSApplicationMain + 433
25 com.yourcompany.MacIntegration 0x00002006 _start + 216
26 com.yourcompany.MacIntegration 0x00001f2d start + 41
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0x00210fd3 ecx: 0x0031ae00 edx: 0x00000000
edi: 0x00000000 esi: 0x00000000 ebp: 0xbfffec78 esp: 0xbfffec50
ss: 0x0000001f efl: 0x00010286 eip: 0x00210fdf cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
Model: iMac5,1, 2 processors, Intel Core 2 Duo, 2 GHz, 1 GB
Graphics: ATI Radeon X1600, ATY,RadeonX1600, PCIe, 128 MB
Tried to remove any useless stuff, but may have removed a bit too much ( or maybe even not enough, heh) .. if you do need the rest of it, let me know and I'll post the entire backtrace
Course, running it from a terminal gives perhaps slightly more useful errors:
Code:
2008-07-20 11:56:02.319 MacIntegration[248] invalid pixel format attribute
2008-07-20 11:56:02.319 MacIntegration[248] invalid pixel format
2008-07-20 11:56:02.320 MacIntegration[248] invalid context
2008-07-20 11:56:02.323 MacIntegration[248] invalid pixel format attribute
2008-07-20 11:56:02.323 MacIntegration[248] invalid pixel format
2008-07-20 11:56:02.323 MacIntegration[248] invalid context
Bus error
As far as I'm aware, IT are upgrading the Macs to 10.5 sometime this week, which may help.. I may ask nicely for them to shove XCode on this one as well
but basically, this seems to be a clean install of Mac OS X 10.4.11 with very little actually on it.. which was generally why I was trying to cross-compile on my Linux machine so I'd be able to see if it'd work without any extra stuff that XCode may install.
I hope some of those error logs were of use to you, but I think it might just be something like it's built for 10.5 so 10.4 wont run it, or a library isn't fully up to date on this machine.