![]() ![]() ⇒ select " $LWJGL_HOME\lib" (to provide the path for the native code dll's, such as " lwjgl.dll", and etc.). Expand the " lwjgl.jar" node, select "Native library location: (none)" ⇒ "Edit." ⇒ External Folder.⇒ Navigate to " $LWJGL_HOME\jar", and select " lwjgl.jar". In "User Library" dialog ⇒ Select " lwjgl-2.9.1" ⇒ Add JAR.From "Window" menu ⇒ Preferences ⇒ Java ⇒ Build Path ⇒ User Libraries ⇒ New ⇒ In "User library name", enter " lwjgl-2.9.1".All the JOGL projects can then include this user library in its build path. Create a User Library: We shall first create a Eclipse's User Library called "lwjgl-2.9.1", which specifies the jar-files, native libraries ( dll), javadoc, and source files for the JOGL API.Unzip the javadocs downloaded into " javadoc". For example, for Win32, copy all the jar-file into " jar" the 32-bit libraries at "native\windows" into " lib" and " lwjgl-source-2.9.1.zip" into " src" (no need to unzip). Copy the necessary jar-file, native libraries of your operating platform, and source-files into the appropriate sub-directories. ![]() Create sub-directories " jar", " lib", " src", " javadoc" under the $LWJGL_HOME. (Optional) Create a LWJGL binary directory, says " lwjgl-2.9.1" - I shall denote the binary directory as $LWJGL_HOME. The jar-files and native-libraries are kept in the "jar" and "native" sub-directories, respectively.
0 Comments
Leave a Reply. |