Closed mediatecture closed 9 years ago
I believe this issue is that you are using a 32-bit JVM. Make sure your JVM is 64-bit.
Thanks for following up. I was running a 64-bit JVM (7u75), however the same error message keeps popping up. Do you happen to know which Windows versions support the library straight out of the box?
I hate to press a point, but the only time I've seen this myself is when there is a 32-bit JRE/JDK being run with the code. Can you make sure that however you are launching your code with my JAR in it, that it is using the proper JDK.
In Eclipse, you can check this by playing with the build settings of your project.
Thanks again. Did some more extensive research into this. I'm definitely using a 64-bit JVM. With some breakpoints throughout the code, myo64.dll seems to load without any problem, yet the loading halts on JNIJavaMyoLib.dll (both when loading via SysPath as via Temp, including a hardcoded directory mapping).
java.lang.UnsatisfiedLinkError: C:\Users\Encounters\AppData\Local\Temp\JNIJavaMyoLib.dll: Can't find dependent libraries
Only by looking into the output from Process Monitor, I noticed MSVCP100.dll was required (which required an install of VC++). I was testing on a Windows 7 clean install...
You may want to mention this in the documentation, though?
Cheers!
I did not realize it was required. I must have added it a while back for something else and never gave it a second though. Thanks for doing the leg work, I'll try to make a doc update.
I'm having issues loading the library on Windows 7 (64 bit) (running Myo 0.8.1). FYI, I've also tested this in a 32-bit environment. I receive the following error message:
Can you clarify how this issue can be solved? I must also note, similar to the loading issue on Mac (https://github.com/NicholasAStuart/myo-java/issues/5), files seem to be physically copied to the TEMP folders.
Thanks!