Trying to run the LUMoS Spectral unmixing plugin under an updated Fiji on Mac OS 10.13.6: several dependencies were not included in the distribution:
After adding these two and restarting Fiji there is still an UnsatisfiedLinkError:
Caused by: java.lang.UnsatisfiedLinkError: /Users/nico/.javacpp/cache/nd4j-native-1.0.0-beta3-macosx-x86_64.jar/org/nd4j/nativeblas/macosx-x86_64/libjnind4jcpu.dylib: dlopen(/Users/nico/.javacpp/cache/nd4j-native-1.0.0-beta3-macosx-x86_64.jar/org/nd4j/nativeblas/macosx-x86_64/libjnind4jcpu.dylib, 1): Library not loaded: @rpath/libmkldnn.0.dylib Referenced from: /Users/nico/.javacpp/cache/nd4j-native-1.0.0-beta3-macosx-x86_64.jar/org/nd4j/nativeblas/macosx-x86_64/./libnd4jcpu.dylib Reason: image not found at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
It looks like the .dylib libraries are not seen by the loadLibrary function. I tried copying the dylib libraries from the nd4 cache into Fiji.app/lib/macosx, but that also does not seem to work.
Anyone any ideas how to package this so that it works out of the box?