Slick Forums

Discuss the Slick 2D Library
It is currently Sat May 18, 2013 8:28 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Tue Feb 07, 2012 5:46 am 
Offline
User avatar

Joined: Sat Apr 30, 2011 6:18 am
Posts: 21
Hi Mathius,

After your link to a great looking inventory the other day i have decided i want TWL to be a part of my game. I eventually want to run it integrated with slick but thought i would try it standalone first and play with the examples.

However Im having trouble getting the twlexamples to compile successfully in Eclipse. I have followed both the given tutorials on the wiki but I still keep arriving at the same error.

I must have done something wrong but it seems lwjgl is correctly added to the build path?

Cheers.

Image

_________________
You can never finish a program, only put it down.


Top
 Profile  
 
PostPosted: Tue Feb 07, 2012 6:40 am 
Offline
Slick Zombie

Joined: Fri Jan 29, 2010 7:02 pm
Posts: 1171
Well - the error should be clear - you need to tell it where the native files are. As I don't use Eclipse I can't tell you how to set it up, but it should be the same procedure as setting it up for Slick or stand alone. You can check the LWJGL wiki for a tutorial.

_________________
TWL - The Themable Widget Library


Top
 Profile  
 
PostPosted: Fri Feb 10, 2012 10:08 pm 
Offline
User avatar

Joined: Wed Feb 08, 2012 10:32 pm
Posts: 9
Location: Germany
To do this in Eclipse right click on your Project -> Properties, select Java Build Path and in the Libraries tab expand lwjgl.jar select Native library location and click on edit.


Top
 Profile  
 
PostPosted: Fri Feb 10, 2012 11:06 pm 
Offline
Game Developer
User avatar

Joined: Wed Feb 17, 2010 12:24 am
Posts: 594
http://slick.cokeandcode.com/wiki/doku. ... _and_setup
http://www.cs.bsu.edu/homepages/pvg/mis ... torial.php
http://www.youtube.com/watch?v=WK63g6WX ... detailpage


Specifically: -Djava.library.path=<the directory in which the native libraries are placed>

http://www.eclipsezone.com/eclipse/forums/t49342.html
http://stackoverflow.com/questions/6613 ... instead-of


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 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