Hello,
Sorry to boring you with yet another “java.lang.UnsatisfiedLinkError” but I read and tried all possible configuration to call a Cuda program from an Image/Fiji on a Mac.
I’m try to run the simple Simple_JCuda_Plugin.java provided on the JCuda website. I have install the CUDA developper SDK and following all the instructions that I have found on the website /forum /FAQ. I copy all the dylib in many places like:
ImageJ/Contents/resources/Java,
/usr/local/bin and /lib/
ImageJ/plugins/ and ImageJ/jars,
/Library/Java/Extensions and /System/Library/Java/Extensions.
I make a copy of libraries and rename them jnilib.
All the tests conduct to the same following error:
java.lang.UnsatisfiedLinkError: /Library/Java/Extensions/libJCudaDriver-apple-x86_64.dylib: dlopen(/Library/Java/Extensions/libJCudaDriver-apple-x86_64.dylib, 1): Library not loaded: @rpath/libcudart.dylib
java.lang.NullPointerException: No resource found with name ‘/lib/libJCudaDriver-apple-x86_64.jnilib’
MacOSX Version: 10.8.5
Java version: 1.7.0_25
ImageJ version: 1.47v
ARCH: x86_64
Libraries CUDA: Binaries MacOSX downloaded from the website of JCuda: 0.5.0a build 35
Current directory: /Users//Desktop/ImageJ
java.library.path: /Users/big/Desktop/ImageJ/ImageJ64.app/Contents/Resources/Java:/System/Library/PrivateFrameworks/JavaApplicationLauncher.framework/Resources:.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
Thank you in advance in a pointer to a solution.
Best,