LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: Matzon on October 18, 2010, 19:16:17

Title: LWJGL 2.6
Post by: Matzon on October 18, 2010, 19:16:17
Time for yet another release

LWJGL 2.6

Download: https://sourceforge.net/projects/java-game-lib/files/
Changelog: http://www.lwjgl.org/changelogs/2.6-changelog.txt

Remember to donate (http://lwjgl.org/donations.php) ;)

Notice: We'd like to remind people to include the copyright, conditions and disclaimer statement for LWJGL in their products, as required by the license. Though we are not about to claim foul in any way, it would be nice to see a link back to lwjgl.org in the credits or documentation at the very minimum.
Title: Re: LWJGL 2.6
Post by: Matzon on October 18, 2010, 19:50:22
Quote from: Matzon on October 18, 2010, 19:16:17

  • New: LWJGL installable extension: http://lwjgl.org/webstart/<version>/extension.jnlp, starting from 2.6.

Just to clarify here - this is the new extension stuff. We will no longer be updating and using the /jnlp/extension.php
It will probably stay for a while, but die eventually. Please upgrade to use the above link instead.
Title: Re: LWJGL 2.6
Post by: kappa on October 18, 2010, 20:16:56
yay, nice job ppl.

Oh for those that have wanted to try LWJGL applets but weren't sure where to start, there is now a Full Tutorial for the LWJGL AppletLoader (http://www.ninjacave.com/appletloader), it should contain everything there is know about it plus various tips to improve and polish the LWJGL Applet experience.

There is also a Basic LWJGL Applet Tutorial (http://www.ninjacave.com/lwjglapplet) covering a simple applet example using Display.setParent().
Title: Re: LWJGL 2.6
Post by: mot on October 19, 2010, 11:59:34
Thanks!
Title: Re: LWJGL 2.6
Post by: jediTofu on October 19, 2010, 14:26:10
Awesome!  Thanks!   :o  :'(  :-*
Title: Re: LWJGL 2.6
Post by: erlend_sh on October 20, 2010, 12:05:23
Fantastic work guys, OpenCL could be huge.

We'll make sure to make LWJGL more visible from within the jMonkeyEngine project, starting with the jMonkeyPlatform and eventually the website and possibly docs. Let us know if you have any particular requests.
Title: Re: LWJGL 2.6
Post by: Fool Running on October 20, 2010, 12:36:54
Another good release.

Keep up the good work guys. 8)
Title: Re: LWJGL 2.6
Post by: Estraven on October 22, 2010, 08:52:53
Great ! Thanks you again.

Quote from: kappa on October 18, 2010, 20:16:56

Oh for those that have wanted to try LWJGL applets but weren't sure where to start, there is now a Full Tutorial for the LWJGL AppletLoader (http://www.ninjacave.com/appletloader), it should contain everything there is know about it plus various tips to improve and polish the LWJGL Applet experience.


Very nice ! I sure will read this carefully.  Thanks !!

Estraven
Title: Re: LWJGL 2.6
Post by: emzic on October 30, 2010, 16:45:08
good job and thanks  for the release!

just curious: why the requirement for java 1.5?
Title: Re: LWJGL 2.6
Post by: wondersonic on November 04, 2010, 10:50:27
Maybe it's time to add this logo on the home page (http://www.khronos.org/opencl/images/opencl_100px.png) ;)
Title: Re: LWJGL 2.6
Post by: BatKid on November 04, 2010, 17:08:04
Hi guys, thanks for the new release!

I am running into some trouble that I'm hoping one of you would have an answer to.  For the longest time, I was using version 2.2.1 and everything was fine (except that mouseGrab on applet does not work).

So I decided to upgrade to this latest version.  Things went smoothly for the most part (especially on my mac).  However, when I test it on my windows machine, I get a "Unable to locate OpenAL" error.  Has anything changed on the openal front that would cause this problem?

For now, I am using SoundSystem from paulscode (http://www.paulscode.com/) to fall back to Java Sound, so it's alright.  But I would like to know the root cause of this problem if possible.

Thanks
Title: Re: LWJGL 2.6
Post by: kappa on November 04, 2010, 17:36:50
Quote from: BatKid on November 04, 2010, 17:08:04
when I test it on my windows machine, I get a "Unable to locate OpenAL" error.  Has anything changed on the openal front that would cause this problem?

Don't think there has been any major changes to the way openal works, obvious question, do you have openal.dll native included? and is this error with applets? or generally with lwjgl as an application? does the 2.2.1 version of lwjgl work with openal on this particular windows machine?

Quote from: BatKid on November 04, 2010, 17:08:04
I am running into some trouble that I'm hoping one of you would have an answer to.  For the longest time, I was using version 2.2.1 and everything was fine (except that mouseGrab on applet does not work).
What mousegrab bug is this? which platform? and does it still happen in lwjgl 2.6?
Title: Re: LWJGL 2.6
Post by: BatKid on November 04, 2010, 18:47:20
Quote...do you have openal.dll native included? and is this error with applets? or generally with lwjgl as an application? does the 2.2.1 version of lwjgl work with openal on this particular windows machine?

Oh yes, the openal32.dll is included.  The error is with all applications (desktop, applet, webstart).  My windows is 32 bit xp running on a 3rd generation macbook pro.  lwjgl 2.2.1 works like a charm on this machine.

QuoteWhat mousegrab bug is this? which platform? and does it still happen in lwjgl 2.6?

The mousegrab bug happens on windows applets when running 2.2.1 - basically the mouse can freely leave the applet.  lwjgl 2.6 works well.
Title: Re: LWJGL 2.6
Post by: kappa on November 04, 2010, 18:55:13
Quote from: BatKid on November 04, 2010, 18:47:20
Oh yes, the openal32.dll is included.  The error is with all applications (desktop, applet, webstart).  My windows is 32 bit xp running on a 3rd generation macbook pro.  lwjgl 2.2.1 works like a charm on this machine.

hmm, in that case must have been a change made to lwjgl since 2.2.1, problem is that so many changes were made since lwjgl 2.2.1 that it's hard to track down when the relevant bug was introduced. It would help if you could narrow down which lwjgl release broke it for you (2.3, 2.4, 2.5, 2.6) that way it'll be easier to track down which change broke support and possibly fix it for you.
Title: Re: LWJGL 2.6
Post by: BatKid on November 04, 2010, 19:12:25
One suspicious hint is that when I tried to link to 2.2.2, things stilled worked, although I get an access violation error with openal32.dll when trying to exit the system.

When I linked to 2.6, the access violation is still there, but it crashed my entire program reporting that openAl cannot be created.

I will try to progressively test each version to nail it down.

Title: Re: LWJGL 2.6
Post by: BatKid on November 05, 2010, 18:42:38
Ok, so here is an update...

I ran software update on my windows xp sp3 installation, it downloaded a bunch on critical updates and now OpenAL is working fine!  So I guess it is a windows xp issue that got patched?

However, the access violation problem remains.  Every time I exit the program on windows, an access violation would occur on openal32.dll.  It does not affect the running of the program, so no harm done, but it is just annoying. 

This access violation started when I linked to 2.2.2 instead of 2.2.1, so that's where we could start looking?

Thanks
Title: Re: LWJGL 2.6
Post by: Sardtok on January 04, 2011, 12:33:26
Quote from: BatKid on November 05, 2010, 18:42:38
However, the access violation problem remains.  Every time I exit the program on windows, an access violation would occur on openal32.dll.  It does not affect the running of the program, so no harm done, but it is just annoying. 

A way around this is removing the OpenAL32.dll file and replacing it with the one in your WINDOWS\system32 directory,
but the problem is this isn't really a solution for non-techies. So your users would be plagued with this issue. I set up a script to remove the file and copy it from system32 for Minecraft.

Anyway,
great update!
I especially like the new jnlp distribution, and OpenCL is pretty cool (I don't think I'll use it personally, but it's still awesome).