public static void main(String args[]) {
OculusRift oculusRift = new OculusRift();
oculusRift.init();
HMDInfo hdmInfo = oculusRift.getHMDInfo();
System.out.println(hdmInfo);
oculusRift.destroy();
}
}
But I get this error
Exception in thread "main" java.lang.UnsatisfiedLinkError: de.fruitfly.ovr.OculusRift.initSubsystem()Z
at de.fruitfly.ovr.OculusRift.initSubsystem(Native Method)
at de.fruitfly.ovr.OculusRift.init(OculusRift.java:82)
at ec.test.test3.Test.main(Test.java:21)
Java Result: 1
So, I am trying to run a simple example
public class Test {
}
But I get this error
Exception in thread "main" java.lang.UnsatisfiedLinkError: de.fruitfly.ovr.OculusRift.initSubsystem()Z at de.fruitfly.ovr.OculusRift.initSubsystem(Native Method) at de.fruitfly.ovr.OculusRift.init(OculusRift.java:82) at ec.test.test3.Test.main(Test.java:21) Java Result: 1
I created and included a Library based on:
What is missing?