Slick Forums

Discuss the Slick 2D Library
It is currently Sat May 25, 2013 10:50 am

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Tue Jul 26, 2011 2:57 pm 
Offline
Oldbie
User avatar

Joined: Thu Jan 13, 2011 4:42 pm
Posts: 349
I recently recieved an error message saying that "Class org.newdawn.slick.Input does not implement the requested interface com.badlogic.gdx.InputProcessor".

The problem is, according to the source, it does implement exactly com.badlogic.gdx.InputProcessor, and to the best of my abilities, I have ensured that they both use the same version of gdx. It only malfunctions on desktop. Anybody know why input my be read this wrongly?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 28, 2011 9:12 am 
Offline
Slick Zombie

Joined: Wed Apr 02, 2008 1:32 pm
Posts: 1315
Location: Italy
have you some test code to reproduce this problem ?

_________________
Blog | Last game Gravity Duck tribute | In progress Gravity Duck tribute


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 28, 2011 5:27 pm 
Offline
Oldbie
User avatar

Joined: Thu Jan 13, 2011 4:42 pm
Posts: 349
here's the full output (I guess I should have given this earlier):

Exception in thread "LWJGL Application" java.lang.IncompatibleClassChangeError: Class org.newdawn.slick.Input does not implement the requested interface com.badlogic.gdx.InputProcessor
at com.badlogic.gdx.backends.lwjgl.LwjglInput.processEvents(LwjglInput.java:209)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:129)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.access$000(LwjglApplication.java:42)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:89)

and I'm having trouble getting the bug to work on anything but the one program I'm already running. It's a strange bug, partially because It traces to nothing that looks useful, partially because it occurs after my application starts running.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 28, 2011 10:56 pm 
Offline
Oldbie
User avatar

Joined: Thu Jan 13, 2011 4:42 pm
Posts: 349
Okay, I just remembered a HUGE thing that I left out of this post. Forgive me for not getting this sooner.

The code I'm using worked fine when I had the desktop version using a AppGameContainer in Slick, but stopped working when I switched to ApplicationGDXContainer in Slick-ae (I made the switch so I could use the libGDX box2d port and lower libGDX things).

Now that is something I should have mentioned earlier.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 04, 2011 7:18 pm 
Offline

Joined: Sun Jul 24, 2011 3:52 pm
Posts: 19
I'm pretty much having the same issue in terms of getting the AppGDXContainer to work. Hope someone figures this out.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 04, 2011 9:45 pm 
Offline
Oldbie
User avatar

Joined: Thu Jan 13, 2011 4:42 pm
Posts: 349
The weird part is, it only happens to the one project I actually care about. I can't figure it out. I've gone over the build paths... but I con't think of what else is different.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 05, 2011 8:25 pm 
Offline
Oldbie
User avatar

Joined: Thu Jan 13, 2011 4:42 pm
Posts: 349
ALLRIGHT! that was weird. I copied everything in the first project into another project, and it worked. *sigh*. I have no idea what was going on...


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 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