Problem with LWJGL on OS X

I’m having a problem that is seriously slowing down my ability to use this library and run many applications written in it. The error usually looks like this:

org.lwjgl.LWJGLException: Could not load agl symbols
        at org.lwjgl.opengl.Window.nCreate(Native Method)
        at org.lwjgl.opengl.Window.createWindow(Unknown Source)
        at org.lwjgl.opengl.Window.create(Unknown Source)
        at org.lwjgl.opengl.Window.create(Unknown Source)
        at DynamicCubeMap.<init>(DynamicCubeMap.java:73)
        at DynamicCubeMap.main(DynamicCubeMap.java:54)

What is causing this and how do I fix it? I have lwjgl-macos-native.jar, lwjgl.jar, and lwjgl_test.jar in my LIbrary/Java/Extentions/ folder, and they are up to date.

I suspect the problem has to do with the Window.create() method.

Thanks for any help.

I’m guessing the native library can’t be loaded.
Look here: http://www.lwjgl.org/installation.php

[quote]I’m guessing the native library can’t be loaded.
Look here: http://www.lwjgl.org/installation.php
[/quote]
When I run the OS X window creation test the screen turns black. I suppose it goes into fullscreen mode, but it’s not supposed to do that. After pressing the escape key I see this output in the terminal:

Found 70 display modes
Window created
240, 320, WindowCreationTest

The OSX version is woefully undersupported by a vast clan of developers who don’t want to work on it :slight_smile: Maybe you can be the one!

Cas :slight_smile:

[quote]The OSX version is woefully undersupported by a vast clan of developers who don’t want to work on it :slight_smile: Maybe you can be the one!

Cas :slight_smile:
[/quote]
But… how can this be…? OS X kicks so much ass :wink:

Oh well, I’ll give Xith3D a try then…

The thing is Xith3D uses JOGL. JOGL had a Apple insider do the Mac port. The Mac windowing model and thread interaction with Swing and AppKit threads is basically a royal pain in the butt and that’s where Apple’s own engineers have a huge advantage…
There is a bit of a learning curve to getting LWJGL working on Mac.

Feel free to look at the JOGL and JInput code :slight_smile: That’s why it’s open source!

Cas :slight_smile: