joecarr / javahidapi

Automatically exported from code.google.com/p/javahidapi
Other
0 stars 0 forks source link

UnsatisfiedLinkError exception with included binaries #33

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Modify HIDAPITest to load hidapi-jni-32 or hidapi-jni-64
2. Set java.library.path to the location of the win binaries
3. Build and run HIDAPITest

What is the expected output? What do you see instead?
Expected HIDAPITest main to be executed.
Instead, the following exception is thrown

Exception in thread "main" java.lang.UnsatisfiedLinkError: 
com.codeminders.hidapi.HIDManager.init()V
    at com.codeminders.hidapi.HIDManager.init(Native Method)
    at com.codeminders.hidapi.HIDManager.<init>(HIDManager.java:53)
    at com.codeminders.hidapi.HIDManager.getInstance(HIDManager.java:121)
    at com.codeminders.hidapi.HIDAPITest.listDevices(HIDAPITest.java:98)
    at com.codeminders.hidapi.HIDAPITest.main(HIDAPITest.java:29)

What version of the product are you using? On what operating system?
hidapi-1.1.jar on Windows 7 64-bit

Please provide any additional information below.

Original issue reported on code.google.com by koti...@gmail.com on 16 Dec 2012 at 6:05