-
Notifications
You must be signed in to change notification settings - Fork 9
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
Is this wrapper working? #2
Comments
Sorry for the late reply.
this is run in root path of the project and the faiss so files should also be placed here. please let me know if this helps. |
This is exactly where I ran the test command, the project root, and swigfaiss4j.so is indeed there. I still got this error. |
libfaiss.a and libfaiss.so, you might find it in /usr/local/lib/, and please cp both to project root. |
I also follow the instruction and get this error.
Then I roll back this file and this error solved. |
I found two finalize() method in this file. 23 protected void finalize() { 64 public void finalize() { Maybe this is the reason for that. But I don't know which is the right. |
Hi, I follow the documentation and also get flowing error:
Could you please give me your docker images? @Baineng |
Hi, Mr Zhang, did you build faiss with source of version 1.5.0? |
I done this, but I still got the error too. |
I follow the documentation and got everything right except the "error: method finalize() is already defined in class RangeSearchPartialResult". Then I commented the first finalize() method in com/thenetcircle/services/faiss/RangeSearchPartialResult.java and re-run the Test command, this time is compiles right and throw this error while loading the shared library:
T E S T S
Running com.thenetcircle.services.faiss4j.tests.Examples
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.371 sec <<< FAILURE! - in com.thenetcircle.services.faiss4j.tests.Examples
com.thenetcircle.services.faiss4j.tests.Examples Time elapsed: 0.37 sec <<< ERROR!
Results :
Tests in error:
Examples.load:25 » UnsatisfiedLink /data/zhaohh/soft/faiss4j/swigfaiss4j.so: /...
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
I can't figure out what went wrong, can somebody help me in here ?
The text was updated successfully, but these errors were encountered: