Mac OSX 10.5.8 Java6 Tests fail

Started by sqlboy, August 15, 2009, 07:55:00

Previous topic - Next topic

sqlboy

java -cp .:res:jar/lwjgl.jar:jar/lwjgl_test.jar:jar/lwjgl_util.jar:jar/lwjgl_fmod3.jar:jar/lwjgl_devil.jar:jar/jinput.jar: -Djava.library.path=native/macosx org.lwjgl.test.WindowCreationTest

The following keys are available:
ESCAPE:         Exit test
ARROW Keys:     Move window when in non-fullscreen mode
L:              List selectable display modes
0-8:            Selection of display modes
F:              Toggle fullscreen
SHIFT-F:        Toggle fullscreen with Display.destroy()/create() cycle
Found 28 display modes
Problem retrieving mode with 640x480x24@-1
Problem retrieving mode with 800x600x24@-1
Problem retrieving mode with 1024x768x24@-1
2009-08-15 00:51:19.698 java[5783:413] invalid code module
2009-08-15 00:51:19.699 java[5783:413] invalid code module
org.lwjgl.LWJGLException: Could not create pixel format
        at org.lwjgl.opengl.MacOSXPeerInfo.nChoosePixelFormat(Native Method)
        at org.lwjgl.opengl.MacOSXPeerInfo.choosePixelFormat(MacOSXPeerInfo.java:55)
        at org.lwjgl.opengl.MacOSXPeerInfo.<init>(MacOSXPeerInfo.java:50)
        at org.lwjgl.opengl.MacOSXCanvasPeerInfo.<init>(MacOSXCanvasPeerInfo.java:49)
        at org.lwjgl.opengl.MacOSXDisplayPeerInfo.<init>(MacOSXDisplayPeerInfo.java:48)
        at org.lwjgl.opengl.MacOSXDisplay.createPeerInfo(MacOSXDisplay.java:246)
        at org.lwjgl.opengl.Display.create(Display.java:837)
        at org.lwjgl.opengl.Display.create(Display.java:767)
        at org.lwjgl.opengl.Display.create(Display.java:748)
        at org.lwjgl.test.WindowCreationTest.initialize(WindowCreationTest.java:92)
        at org.lwjgl.test.WindowCreationTest.main(WindowCreationTest.java:284)


Anyone know what the problem is?

sqlboy

Sorry, forgot to mention java version.

Java(TM) SE Runtime Environment (build 1.6.0_13-b03-211)
Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02-83, mixed mode)

The default osx java 1.5 does work however.

sqlboy

I just realized what its.

The dynlib files are 32bit...and Java 1.6 for mac is 64bit only. Java1.5 works, but if I force Java 1.5 into 64bit mode it fails with the same error.

This game should probably be 32bit anyway if I'm going to distribute it.