UnsatisfiedLinkError in Processing

2019-08-07 05:55发布

问题:

I have recently overcome this problem using eclipse and would like to use the same .dll in the Processing.org environment. Here is my recent post on Stackoverflow.

The .dll I want to use is in the C:\Windows\SysWOW64\\ folder, but I am still getting an UnsatisfiedLinkError. I have tried the following solutions with no success:

  • Adding the .dll to the 'code' folder of the sketch
  • Adding C:\\Windows\\SysWOW64\\foo.dll to the Path environment variable
  • Changing the Native.loadLobrary parameter in my code from C:\\Windows\\System32\\foo.dll to C:\\Windows\\SysWOW64\\foo.dll

To get this working in eclipse, I added a Native Library Location under the Libraries tab in the Java Build Path Properties, although I didn't think it should have been necessary.

I would be grateful for any help or suggestions.