Slick Forums

Discuss the Slick 2D Library
It is currently Thu May 23, 2013 11:44 pm

All times are UTC




Post new topic Reply to topic  [ 11 posts ] 
Author Message
PostPosted: Mon Jun 11, 2012 11:34 am 
Offline

Joined: Mon Jun 11, 2012 11:31 am
Posts: 6
Hello,

I am brand new to Slick and am having issues using key input. I am on osx and get the following error when I run my little game:

Failed to enumerate device: Device open failed: -536870203
Mon Jun 11 12:28:07 BST 2012 INFO:Found 0 controllers


I found [url ="http://slick.javaunlimited.net/viewtopic.php?t=3657"] this thread[/url]

and tried that fix, but that doesn't work either.


Any other advice would be greatly appreciated.


Top
 Profile  
 
PostPosted: Mon Jun 11, 2012 2:24 pm 
Offline

Joined: Thu Jan 26, 2012 5:40 pm
Posts: 79
It's likely you need to find a different native library, as the thread you linked to describes.

I don't know a whole lot about Macs, but what version of OSX? 64 or 32 bit?


Top
 Profile  
 
PostPosted: Mon Jun 11, 2012 2:31 pm 
Offline

Joined: Mon Jun 11, 2012 11:31 am
Posts: 6
Its 64 bit and yes osx


Top
 Profile  
 
PostPosted: Mon Jun 11, 2012 5:12 pm 
Offline

Joined: Thu Jan 26, 2012 5:40 pm
Posts: 79
imattuk wrote:
Its 64 bit and yes osx

Yes but what version of OS X? It's really hard for me to troubleshoot Macs since I'm so inexperienced with them, but I feel that it may be useful when trying to diagnose your issue.

See this guide for details: http://www.apple.com/support/mobileme/e ... rsion.html

I'm looking for the version number. In the example above, it's 10.5.3.


Top
 Profile  
 
PostPosted: Mon Jun 11, 2012 6:26 pm 
Offline

Joined: Mon Jun 11, 2012 11:31 am
Posts: 6
My mistake, I am running version 10.7.4


Top
 Profile  
 
PostPosted: Mon Jun 11, 2012 7:40 pm 
Offline

Joined: Thu Jan 26, 2012 5:40 pm
Posts: 79
Okay, to just get a few things out of the way, where did you download LWJGL? Was it the one packed with Slick?

You tried downloading the most recent native library like the link suggested?


Top
 Profile  
 
PostPosted: Mon Jun 11, 2012 7:50 pm 
Offline

Joined: Mon Jun 11, 2012 11:31 am
Posts: 6
I got lwjgl from here http://www.lwjgl.org/

and yes I got the latest version from the link as suggested.


Top
 Profile  
 
PostPosted: Mon Jun 11, 2012 8:33 pm 
Offline

Joined: Thu Jan 26, 2012 5:40 pm
Posts: 79
What happens if you do the test they suggest?

Quote:
•Test LWJGL by opening a command prompt, and navigating to the folder where the archive was extracted. Once navigated, issue the following command: (all in one line, space before each -option)

java -cp .:res:jar/lwjgl.jar:jar/lwjgl_test.jar:jar/lwjgl_util.jar:jar/lwjgl_fmod3.jar:jar/lwjgl_devil.jar:jar/jinput.jar: -Djava.library.path=native/macosx org.lwjgl.test.WindowCreationTest

•A window should appear and you should see the following output:

Found <number> display modes
240, 320, WindowCreationTest
Display created
Moving to 100, 100
Window created
600, 800, Game


Top
 Profile  
 
PostPosted: Mon Jun 11, 2012 10:33 pm 
Offline

Joined: Mon Jun 11, 2012 11:31 am
Posts: 6
Do I need to be in the folder or just above it? in both cases I get command not found.


Top
 Profile  
 
PostPosted: Tue Jun 12, 2012 6:46 pm 
Offline

Joined: Mon Jun 11, 2012 11:31 am
Posts: 6
Bump...I really need help with this. Can't go any further until this is sorted :(


Top
 Profile  
 
PostPosted: Wed Jun 13, 2012 12:25 am 
Offline
Slick Zombie

Joined: Sat Jan 27, 2007 7:10 pm
Posts: 1469
If you're getting "command not found" from entering java in terminal it means you either haven't installed Java, or it hasn't been installed correctly, or your PATH variable isn't pointing to your JDK location.

http://www.tech-recipes.com/rx/2621/os_ ... _variable/


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

All times are UTC


Who is online

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