linker error

Started by wakeboardin, April 21, 2005, 03:15:24

Previous topic - Next topic

wakeboardin

tring to get lwjgl up and going and i followed the instructions on the site to add the libary but it doesn't seem to work because the demo still isn't working help plz thx

Fool Running

You need to give us more information. :wink: What's the error messages (if any), What are your machine specs, etc.
Programmers will, one day, rule the world... and the world won't notice until its too late.Just testing the marquee option ;D

wakeboardin

C:\lwjgl-win32-0.96\jar>java -cp lwjgl.jar;lwjgl_util.jar;lwjgl_test.jar; org.lw
jgl.test.WindowCreationTest
The following keys are available:
ESCAPE:         Exit test
ARROW Keys:     Move window when in non-fullscreen mode
L:              List selectable display modes
0-8:            Selection of display modes
F:              Toggle fullscreen
SHIFT-F:        Toggle fullscreen with Display.destroy()/create() cycle
Exception in thread "main" java.lang.UnsatisfiedLinkError: no lwjgl in java.libr
ary.path
       at java.lang.ClassLoader.loadLibrary(Unknown Source)
       at java.lang.Runtime.loadLibrary0(Unknown Source)
       at java.lang.System.loadLibrary(Unknown Source)
       at org.lwjgl.Sys.<clinit>(Sys.java:64)
       at org.lwjgl.opengl.Display.<clinit>(Display.java:96)
       at org.lwjgl.test.WindowCreationTest.initialize(WindowCreationTest.java:
82)
       at org.lwjgl.test.WindowCreationTest.main(WindowCreationTest.java:286)

spec:p4, windows xp current sp,j2 sdk 1.4.2_08

Matzon

you didn't read the README file ;)
You need a -Djava.library.path=path\to\dll - or in your case:
-Djava.library.path=..\native