LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: DCoder on December 22, 2004, 03:15:38

Title: Fix to MacOS X installation instructions
Post by: DCoder on December 22, 2004, 03:15:38
Howdy!

Been a long time since I've been around, but I just downloaded 0.94 for macosx and found this minor issue on the installation.php page. I'm not sure if the same problem applies to the other OSen, but here's a diff for installation.php to fix the MacOS X installation instructions:


--- installation.php Tue Dec 21 21:09:35 2004
+++ new_installation.php Tue Dec 21 21:13:49 2004
@@ -69,15 +69,17 @@
<pre>liblwjgl.jnilib
libopenal.dylib
lwjgl.jar
+lwjgl_util.jar
lwjgl_test.jar</pre>
</li>
<li>
Test LWJGL by opening a command prompt, and navigating to the folder where the archive was extracted. Once navigated, issue the following command:<br/><br/>
- <pre>java -cp lwjgl.jar:lwjgl_test.jar: org.lwjgl.test.WindowCreationTest</pre>
+ <pre>java -cp lwjgl.jar:lwjgl_util.jar:lwjgl_test.jar: org.lwjgl.test.WindowCreationTest</pre>
A window should appear and you should see the following output:<br/><br/>
<pre>Found &lt;number&gt; display modes
-240, 320, WindowCreationTest
-Display created</pre>
+Moving to 100, 100
+Window created
+600, 800, Game</pre>
</li>
<li>
Should you wish to place the files in some other directory than you're class files (say /native as opposed to /classes) you could do so, by using the java.library.path property. For example:<br/><br/>


share and enjoy!

-daniel
Title: Fix to MacOS X installation instructions
Post by: Matzon on December 22, 2004, 06:50:05
thanks - I'll update the installation stuff, as soon as I've fixed some window centering stuff thats ignoring position. Which results in wrong debug output (and wrong position).
The fix also applies to other platforms.

w00t a patch :)