Thanks for all your time you give this project and being interested in current problems. I’m very glad and hope that someday even more people will use Hydra in Java language. In fact, the real problem isn’t your wrapper but many configurations that came up to day, creating a small mess with compatibility. Hope everything will work once again.
I have tested the library with newly downloaded libraries from Sixense and have found everything to be working. So far I have only been able to test on Windows machines but I will soon test on Linux and Mac machines as well. I have added detailed instructions on how to place the native libraries to the Readme on the GitHub and have included a test program that outputs the position and rotation of the controllers to stdout. To use the built in test program just run java -jar SixenseJava.jar in the command line with all native libraries placed in the same directory.
I have tested the library with newly downloaded libraries from Sixense and have found everything to be working. So far I have only been able to test on Windows machines but I will soon test on Linux and Mac machines as well. I have added detailed instructions on how to place the native libraries to the Readme on the GitHub and have included a test program that outputs the position and rotation of the controllers to stdout. To use the built in test program just run java -jar SixenseJava.jar in the command line with all native libraries placed in the same directory.
Someone got it working?
I have the same exception
Exception in thread “main” java.lang.UnsatisfiedLinkError: C:\Users\elect\Documents\NetBeansProjects\Sixense-Java\sixense_x64.dll: Can’t find dependent libraries
Someone got it working?
I have the same exception
Exception in thread “main” java.lang.UnsatisfiedLinkError: C:\Users\elect\Documents\NetBeansProjects\Sixense-Java\sixense_x64.dll: Can’t find dependent libraries
Little step forward
I was using java 8 64b, switched to 32b I can load something but then I always get the exception
[quote]run:
Initializing…
sixense loaded
sixense_utils loaded
Exception in thread “main” java.lang.UnsatisfiedLinkError: C:\Users\elect\Documents\NetBeansProjects\Sixense_Java\SixenseJava32.dll: Can’t find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1929)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1847)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1119)
at com.sixense.Sixense.(Sixense.java:31)
at com.sixense.SixenseJavaTest.(SixenseJavaTest.java:23)
at com.sixense.SixenseJavaTest.main(SixenseJavaTest.java:17)
Java Result: 1
[/quote]
Little step forward
I was using java 8 64b, switched to 32b I can load something but then I always get the exception
[quote]run:
Initializing…
sixense loaded
sixense_utils loaded
Exception in thread “main” java.lang.UnsatisfiedLinkError: C:\Users\elect\Documents\NetBeansProjects\Sixense_Java\SixenseJava32.dll: Can’t find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1929)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1847)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1119)
at com.sixense.Sixense.(Sixense.java:31)
at com.sixense.SixenseJavaTest.(SixenseJavaTest.java:23)
at com.sixense.SixenseJavaTest.main(SixenseJavaTest.java:17)
Java Result: 1
[/quote]
Soooooooooooolved, I cant believed it…
I had to install the http://www.dependencywalker.com/ to detect the damned missing libraries…
- I also had to install the following
Redistributable Packages for Visual Studio 2010 x86
Redistributable Packages for Visual Studio 2010 x64
Redistributable Packages for Visual Studio 2012 x86
Redistributable Packages for Visual Studio 2012 x64
adding Internet Explorer path in the PATH environment variable
That tool saved my life, I got the x64 version working like a charm…
Soooooooooooolved, I cant believed it…
I had to install the http://www.dependencywalker.com/ to detect the damned missing libraries…
- I also had to install the following
Redistributable Packages for Visual Studio 2010 x86
Redistributable Packages for Visual Studio 2010 x64
Redistributable Packages for Visual Studio 2012 x86
Redistributable Packages for Visual Studio 2012 x64
adding Internet Explorer path in the PATH environment variable
That tool saved my life, I got the x64 version working like a charm…