LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: Matzon on May 19, 2005, 16:10:39

Title: LWJGL 0.97 released!
Post by: Matzon on May 19, 2005, 16:10:39
Basically bugfixes and full support for all libraries on all platforms:

Noteworthy:
- Fmod for mac
- Mouse.setCursorLocation
- Miscellaneous Mac fixes
- Native cursor support on Mac OS X 10.4

get it here: https://sourceforge.net/project/showfiles.php?group_id=58488
Title: LWJGL 0.97 released!
Post by: kappa on May 19, 2005, 16:34:30
yipee, way to go. lwjgl is on a roll!
Title: LWJGL 0.97 released!
Post by: elias4444 on May 19, 2005, 18:51:44
Great job! However, I'm getting a new error on Linux that I never got before:

java.lang.NullPointerException
at org.lwjgl.opengl.GL11.glGenTextures(GL11.java:1791)
at tools.TextureLoader.createTextureID(TextureLoader.java:83)
at tools.TextureLoader.getTexture(TextureLoader.java:332)
at tools.TextureLoader.getTexture(TextureLoader.java:300)
at tools.FontTranslator.<init>(FontTranslator.java:116)
at mainmenu.MainMenu.<init>(MainMenu.java:112)
at mainmenu.MainMenu.main(MainMenu.java:537)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.javaws.Launcher.executeApplication(Launcher.java:1108)
at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1055)
at com.sun.javaws.Launcher.continueLaunch(Launcher.java:898)
at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:469)
at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:217)
at com.sun.javaws.Launcher.run(Launcher.java:164)
at java.lang.Thread.run(Thread.java:595)


No problems on Windows however - and I didn't have this error on linux with 0.96.

Any help would be appreciated.
Title: LWJGL 0.97 released!
Post by: elias4444 on May 19, 2005, 19:55:37
A little extra info - Running directly from Eclipse in my Debian install, I get the following:
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
org.lwjgl.LWJGLException: Could not create a direct GLX context
at org.lwjgl.opengl.LinuxContextImplementation.nCreate(Native Method)
at org.lwjgl.opengl.LinuxContextImplementation.create(LinuxContextImplementation.java:50)
at org.lwjgl.opengl.Context.<init>(Context.java:123)
at org.lwjgl.opengl.Display.create(Display.java:630)
at org.lwjgl.opengl.Display.create(Display.java:607)
at org.lwjgl.opengl.Display.create(Display.java:591)
at tools.ScreenManager.<init>(ScreenManager.java:113)
at mainmenu.MainMenu.<init>(MainMenu.java:110)
at mainmenu.MainMenu.main(MainMenu.java:537)

Could this be related to the fix we used for 0.96 under Debian?
Title: LWJGL 0.97 released!
Post by: Matzon on May 19, 2005, 20:02:01
err- not sure.. I'll let Elias or some other linux dude take this one...
if you cannot tun in HW mode, you need to pass:
-Dorg.lwjgl.opengl.Display.allowSoftwareOpenGL=true as specified in the hidden switches document
Title: LWJGL 0.97 released!
Post by: tomb on May 19, 2005, 20:32:34
Matzon, have you had the time to look at the window icon code yet? Maybe include it in the next version?
Title: LWJGL 0.97 released!
Post by: elias4444 on May 19, 2005, 21:10:05
As for the Linux bug... it looks like another Debian thing, as I was able to get it working under Ubuntu just fine.

I can't wait until Debian moves over to Xorg.  :D
Title: LWJGL 0.97 released!
Post by: Matzon on May 19, 2005, 21:54:53
Quote from: "tomb"Matzon, have you had the time to look at the window icon code yet? Maybe include it in the next version?
I have it lying on my desktop, I just decided it wasn't a blocker for 0.97.
I will look at it soon, and hopefully get it in for 0.98.
Title: Re: LWJGL 0.97 released!
Post by: blah on August 04, 2005, 14:42:04
Quote from: "Matzon"Basically bugfixes and full support for all libraries on all platforms:

Just asked Cas for this, but realised probably wiser to post in the forums since I can't see mention of it...

Is there a JNLP-EXT URL anywhere for this yet?

I'll set one up at the weekend (if someone/anyone would like to help me by mailing me some packaged JARs with just the binary elements), but right now I need a stable URL for *today* onwards :( so we can launch an LWJGL game this afternoon.