[sdljava-users] initial attempt to build sdljava under osx
Status: Beta
Brought to you by:
ivan_ganza
From: gian p. c. <gp....@ac...> - 2005-03-20 17:27:57
|
Hello all, I've tweaked the Makefile (it's in attach) to build JNI libraries under OSX, (I started building SDL from sources, with binary frameworks it's something similar) but when I try the video test I take dottie:~/works/sdljava-0.9.1 gpciceri$ java -Djava.library.path=./lib -cp ./classes/ sdljava.video.SDLVideoTest Video subsystem initialized 2005-03-20 18:20:50.004 java[21213] *** _NSAutoreleaseNoPool(): Object 0x313f50 of class NSCFArray autoreleased with no pool in place - just leaking ... 2005-03-20 18:20:50.209 java[21213] *** _NSAutoreleaseNoPool(): Object 0x341930 of class NSException autoreleased with no pool in place - just leaking 2005-03-20 18:20:50.211 java[21213] *** Uncaught exception: <NSInternalInconsistencyException> Error (1002) creating CGSWindow Trace/BPT trap I've googled a little, and it seems that it's a standard issue when you don't call SDLmain() under OSX to initialize SDL - but at present I cannot say where to change the sdljava interface to be sure to have cocoa environment initialized. If anyone out there is able to help, it will be appreciated. Regards /gp BTW, my sdl-config says dottie:~/works/sdljava-0.9.1 gpciceri$ sdl-config --cflags --libs -I/usr/local/include/SDL -D_THREAD_SAFE -L/usr/local/lib -lSDLmain -lSDL -framework Cocoa -framework OpenGL -- Gian Paolo Ciceri Via G.Marconi 5 - 22036 ERBA CO ITALY mobile : ++39 340 7218101 eMail : gp....@ac..., : gp....@su... webSite: http://www.suddenthinks.com ICQ # : 94620118 jabber : gp....@ja... |