Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.UnsatisfiedLinkError #4

Open
Alpus opened this issue Aug 31, 2021 · 2 comments
Open

java.lang.UnsatisfiedLinkError #4

Alpus opened this issue Aug 31, 2021 · 2 comments

Comments

@Alpus
Copy link

Alpus commented Aug 31, 2021

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.

@yunjiangster
Copy link

I got the same error. Do you know how the published jar was built? I used mvn package to build my local jar but couldn't figure out how to include it in gradle.build using local jar syntax.

@zzyuewo
Copy link

zzyuewo commented Jul 29, 2024

did you figure out why it happened, friend?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants