Slick Forums

Discuss the Slick 2D Library
It is currently Wed Jun 19, 2013 3:36 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Fri Apr 06, 2012 11:14 am 
Offline

Joined: Fri Apr 06, 2012 10:55 am
Posts: 2
Hello!

Me and a few friends entered the MolyJam 2012 last weekend, of course using Slick. ;)

I do however have a couple of questions. First of all, is there any particular reason for compiling Slick against such an old version of LWJGL and bundling that old version with the Slick distribution? Until now I haven't really had any issues with it because it has always been easy to just replace the bundled LWJGL version with a newer one, but this time it caused some issues. We were using the AudioLoader class and we ended up getting an exception on Windows systems saying that the method LWJGLUtil.log didn't exist. After a lot of headache we managed to find that re-compiling Slick against the new LWJGL library could solve the problems.

This brought us to another problem. We tried checking out the latest revision from the SVN repository linked to from the Slick web page. After compiling and trying it out we ran into a lot of strange bugs. It turned out that the SVN is currently at "build=228" of Slick, while the downloadable distributions on the website are at 274. Why is this? Is there some other repository where the latest version of the code is available?

Finally we figured that the full Slick distribution contains the source code of the latest version, so we decided to compile that instead. That's when we noticed that the included build.xml file in the full distribution doesn't actually work since it is depending on a bunch of things which aren't included in the full distribution - Pack200Task.jar and some maven stuff etc. As a result we had to strip everything but the bare essentials out of the build.xml file in order to compile it.

After doing all of this it worked fine, but the point is that it would be nice if a recent version of LWJGL was included by default, if the SVN repository was up to date, and if the full distribution was actually build-able without any changes. This isn't really a huge problem, but having to deal with all of these problems for the first time during a 48 hour game jam is a bit stressful.

Can anyone please shed some light on any of this for me? Oh, and don't get me wrong, when everything works Slick really is a brilliant framework, and I love it.


Top
 Profile  
 
PostPosted: Fri Apr 06, 2012 4:31 pm 
Offline
Slick Zombie

Joined: Sat Jan 27, 2007 7:10 pm
Posts: 1477
The SVN is a bit dated. Slick is in the process of migrating to Bitbucket + Mercurial:
https://bitbucket.org/kevglass/slick/src

You can look into the dev branch on Bitbucket for recent activity (bug fixes, Shaders, etc). They will be merged with the main branch shortly. We've also got plans to switch to the most recent LWJGL version.


Top
 Profile  
 
PostPosted: Fri Apr 06, 2012 9:00 pm 
Offline

Joined: Fri Apr 06, 2012 10:55 am
Posts: 2
Alright, thanks. I didn't realize that it was in the middle of an ongoing migration. Any ETA on when this might be completed?


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 2 guests


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