You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried installing falcon using the repository, but getting the following error =>
In file included from internal/python_wrapper.cc:2: In file included from include/falconn/lsh_nn_table.h:484: In file included from include/falconn/wrapper/cpp_wrapper_impl.h:16: In file included from include/falconn/wrapper/../core/flat_hash_table.h:13: external/simple-serializer/serialize.h:71:25: error: use of undeclared identifier 'serialize' Serializer<size_t>::serialize(output, entity.size()); ^ external/simple-serializer/serialize.h:94:32: note: in instantiation of member function 'ir::Serializer<std::__1::vector<float, std::__1::allocator<float> >, void>::serialize' requested here Serializer<vector<float>>::serialize(output, aux); ^ external/simple-serializer/serialize.h:70:15: note: must qualify identifier to find this declaration in dependent base class static void serialize(FILE *output, const vector<S> &entity) { ^ external/simple-serializer/serialize.h:71:43: error: reference to type 'const vector<float>' could not bind to an rvalue of type 'std::__1::vector<float, std::__1::allocator<float> >::size_type' (aka 'unsigned long') Serializer<size_t>::serialize(output, entity.size()); ^~~~~~~~~~~~~ external/simple-serializer/serialize.h:70:56: note: passing argument to parameter 'entity' here static void serialize(FILE *output, const vector<S> &entity) { ^ external/simple-serializer/serialize.h:79:44: error: cannot initialize a parameter of type 'vector<float> *' with an rvalue of type 'size_t *' (aka 'unsigned long *') Serializer<size_t>::deserialize(input, &s);
How can I resolve this issue? Earlier I tried to install using pip but there were some missing functionalities as mentioned in here
The text was updated successfully, but these errors were encountered:
Hi,
I tried installing falcon using the repository, but getting the following error =>
In file included from internal/python_wrapper.cc:2: In file included from include/falconn/lsh_nn_table.h:484: In file included from include/falconn/wrapper/cpp_wrapper_impl.h:16: In file included from include/falconn/wrapper/../core/flat_hash_table.h:13: external/simple-serializer/serialize.h:71:25: error: use of undeclared identifier 'serialize' Serializer<size_t>::serialize(output, entity.size()); ^ external/simple-serializer/serialize.h:94:32: note: in instantiation of member function 'ir::Serializer<std::__1::vector<float, std::__1::allocator<float> >, void>::serialize' requested here Serializer<vector<float>>::serialize(output, aux); ^ external/simple-serializer/serialize.h:70:15: note: must qualify identifier to find this declaration in dependent base class static void serialize(FILE *output, const vector<S> &entity) { ^ external/simple-serializer/serialize.h:71:43: error: reference to type 'const vector<float>' could not bind to an rvalue of type 'std::__1::vector<float, std::__1::allocator<float> >::size_type' (aka 'unsigned long') Serializer<size_t>::serialize(output, entity.size()); ^~~~~~~~~~~~~ external/simple-serializer/serialize.h:70:56: note: passing argument to parameter 'entity' here static void serialize(FILE *output, const vector<S> &entity) { ^ external/simple-serializer/serialize.h:79:44: error: cannot initialize a parameter of type 'vector<float> *' with an rvalue of type 'size_t *' (aka 'unsigned long *') Serializer<size_t>::deserialize(input, &s);
How can I resolve this issue? Earlier I tried to install using pip but there were some missing functionalities as mentioned in here
The text was updated successfully, but these errors were encountered: