LWJGL 0.97 released!

Started by Matzon, May 19, 2005, 16:10:39

Previous topic - Next topic

Matzon

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

kappa

yipee, way to go. lwjgl is on a roll!

elias4444

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.
=-=-=-=-=-======-=-=-=-=-=-
http://www.tommytwisters.com

elias4444

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?
=-=-=-=-=-======-=-=-=-=-=-
http://www.tommytwisters.com

Matzon

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

tomb

Matzon, have you had the time to look at the window icon code yet? Maybe include it in the next version?

elias4444

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
=-=-=-=-=-======-=-=-=-=-=-
http://www.tommytwisters.com

Matzon

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.

blah

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.