JFaiss-CPU icon indicating copy to clipboard operation
JFaiss-CPU copied to clipboard

java.lang.UnsatisfiedLinkError

Open Alpus opened this issue 3 years ago • 2 comments

Hi! Thank you for your repo!

I have a project written in scala that builds with Gradle. I try to add your library like this

dependencies {
    ...
    compile group: 'com.github.ramanrajarathinam', name: 'JFaiss-CPU', version: '1.0.0'
    ...
}

and even IDEA see all interfaces, but when I try to run my program I get

java.lang.UnsatisfiedLinkError: com.vectorsearch.faiss.swig.swigfaissJNI.new_IndexFlatL2__SWIG_0(I)J

Maybe I do something wrong. Could you help and tell me how to include your project properly to make all dependencies work? Looks like c++ part is not included with com.github.ramanrajarathinam package.

Alpus avatar Aug 31 '21 16:08 Alpus