-
Notifications
You must be signed in to change notification settings - Fork 0
Setting Up
In order to use this library, you are obviously going to have to set it up with your IDE. For this example I will be using Eclipse. If you are not using Eclipse, there are plenty of other tutorials for build path configuration on various specific platforms. You will need three files:
Create a folder wherever you want, and extract the LWJGL 3 archive into it. From the LWJGL 2 archive, extract lwjgl_util.jar
from the jar
folder into the jar
folder of the extracted LWJGL 3 folder.
Open up your Eclipse IDE and navigate to Window > Preferences > Java > Build Path > User Libraries
. Click on New...
to create a new User Library, and name it LWJGL or similar. Select it and click on Add External JARs...
. Navigate to the extracted LWJGL 3 folder and select lwjgl.jar
and lwjgl_util.jar
, then click Open
.
In the lwjgl.jar
sub-options, click on Native library location: (None)
and then Edit...
. Select External Folder...
then navigate to your LWJGL 3 extraction's native folder. Click OK
and then OK
.
On a new project, right-click and navigate to Build Path > Add Libraries... > User Library > LWJGL (or similar) > Finish
. Now you have configured an LWJGL user library and added it to a project build path!