Slick Forums

Discuss the Slick 2D Library
It is currently Sun May 19, 2013 8:27 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sat Sep 15, 2012 6:08 pm 
Offline
Oldbie

Joined: Thu Mar 15, 2012 12:38 am
Posts: 260
Hi,

I am trying to update to the latest Slick.jar which uses the the latest version of LWGJL(2.8.5) and some bug fixes:
https://bitbucket.org/kevglass/slick/changesets

You'll see the commit of:
https://bitbucket.org/kevglass/slick/ch ... c5ef8a7071

But, I get some odd graphic issues with TWL:
Image

I've had this issue before. It happened when the binaries are out of sync with something. I've replaced all of my binaries that Slick uses and I am still having the issue. So I downloaded TWL and then put the new TWL jars - no go still having the above issue.

So then I checked the lwjgl.jar file for the TWL build and it was version 23 while the Slick's LWJGL binaries are now 24:
Code:
Exception in thread "main" java.lang.LinkageError: Version mismatch: jar version is '23', native library version is '24'
   at org.lwjgl.Sys.<clinit>(Sys.java:118)
   at org.lwjgl.opengl.Display.<clinit>(Display.java:135)
   at org.newdawn.slick.AppGameContainer$1.run(AppGameContainer.java:37)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.newdawn.slick.AppGameContainer.<clinit>(AppGameContainer.java:34)
   at vizkiansectors.drivers.VSDriver.main(VSDriver.java:47)


I think this is my problem (not sure what else to try at this point). I did restore everything from a previous update that runs with LWJGL 2.8.2 and from a Slick build from a few months ago. It worked. I also managed to use the new Slick build without updating the LWJGL binaries and it worked.

So I think TWL needs to be updated if I want to use the most recent LWJGL build?

Thanks!


Top
 Profile  
 
PostPosted: Sun Sep 16, 2012 2:07 am 
Offline
Slick Zombie

Joined: Fri Jan 29, 2010 7:02 pm
Posts: 1171
TWL does not depend on any recent LWJGL version and can be used with basically anythign >= LWJGL 2.6.x

This error looks more like a mismatch between the view port and projection (glOrtho) settings. Make sure that the viewport size passed to LWJGLRenderer matches the configured viewport and display size.

_________________
TWL - The Themable Widget Library


Top
 Profile  
 
PostPosted: Sun Sep 16, 2012 2:56 pm 
Offline
Oldbie

Joined: Thu Mar 15, 2012 12:38 am
Posts: 260
MatthiasM wrote:
TWL does not depend on any recent LWJGL version and can be used with basically anythign >= LWJGL 2.6.x

This error looks more like a mismatch between the view port and projection (glOrtho) settings. Make sure that the viewport size passed to LWJGLRenderer matches the configured viewport and display size.


:?: :?: :?: :?: I put in the new binaries again this morning and it magically worked. I'm not really sure what happened or why it didn't work at first. Maybe I just screwed up my copy and paste. Sorry for wasting your time.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group