I am trying to use the java wrapper from http://jsdl.sourceforge.net
I believe that SDL is running into problems opening a Cocoa window,
etc. Is it possible to write a command line C or Java program that can
open a SDL in Cocoa or does it have to be wrapped in a .app?
The error I get:
SDL Version used: 1.2.5
-JNI- JNI_OnLoad
kCGErrorInvalidConnection : CGSNewWindow: Invalid connection
2002-11-04 20:01:07.414 java[4411] _NXCreateWindow: error creating
window (1002)
kCGErrorInvalidConnection : CGSSetWindowProperty: Invalid connection
kCGErrorInvalidConnection : CGSInvalidateWindowShadow: Invalid
connection
kCGErrorInvalidConnection : CGSSetWindowListAlpha: Invalid connection
kCGErrorIllegalArgument : CGSLockWindowRectBits: Invalid window
kCGErrorFailure : Failed to create window context device.
kCGErrorFailure : CGWindowContextCreate: failed to create context.
2002-11-04 20:01:07.433 java[4411] _initWithWindowNumber: error
creating graphics ctxt object for ctxt:0, window:-1
kCGErrorFailure : CGContextResetClip: invalid context
kCGErrorFailure : CGContextReplaceTopGState: invalid context
kCGErrorInvalidConnection : CGSGetWindowProperty: Invalid connection
kCGErrorInvalidConnection : CGSSetHideOnDeact: error getting current
hide-on-deactivate state
kCGErrorInvalidConnection : CGSSetWindowProperty: Invalid connection
kCGErrorInvalidConnection : CGSSetEventMask: error setting client event
mask window property
kCGErrorInvalidConnection : CGSSetWindowEventMask: Invalid connection
kCGErrorInvalidConnection : CGSSetEventMask: error setting window event
mask
kCGErrorInvalidConnection : CGSSetWindowToReleaseBackingOnOrderOut:
Invalid connection
2002-11-04 20:01:07.493 java[4411] *** _NSAutoreleaseNoPool(): Object
0x3a0eea0 of class NSCFArray autoreleased with no pool in place - just
leaking
and so on…