-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
Hi,
I am trying to run the example, but when I run go get github.com/DataIntelligenceCrew/go-faiss it shows:
# github.com/DataIntelligenceCrew/go-faiss
../../autotune.go:12:6: could not determine kind of name for C.FaissParameterSpace
../../autotune.go:39:2: could not determine kind of name for C.faiss_ParameterSpace_free
../../autotune.go:18:10: could not determine kind of name for C.faiss_ParameterSpace_new
../../autotune.go:29:7: could not determine kind of name for C.faiss_ParameterSpace_set_index_parameter
../../autotune.go:27:8: could not determine kind of name for C.free
I use local Mac env, and I have copy libfaiss_c.so to /usr/local/lib/
By any chance you know the reason? Thanks!
Just tried again, the error becomes:
# github.com/DataIntelligenceCrew/go-faiss
./autotune.go:5:10: fatal error: 'faiss/c_api/AutoTune_c.h' file not found
#include <faiss/c_api/AutoTune_c.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels