We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I'm currently having difficulty using an external library with a JNI interface with Processing. The tricky thing is that it requires some external libraries as well. Currently I'm trying in windows, and have it working in a java project in eclipse. When I export the jar and try to use it in processing, I get:
A library relies on native code that's not available. Or only works properly when the sketch is run as a 64-bit application.
Digging further into it, it seems like the code that attempts to load the JNI library (System.loadLibrary(...)) call is what triggers this message - It happens if I try to use it, regardless of what's actually in it (like if I put in a bogus file name, it returns the same error). And if I switch to the 64 bit version, I get the error with 32-bit instead :). The external dll's are currently residing in the same folder as the .jar file in the libraries directory.
Any pointers would be greatly appreciated. I think the path/way I include the external library is mostly correct. If I try to run other things in an external library that doesn't require System.load... , it appears to work fine.
Thanks in advance!