Hello,
In jogl/src/newt/native/NewtMacWindow.h, line 58, the following preprocessor conditional is defined
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6
@interface NewtMacWindow : NSWindow <NSWindowDelegate>
#else
@interface NewtMacWindow : NSWindow
#endif
as per the Apple release notes
http://developer.apple.com/mac/library/releasenotes/Cocoa/Foundation.html section Formal Protocol Adoption.
Problem is, and this is Apple's fault for not making it clear in those release notes, MAC_OS_X_VERSION_10_6 is not defined in AvailabilityMacros.h on systems older than 10.6 (to Apple, "targeting 10.5" means compiling on 10.6 and deploying on 10.5), so that preprocessor symbol defaults to zero which is the opposite of the intended behavior of that #ifdef. See this Ogre3d thread:
http://www.ogre3d.org/forums/viewtopic.php?f=4&t=51166 . I got it to compile with the following:
#if defined(MAC_OS_X_VERSION_10_6) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6
@interface NewtMacWindow : NSWindow <NSWindowDelegate>
#else
@interface NewtMacWindow : NSWindow
#endif
The wiki
http://jogamp.org/jogl/doc/HowToBuild.html claims that OS X is supported all the way back to 10.3. If this means that _building_ is supported on pre-10.6 systems, rather than just deployment, then this #ifdef needs to be changed.