Hi!
I'm trying to get the jogl-1.0 beta to run from prebuild binaries. I'm using Windows environment for know at least. I'll have to make sure it will run on Linux too. I have copied the jogl.dll to the system32 directory and the classpath is set up correctly (I think-)
I've also tried both JRE and SDK bin / ext directories for the dll and the jars.
My java.library.path is set to the following value:
1
| C:\j2sdk1.4.2_03\bin;.;C:\WINNT\system32;C:\WINNT;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\SecureCRT 3.0;C:\Projects\Java\Shared\GameDev\jogl\build\obj;C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual Studio\Common\Tools;C:\Program Files\Microsoft Visual Studio\VC98\bin |
The problem is that the dll is found correctly but it can't find some libraries that it is dependend of:
1 2 3 4 5 6 7
| java.lang.UnsatisfiedLinkError: C:\WINNT\system32\jogl.dll: Can't find dependent libraries at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1560) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1485) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:834) at com.exitium.graphics.test.GLCanvasTest.main(GLCanvasTest.java:26) |
Here's the test app I'm trying to run:
1 2 3 4 5
| public static void main(String[] args) { String path = System.getProperty("java.library.path"); System.out.println("java.library.path: " + path); System.loadLibrary("jogl"); } |
Any help is really appreciated. I also tried some googling but there was no appropriate answer that I could find.
Thanks in advance!