make -C python make[1]: Entering directory '/home/pi/Downloads/faiss-master/python' g++ -std=c++11 -DFINTEGER=int -fopenmp -fPIC -Wno-sign-compare -g -O3 -Wall -Wextra -I/usr/include/python3.5m -I/usr/include/python3.5m -I/home/pi/.local/lib/python3.5/site-packages/numpy/core/include \ -I../ -c swigfaiss.cpp -o swigfaiss.o swigfaiss.cpp:3348:3: error: #error "SWIG wrapped code invalid in 32 bit architecture, regenerate code using -DSWIGWORDSIZE32" # error "SWIG wrapped code invalid in 32 bit architecture, regenerate code using -DSWIGWORDSIZE32" ^~~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_ranklist_intersection_size(PyObject*, PyObject*)’: swigfaiss.cpp:11895:105: error: cannot convert ‘const long int*’ to ‘const int64_t* {aka const long long int*}’ for argument ‘2’ to ‘size_t faiss::ranklist_intersection_size(size_t, const int64_t*, size_t, const int64_t*)’ result = (size_t)faiss::ranklist_intersection_size(arg1,(long const *)arg2,arg3,(long const *)arg4); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_merge_result_table_with__SWIG_0(PyObject*, PyObject*)’: swigfaiss.cpp:11999:123: error: cannot convert ‘const long int*’ to ‘const int64_t* {aka const long long int*}’ for argument ‘5’ to ‘size_t faiss::merge_result_table_with(size_t, size_t, int64_t*, float*, const int64_t*, const float*, bool, int64_t)’ result = (size_t)faiss::merge_result_table_with(arg1,arg2,arg3,arg4,(long const *)arg5,(float const *)arg6,arg7,arg8); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_merge_result_table_with__SWIG_1(PyObject*, PyObject*)’: swigfaiss.cpp:12094:118: error: cannot convert ‘const long int*’ to ‘const int64_t* {aka const long long int*}’ for argument ‘5’ to ‘size_t faiss::merge_result_table_with(size_t, size_t, int64_t*, float*, const int64_t*, const float*, bool, int64_t)’ result = (size_t)faiss::merge_result_table_with(arg1,arg2,arg3,arg4,(long const *)arg5,(float const *)arg6,arg7); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_merge_result_table_with__SWIG_2(PyObject*, PyObject*)’: swigfaiss.cpp:12180:113: error: cannot convert ‘const long int*’ to ‘const int64_t* {aka const long long int*}’ for argument ‘5’ to ‘size_t faiss::merge_result_table_with(size_t, size_t, int64_t*, float*, const int64_t*, const float*, bool, int64_t)’ result = (size_t)faiss::merge_result_table_with(arg1,arg2,arg3,arg4,(long const *)arg5,(float const *)arg6); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_imbalance_factor__SWIG_0(PyObject*, PyObject*)’: swigfaiss.cpp:12388:76: error: no matching function for call to ‘imbalance_factor(int&, int&, const long int*)’ result = (double)faiss::imbalance_factor(arg1,arg2,(long const *)arg3); ^ In file included from ../faiss/IndexHNSW.h:18:0, from swigfaiss.cpp:3400: ../faiss/utils/utils.h:113:8: note: candidate: double faiss::imbalance_factor(int, int, const int64_t*) double imbalance_factor (int n, int k, const int64_t *assign); ^~~~~~~~~~~~~~~~ ../faiss/utils/utils.h:113:8: note: no known conversion for argument 3 from ‘const long int*’ to ‘const int64_t* {aka const long long int*}’ ../faiss/utils/utils.h:116:8: note: candidate: double faiss::imbalance_factor(int, const int*) double imbalance_factor (int k, const int *hist); ^~~~~~~~~~~~~~~~ ../faiss/utils/utils.h:116:8: note: candidate expects 2 arguments, 3 provided swigfaiss.cpp: In function ‘PyObject* _wrap_fvec_inner_products_by_idx(PyObject*, PyObject*)’: swigfaiss.cpp:14747:119: error: cannot convert ‘const long int*’ to ‘const int64_t* {aka const long long int*}’ for argument ‘4’ to ‘void faiss::fvec_inner_products_by_idx(float*, const float*, const float*, const int64_t*, size_t, size_t, size_t)’ faiss::fvec_inner_products_by_idx(arg1,(float const *)arg2,(float const *)arg3,(long const *)arg4,arg5,arg6,arg7); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_fvec_L2sqr_by_idx(PyObject*, PyObject*)’: swigfaiss.cpp:14841:110: error: cannot convert ‘const long int*’ to ‘const int64_t* {aka const long long int*}’ for argument ‘4’ to ‘void faiss::fvec_L2sqr_by_idx(float*, const float*, const float*, const int64_t*, size_t, size_t, size_t)’ faiss::fvec_L2sqr_by_idx(arg1,(float const *)arg2,(float const *)arg3,(long const *)arg4,arg5,arg6,arg7); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_pairwise_indexed_L2sqr(PyObject*, PyObject*)’: swigfaiss.cpp:14935:129: error: cannot convert ‘const long int*’ to ‘const int64_t* {aka const long long int*}’ for argument ‘4’ to ‘void faiss::pairwise_indexed_L2sqr(size_t, size_t, const float*, const int64_t*, const float*, const int64_t*, float*)’ faiss::pairwise_indexed_L2sqr(arg1,arg2,(float const *)arg3,(long const *)arg4,(float const *)arg5,(long const *)arg6,arg7); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_pairwise_indexed_inner_product(PyObject*, PyObject*)’: swigfaiss.cpp:15029:137: error: cannot convert ‘const long int*’ to ‘const int64_t* {aka const long long int*}’ for argument ‘4’ to ‘void faiss::pairwise_indexed_inner_product(size_t, size_t, const float*, const int64_t*, const float*, const int64_t*, float*)’ faiss::pairwise_indexed_inner_product(arg1,arg2,(float const *)arg3,(long const *)arg4,(float const *)arg5,(long const *)arg6,arg7); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_knn_inner_products_by_idx(PyObject*, PyObject*)’: swigfaiss.cpp:15410:118: error: cannot convert ‘const long int*’ to ‘const int64_t* {aka const long long int*}’ for argument ‘3’ to ‘void faiss::knn_inner_products_by_idx(const float*, const float*, const int64_t*, size_t, size_t, size_t, faiss::float_minheap_array_t*)’ faiss::knn_inner_products_by_idx((float const *)arg1,(float const *)arg2,(long const *)arg3,arg4,arg5,arg6,arg7); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_knn_L2sqr_by_idx(PyObject*, PyObject*)’: swigfaiss.cpp:15504:109: error: cannot convert ‘const long int*’ to ‘const int64_t* {aka const long long int*}’ for argument ‘3’ to ‘void faiss::knn_L2sqr_by_idx(const float*, const float*, const int64_t*, size_t, size_t, size_t, faiss::float_maxheap_array_t*)’ faiss::knn_L2sqr_by_idx((float const *)arg1,(float const *)arg2,(long const *)arg3,arg4,arg5,arg6,arg7); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_Index_ntotal_set(PyObject*, PyObject*)’: swigfaiss.cpp:16584:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:16584:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:16606:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:16606:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:16606:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:16606:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:16606:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:16606:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:16607:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:16608:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:16611:30: error: ‘arg2’ was not declared in this scope if (arg1) (arg1)->ntotal = arg2; ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_Index_ntotal_get(PyObject*, PyObject*)’: swigfaiss.cpp:16625:3: error: ‘idx_t’ was not declared in this scope idx_t result; ^~~~~ swigfaiss.cpp:16625:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:16633:3: error: ‘result’ was not declared in this scope result = ((arg1)->ntotal); ^~~~~~ swigfaiss.cpp:16634:39: error: expected type-specifier before ‘idx_t’ resultobj = SWIG_NewPointerObj((new idx_t(static_cast< const idx_t& >(result))), SWIGTYPE_p_idx_t, SWIG_POINTER_OWN | 0 ); ^ swigfaiss.cpp:1186:89: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~ swigfaiss.cpp:16634:39: error: expected ‘)’ before ‘idx_t’ resultobj = SWIG_NewPointerObj((new idx_t(static_cast< const idx_t& >(result))), SWIGTYPE_p_idx_t, SWIG_POINTER_OWN | 0 ); ^ swigfaiss.cpp:1186:89: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~ swigfaiss.cpp: In function ‘PyObject* _wrap_Index_train(PyObject*, PyObject*)’: swigfaiss.cpp:16892:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:16892:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:16918:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:16918:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:16918:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:16918:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:16918:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:16918:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:16919:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:16920:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:16931:21: error: ‘arg2’ was not declared in this scope (arg1)->train(arg2,(float const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_Index_add(PyObject*, PyObject*)’: swigfaiss.cpp:16958:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:16958:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:16984:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:16984:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:16984:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:16984:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:16984:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:16984:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:16985:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:16986:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:16997:19: error: ‘arg2’ was not declared in this scope (arg1)->add(arg2,(float const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_Index_add_with_ids(PyObject*, PyObject*)’: swigfaiss.cpp:17024:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:17024:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:17026:10: error: ‘arg4’ was not declared in this scope idx_t *arg4 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:17026:25: error: expected primary-expression before ‘)’ token idx_t *arg4 = (idx_t *) 0 ; ^ swigfaiss.cpp:17054:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:17054:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:17054:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:17054:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:17054:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:17054:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:17055:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:17056:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:17068:28: error: ‘idx_t’ does not name a type arg4 = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:17068:34: error: expected ‘>’ before ‘*’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:17068:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:17068:36: error: expected primary-expression before ‘>’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:17068:44: error: expected ‘)’ before ‘;’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:17072:28: error: ‘arg2’ was not declared in this scope (arg1)->add_with_ids(arg2,(float const *)arg3,(idx_t const *)arg4); ^~~~ swigfaiss.cpp:17072:60: error: expected ‘)’ before ‘const’ (arg1)->add_with_ids(arg2,(float const *)arg3,(idx_t const *)arg4); ^~~~~ swigfaiss.cpp:17072:73: error: expected ‘)’ before ‘;’ token (arg1)->add_with_ids(arg2,(float const *)arg3,(idx_t const *)arg4); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_Index_search(PyObject*, PyObject*)’: swigfaiss.cpp:17099:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:17099:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:17101:9: error: expected ‘;’ before ‘arg4’ idx_t arg4 ; ^~~~ swigfaiss.cpp:17103:10: error: ‘arg6’ was not declared in this scope idx_t *arg6 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:17103:25: error: expected primary-expression before ‘)’ token idx_t *arg6 = (idx_t *) 0 ; ^ swigfaiss.cpp:17137:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:17137:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:17137:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:17137:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:17137:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:17137:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:17138:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:17139:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:17155:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:17155:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:17155:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:17155:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:17155:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:17155:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:17156:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:17157:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:17169:28: error: ‘idx_t’ does not name a type arg6 = reinterpret_cast< idx_t * >(argp6); ^~~~~ swigfaiss.cpp:17169:34: error: expected ‘>’ before ‘*’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:17169:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:17169:36: error: expected primary-expression before ‘>’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:17169:44: error: expected ‘)’ before ‘;’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:17173:44: error: ‘arg2’ was not declared in this scope ((faiss::Index const *)arg1)->search(arg2,(float const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp:17173:69: error: ‘arg4’ was not declared in this scope ((faiss::Index const *)arg1)->search(arg2,(float const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_Index_range_search(PyObject*, PyObject*)’: swigfaiss.cpp:17200:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:17200:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:17234:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:17234:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:17234:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:17234:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:17234:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:17234:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:17235:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:17236:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:17257:50: error: ‘arg2’ was not declared in this scope ((faiss::Index const *)arg1)->range_search(arg2,(float const *)arg3,arg4,arg5); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_Index_assign__SWIG_0(PyObject*, PyObject*)’: swigfaiss.cpp:17284:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:17284:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:17286:10: error: ‘arg4’ was not declared in this scope idx_t *arg4 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:17286:25: error: expected primary-expression before ‘)’ token idx_t *arg4 = (idx_t *) 0 ; ^ swigfaiss.cpp:17287:9: error: expected ‘;’ before ‘arg5’ idx_t arg5 ; ^~~~ swigfaiss.cpp:17318:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:17318:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:17318:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:17318:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:17318:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:17318:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:17319:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:17320:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:17332:28: error: ‘idx_t’ does not name a type arg4 = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:17332:34: error: expected ‘>’ before ‘*’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:17332:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:17332:36: error: expected primary-expression before ‘>’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:17332:44: error: expected ‘)’ before ‘;’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:17341:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp5); ^~~~ swigfaiss.cpp:17341:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp5); ^~~~~ swigfaiss.cpp:17341:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:17341:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:17341:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:17341:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:17342:7: error: ‘arg5’ was not declared in this scope arg5 = *temp; ^~~~ swigfaiss.cpp:17343:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res5)) delete temp; ^~~~ swigfaiss.cpp:17349:22: error: ‘arg2’ was not declared in this scope (arg1)->assign(arg2,(float const *)arg3,arg4,arg5); ^~~~ swigfaiss.cpp:17349:52: error: ‘arg5’ was not declared in this scope (arg1)->assign(arg2,(float const *)arg3,arg4,arg5); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_Index_assign__SWIG_1(PyObject*, PyObject*)’: swigfaiss.cpp:17376:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:17376:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:17378:10: error: ‘arg4’ was not declared in this scope idx_t *arg4 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:17378:25: error: expected primary-expression before ‘)’ token idx_t *arg4 = (idx_t *) 0 ; ^ swigfaiss.cpp:17406:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:17406:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:17406:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:17406:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:17406:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:17406:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:17407:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:17408:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:17420:28: error: ‘idx_t’ does not name a type arg4 = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:17420:34: error: expected ‘>’ before ‘*’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:17420:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:17420:36: error: expected primary-expression before ‘>’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:17420:44: error: expected ‘)’ before ‘;’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:17424:22: error: ‘arg2’ was not declared in this scope (arg1)->assign(arg2,(float const *)arg3,arg4); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_Index_reconstruct(PyObject*, PyObject*)’: swigfaiss.cpp:17616:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:17616:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:17642:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:17642:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:17642:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:17642:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:17642:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:17642:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:17643:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:17644:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:17655:49: error: ‘arg2’ was not declared in this scope ((faiss::Index const *)arg1)->reconstruct(arg2,arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_Index_reconstruct_n(PyObject*, PyObject*)’: swigfaiss.cpp:17682:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:17682:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:17683:9: error: expected ‘;’ before ‘arg3’ idx_t arg3 ; ^~~~ swigfaiss.cpp:17712:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:17712:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:17712:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:17712:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:17712:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:17712:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:17713:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:17714:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:17725:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^~~~ swigfaiss.cpp:17725:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^~~~~ swigfaiss.cpp:17725:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:17725:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:17725:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:17725:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:17726:7: error: ‘arg3’ was not declared in this scope arg3 = *temp; ^~~~ swigfaiss.cpp:17727:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res3)) delete temp; ^~~~ swigfaiss.cpp:17738:51: error: ‘arg2’ was not declared in this scope ((faiss::Index const *)arg1)->reconstruct_n(arg2,arg3,arg4); ^~~~ swigfaiss.cpp:17738:56: error: ‘arg3’ was not declared in this scope ((faiss::Index const *)arg1)->reconstruct_n(arg2,arg3,arg4); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_Index_search_and_reconstruct(PyObject*, PyObject*)’: swigfaiss.cpp:17765:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:17765:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:17767:9: error: expected ‘;’ before ‘arg4’ idx_t arg4 ; ^~~~ swigfaiss.cpp:17769:10: error: ‘arg6’ was not declared in this scope idx_t *arg6 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:17769:25: error: expected primary-expression before ‘)’ token idx_t *arg6 = (idx_t *) 0 ; ^ swigfaiss.cpp:17807:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:17807:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:17807:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:17807:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:17807:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:17807:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:17808:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:17809:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:17825:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:17825:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:17825:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:17825:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:17825:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:17825:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:17826:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:17827:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:17839:28: error: ‘idx_t’ does not name a type arg6 = reinterpret_cast< idx_t * >(argp6); ^~~~~ swigfaiss.cpp:17839:34: error: expected ‘>’ before ‘*’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:17839:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:17839:36: error: expected primary-expression before ‘>’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:17839:44: error: expected ‘)’ before ‘;’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:17848:60: error: ‘arg2’ was not declared in this scope ((faiss::Index const *)arg1)->search_and_reconstruct(arg2,(float const *)arg3,arg4,arg5,arg6,arg7); ^~~~ swigfaiss.cpp:17848:85: error: ‘arg4’ was not declared in this scope ((faiss::Index const *)arg1)->search_and_reconstruct(arg2,(float const *)arg3,arg4,arg5,arg6,arg7); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_Index_compute_residual(PyObject*, PyObject*)’: swigfaiss.cpp:17877:3: error: ‘idx_t’ was not declared in this scope idx_t arg4 ; ^~~~~ swigfaiss.cpp:17877:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:17915:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:17915:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:17915:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:17915:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:17915:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:17915:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:17916:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:17917:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:17923:79: error: ‘arg4’ was not declared in this scope ((faiss::Index const *)arg1)->compute_residual((float const *)arg2,arg3,arg4); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_Index_compute_residual_n(PyObject*, PyObject*)’: swigfaiss.cpp:17950:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:17950:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:17953:10: error: ‘arg5’ was not declared in this scope idx_t *arg5 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:17953:25: error: expected primary-expression before ‘)’ token idx_t *arg5 = (idx_t *) 0 ; ^ swigfaiss.cpp:17984:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:17984:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:17984:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:17984:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:17984:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:17984:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:17985:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:17986:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:18003:28: error: ‘idx_t’ does not name a type arg5 = reinterpret_cast< idx_t * >(argp5); ^~~~~ swigfaiss.cpp:18003:34: error: expected ‘>’ before ‘*’ token arg5 = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:18003:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:18003:36: error: expected primary-expression before ‘>’ token arg5 = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:18003:44: error: expected ‘)’ before ‘;’ token arg5 = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:18007:56: error: ‘arg2’ was not declared in this scope ((faiss::Index const *)arg1)->compute_residual_n(arg2,(float const *)arg3,arg4,(idx_t const *)arg5); ^~~~ swigfaiss.cpp:18007:93: error: expected ‘)’ before ‘const’ ((faiss::Index const *)arg1)->compute_residual_n(arg2,(float const *)arg3,arg4,(idx_t const *)arg5); ^~~~~ swigfaiss.cpp:18007:106: error: expected ‘)’ before ‘;’ token ((faiss::Index const *)arg1)->compute_residual_n(arg2,(float const *)arg3,arg4,(idx_t const *)arg5); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_Index_sa_encode(PyObject*, PyObject*)’: swigfaiss.cpp:18116:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:18116:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:18146:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:18146:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:18146:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:18146:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:18146:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:18146:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:18147:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:18148:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:18164:47: error: ‘arg2’ was not declared in this scope ((faiss::Index const *)arg1)->sa_encode(arg2,(float const *)arg3,arg4); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_Index_sa_decode(PyObject*, PyObject*)’: swigfaiss.cpp:18191:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:18191:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:18221:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:18221:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:18221:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:18221:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:18221:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:18221:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:18222:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:18223:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:18239:47: error: ‘arg2’ was not declared in this scope ((faiss::Index const *)arg1)->sa_decode(arg2,(uint8_t const *)arg3,arg4); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexPreTransform_train(PyObject*, PyObject*)’: swigfaiss.cpp:28976:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:28976:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:29002:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:29002:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:29002:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:29002:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:29002:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:29002:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:29003:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:29004:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:29015:21: error: ‘arg2’ was not declared in this scope (arg1)->train(arg2,(float const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexPreTransform_add(PyObject*, PyObject*)’: swigfaiss.cpp:29042:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:29042:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:29068:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:29068:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:29068:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:29068:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:29068:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:29068:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:29069:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:29070:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:29081:19: error: ‘arg2’ was not declared in this scope (arg1)->add(arg2,(float const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexPreTransform_add_with_ids(PyObject*, PyObject*)’: swigfaiss.cpp:29108:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:29108:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:29110:10: error: ‘arg4’ was not declared in this scope idx_t *arg4 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:29110:25: error: expected primary-expression before ‘)’ token idx_t *arg4 = (idx_t *) 0 ; ^ swigfaiss.cpp:29138:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:29138:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:29138:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:29138:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:29138:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:29138:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:29139:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:29140:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:29152:28: error: ‘idx_t’ does not name a type arg4 = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:29152:34: error: expected ‘>’ before ‘*’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:29152:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:29152:36: error: expected primary-expression before ‘>’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:29152:44: error: expected ‘)’ before ‘;’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:29156:28: error: ‘arg2’ was not declared in this scope (arg1)->add_with_ids(arg2,(float const *)arg3,(idx_t const *)arg4); ^~~~ swigfaiss.cpp:29156:60: error: expected ‘)’ before ‘const’ (arg1)->add_with_ids(arg2,(float const *)arg3,(idx_t const *)arg4); ^~~~~ swigfaiss.cpp:29156:73: error: expected ‘)’ before ‘;’ token (arg1)->add_with_ids(arg2,(float const *)arg3,(idx_t const *)arg4); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexPreTransform_search(PyObject*, PyObject*)’: swigfaiss.cpp:29276:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:29276:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:29278:9: error: expected ‘;’ before ‘arg4’ idx_t arg4 ; ^~~~ swigfaiss.cpp:29280:10: error: ‘arg6’ was not declared in this scope idx_t *arg6 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:29280:25: error: expected primary-expression before ‘)’ token idx_t *arg6 = (idx_t *) 0 ; ^ swigfaiss.cpp:29314:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:29314:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:29314:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:29314:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:29314:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:29314:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:29315:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:29316:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:29332:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:29332:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:29332:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:29332:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:29332:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:29332:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:29333:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:29334:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:29346:28: error: ‘idx_t’ does not name a type arg6 = reinterpret_cast< idx_t * >(argp6); ^~~~~ swigfaiss.cpp:29346:34: error: expected ‘>’ before ‘*’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:29346:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:29346:36: error: expected primary-expression before ‘>’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:29346:44: error: expected ‘)’ before ‘;’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:29350:56: error: ‘arg2’ was not declared in this scope ((faiss::IndexPreTransform const *)arg1)->search(arg2,(float const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp:29350:81: error: ‘arg4’ was not declared in this scope ((faiss::IndexPreTransform const *)arg1)->search(arg2,(float const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexPreTransform_range_search(PyObject*, PyObject*)’: swigfaiss.cpp:29377:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:29377:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:29411:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:29411:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:29411:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:29411:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:29411:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:29411:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:29412:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:29413:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:29434:62: error: ‘arg2’ was not declared in this scope ((faiss::IndexPreTransform const *)arg1)->range_search(arg2,(float const *)arg3,arg4,arg5); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexPreTransform_reconstruct(PyObject*, PyObject*)’: swigfaiss.cpp:29461:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:29461:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:29487:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:29487:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:29487:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:29487:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:29487:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:29487:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:29488:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:29489:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:29500:61: error: ‘arg2’ was not declared in this scope ((faiss::IndexPreTransform const *)arg1)->reconstruct(arg2,arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexPreTransform_reconstruct_n(PyObject*, PyObject*)’: swigfaiss.cpp:29527:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:29527:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:29528:9: error: expected ‘;’ before ‘arg3’ idx_t arg3 ; ^~~~ swigfaiss.cpp:29557:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:29557:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:29557:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:29557:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:29557:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:29557:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:29558:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:29559:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:29570:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^~~~ swigfaiss.cpp:29570:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^~~~~ swigfaiss.cpp:29570:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:29570:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:29570:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:29570:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:29571:7: error: ‘arg3’ was not declared in this scope arg3 = *temp; ^~~~ swigfaiss.cpp:29572:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res3)) delete temp; ^~~~ swigfaiss.cpp:29583:63: error: ‘arg2’ was not declared in this scope ((faiss::IndexPreTransform const *)arg1)->reconstruct_n(arg2,arg3,arg4); ^~~~ swigfaiss.cpp:29583:68: error: ‘arg3’ was not declared in this scope ((faiss::IndexPreTransform const *)arg1)->reconstruct_n(arg2,arg3,arg4); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexPreTransform_search_and_reconstruct(PyObject*, PyObject*)’: swigfaiss.cpp:29610:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:29610:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:29612:9: error: expected ‘;’ before ‘arg4’ idx_t arg4 ; ^~~~ swigfaiss.cpp:29614:10: error: ‘arg6’ was not declared in this scope idx_t *arg6 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:29614:25: error: expected primary-expression before ‘)’ token idx_t *arg6 = (idx_t *) 0 ; ^ swigfaiss.cpp:29652:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:29652:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:29652:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:29652:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:29652:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:29652:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:29653:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:29654:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:29670:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:29670:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:29670:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:29670:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:29670:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:29670:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:29671:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:29672:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:29684:28: error: ‘idx_t’ does not name a type arg6 = reinterpret_cast< idx_t * >(argp6); ^~~~~ swigfaiss.cpp:29684:34: error: expected ‘>’ before ‘*’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:29684:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:29684:36: error: expected primary-expression before ‘>’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:29684:44: error: expected ‘)’ before ‘;’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:29693:72: error: ‘arg2’ was not declared in this scope ((faiss::IndexPreTransform const *)arg1)->search_and_reconstruct(arg2,(float const *)arg3,arg4,arg5,arg6,arg7); ^~~~ swigfaiss.cpp:29693:97: error: ‘arg4’ was not declared in this scope ((faiss::IndexPreTransform const *)arg1)->search_and_reconstruct(arg2,(float const *)arg3,arg4,arg5,arg6,arg7); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexPreTransform_apply_chain(PyObject*, PyObject*)’: swigfaiss.cpp:29720:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:29720:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:29747:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:29747:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:29747:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:29747:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:29747:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:29747:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:29748:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:29749:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:29760:79: error: ‘arg2’ was not declared in this scope result = (float *)((faiss::IndexPreTransform const *)arg1)->apply_chain(arg2,(float const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexPreTransform_reverse_chain(PyObject*, PyObject*)’: swigfaiss.cpp:29787:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:29787:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:29817:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:29817:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:29817:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:29817:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:29817:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:29817:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:29818:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:29819:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:29835:63: error: ‘arg2’ was not declared in this scope ((faiss::IndexPreTransform const *)arg1)->reverse_chain(arg2,(float const *)arg3,arg4); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexPreTransform_sa_encode(PyObject*, PyObject*)’: swigfaiss.cpp:29903:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:29903:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:29933:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:29933:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:29933:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:29933:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:29933:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:29933:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:29934:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:29935:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:29951:59: error: ‘arg2’ was not declared in this scope ((faiss::IndexPreTransform const *)arg1)->sa_encode(arg2,(float const *)arg3,arg4); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexPreTransform_sa_decode(PyObject*, PyObject*)’: swigfaiss.cpp:29978:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:29978:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:30008:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:30008:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:30008:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:30008:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:30008:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:30008:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:30009:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:30010:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:30026:59: error: ‘arg2’ was not declared in this scope ((faiss::IndexPreTransform const *)arg1)->sa_decode(arg2,(uint8_t const *)arg3,arg4); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_new_IndexFlat__SWIG_0(PyObject*, PyObject*)’: swigfaiss.cpp:30151:3: error: ‘idx_t’ was not declared in this scope idx_t arg1 ; ^~~~~ swigfaiss.cpp:30151:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:30170:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^~~~ swigfaiss.cpp:30170:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^~~~~ swigfaiss.cpp:30170:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^ swigfaiss.cpp:30170:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:30170:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^ swigfaiss.cpp:30170:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^ swigfaiss.cpp:30171:7: error: ‘arg1’ was not declared in this scope arg1 = *temp; ^~~~ swigfaiss.cpp:30172:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res1)) delete temp; ^~~~ swigfaiss.cpp:30183:57: error: ‘arg1’ was not declared in this scope result = (faiss::IndexFlat *)new faiss::IndexFlat(arg1,arg2); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_new_IndexFlat__SWIG_1(PyObject*, PyObject*)’: swigfaiss.cpp:30209:3: error: ‘idx_t’ was not declared in this scope idx_t arg1 ; ^~~~~ swigfaiss.cpp:30209:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:30224:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^~~~ swigfaiss.cpp:30224:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^~~~~ swigfaiss.cpp:30224:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^ swigfaiss.cpp:30224:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:30224:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^ swigfaiss.cpp:30224:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^ swigfaiss.cpp:30225:7: error: ‘arg1’ was not declared in this scope arg1 = *temp; ^~~~ swigfaiss.cpp:30226:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res1)) delete temp; ^~~~ swigfaiss.cpp:30232:57: error: ‘arg1’ was not declared in this scope result = (faiss::IndexFlat *)new faiss::IndexFlat(arg1); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexFlat_add(PyObject*, PyObject*)’: swigfaiss.cpp:30259:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:30259:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:30285:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:30285:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:30285:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:30285:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:30285:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:30285:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:30286:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:30287:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:30298:19: error: ‘arg2’ was not declared in this scope (arg1)->add(arg2,(float const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexFlat_search(PyObject*, PyObject*)’: swigfaiss.cpp:30365:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:30365:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:30367:9: error: expected ‘;’ before ‘arg4’ idx_t arg4 ; ^~~~ swigfaiss.cpp:30369:10: error: ‘arg6’ was not declared in this scope idx_t *arg6 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:30369:25: error: expected primary-expression before ‘)’ token idx_t *arg6 = (idx_t *) 0 ; ^ swigfaiss.cpp:30403:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:30403:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:30403:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:30403:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:30403:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:30403:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:30404:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:30405:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:30421:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:30421:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:30421:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:30421:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:30421:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:30421:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:30422:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:30423:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:30435:28: error: ‘idx_t’ does not name a type arg6 = reinterpret_cast< idx_t * >(argp6); ^~~~~ swigfaiss.cpp:30435:34: error: expected ‘>’ before ‘*’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:30435:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:30435:36: error: expected primary-expression before ‘>’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:30435:44: error: expected ‘)’ before ‘;’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:30439:48: error: ‘arg2’ was not declared in this scope ((faiss::IndexFlat const *)arg1)->search(arg2,(float const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp:30439:73: error: ‘arg4’ was not declared in this scope ((faiss::IndexFlat const *)arg1)->search(arg2,(float const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexFlat_range_search(PyObject*, PyObject*)’: swigfaiss.cpp:30466:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:30466:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:30500:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:30500:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:30500:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:30500:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:30500:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:30500:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:30501:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:30502:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:30523:54: error: ‘arg2’ was not declared in this scope ((faiss::IndexFlat const *)arg1)->range_search(arg2,(float const *)arg3,arg4,arg5); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexFlat_reconstruct(PyObject*, PyObject*)’: swigfaiss.cpp:30550:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:30550:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:30576:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:30576:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:30576:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:30576:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:30576:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:30576:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:30577:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:30578:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:30589:53: error: ‘arg2’ was not declared in this scope ((faiss::IndexFlat const *)arg1)->reconstruct(arg2,arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexFlat_compute_distance_subset(PyObject*, PyObject*)’: swigfaiss.cpp:30616:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:30616:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:30618:9: error: expected ‘;’ before ‘arg4’ idx_t arg4 ; ^~~~ swigfaiss.cpp:30620:10: error: ‘arg6’ was not declared in this scope idx_t *arg6 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:30620:25: error: expected primary-expression before ‘)’ token idx_t *arg6 = (idx_t *) 0 ; ^ swigfaiss.cpp:30654:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:30654:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:30654:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:30654:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:30654:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:30654:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:30655:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:30656:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:30672:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:30672:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:30672:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:30672:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:30672:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:30672:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:30673:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:30674:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:30686:28: error: ‘idx_t’ does not name a type arg6 = reinterpret_cast< idx_t * >(argp6); ^~~~~ swigfaiss.cpp:30686:34: error: expected ‘>’ before ‘*’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:30686:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:30686:36: error: expected primary-expression before ‘>’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:30686:44: error: expected ‘)’ before ‘;’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:30690:65: error: ‘arg2’ was not declared in this scope ((faiss::IndexFlat const *)arg1)->compute_distance_subset(arg2,(float const *)arg3,arg4,arg5,(idx_t const *)arg6); ^~~~ swigfaiss.cpp:30690:90: error: ‘arg4’ was not declared in this scope ((faiss::IndexFlat const *)arg1)->compute_distance_subset(arg2,(float const *)arg3,arg4,arg5,(idx_t const *)arg6); ^~~~ swigfaiss.cpp:30690:107: error: expected ‘)’ before ‘const’ ((faiss::IndexFlat const *)arg1)->compute_distance_subset(arg2,(float const *)arg3,arg4,arg5,(idx_t const *)arg6); ^~~~~ swigfaiss.cpp:30690:120: error: expected ‘)’ before ‘;’ token ((faiss::IndexFlat const *)arg1)->compute_distance_subset(arg2,(float const *)arg3,arg4,arg5,(idx_t const *)arg6); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexFlat_sa_encode(PyObject*, PyObject*)’: swigfaiss.cpp:30932:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:30932:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:30962:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:30962:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:30962:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:30962:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:30962:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:30962:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:30963:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:30964:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:30980:51: error: ‘arg2’ was not declared in this scope ((faiss::IndexFlat const *)arg1)->sa_encode(arg2,(float const *)arg3,arg4); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexFlat_sa_decode(PyObject*, PyObject*)’: swigfaiss.cpp:31007:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:31007:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:31037:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:31037:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:31037:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:31037:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:31037:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:31037:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:31038:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:31039:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:31055:51: error: ‘arg2’ was not declared in this scope ((faiss::IndexFlat const *)arg1)->sa_decode(arg2,(uint8_t const *)arg3,arg4); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_new_IndexFlatIP__SWIG_0(PyObject*, PyObject*)’: swigfaiss.cpp:31109:3: error: ‘idx_t’ was not declared in this scope idx_t arg1 ; ^~~~~ swigfaiss.cpp:31109:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:31124:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^~~~ swigfaiss.cpp:31124:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^~~~~ swigfaiss.cpp:31124:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^ swigfaiss.cpp:31124:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:31124:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^ swigfaiss.cpp:31124:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^ swigfaiss.cpp:31125:7: error: ‘arg1’ was not declared in this scope arg1 = *temp; ^~~~ swigfaiss.cpp:31126:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res1)) delete temp; ^~~~ swigfaiss.cpp:31132:61: error: ‘arg1’ was not declared in this scope result = (faiss::IndexFlatIP *)new faiss::IndexFlatIP(arg1); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_new_IndexFlatL2__SWIG_0(PyObject*, PyObject*)’: swigfaiss.cpp:31251:3: error: ‘idx_t’ was not declared in this scope idx_t arg1 ; ^~~~~ swigfaiss.cpp:31251:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:31266:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^~~~ swigfaiss.cpp:31266:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^~~~~ swigfaiss.cpp:31266:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^ swigfaiss.cpp:31266:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:31266:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^ swigfaiss.cpp:31266:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^ swigfaiss.cpp:31267:7: error: ‘arg1’ was not declared in this scope arg1 = *temp; ^~~~ swigfaiss.cpp:31268:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res1)) delete temp; ^~~~ swigfaiss.cpp:31274:61: error: ‘arg1’ was not declared in this scope result = (faiss::IndexFlatL2 *)new faiss::IndexFlatL2(arg1); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_new_IndexFlatL2BaseShift(PyObject*, PyObject*)’: swigfaiss.cpp:31445:3: error: ‘idx_t’ was not declared in this scope idx_t arg1 ; ^~~~~ swigfaiss.cpp:31445:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:31468:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^~~~ swigfaiss.cpp:31468:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^~~~~ swigfaiss.cpp:31468:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^ swigfaiss.cpp:31468:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:31468:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^ swigfaiss.cpp:31468:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^ swigfaiss.cpp:31469:7: error: ‘arg1’ was not declared in this scope arg1 = *temp; ^~~~ swigfaiss.cpp:31470:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res1)) delete temp; ^~~~ swigfaiss.cpp:31486:79: error: ‘arg1’ was not declared in this scope result = (faiss::IndexFlatL2BaseShift *)new faiss::IndexFlatL2BaseShift(arg1,arg2,(float const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexFlatL2BaseShift_search(PyObject*, PyObject*)’: swigfaiss.cpp:31513:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:31513:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:31515:9: error: expected ‘;’ before ‘arg4’ idx_t arg4 ; ^~~~ swigfaiss.cpp:31517:10: error: ‘arg6’ was not declared in this scope idx_t *arg6 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:31517:25: error: expected primary-expression before ‘)’ token idx_t *arg6 = (idx_t *) 0 ; ^ swigfaiss.cpp:31551:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:31551:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:31551:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:31551:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:31551:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:31551:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:31552:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:31553:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:31569:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:31569:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:31569:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:31569:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:31569:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:31569:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:31570:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:31571:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:31583:28: error: ‘idx_t’ does not name a type arg6 = reinterpret_cast< idx_t * >(argp6); ^~~~~ swigfaiss.cpp:31583:34: error: expected ‘>’ before ‘*’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:31583:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:31583:36: error: expected primary-expression before ‘>’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:31583:44: error: expected ‘)’ before ‘;’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:31587:59: error: ‘arg2’ was not declared in this scope ((faiss::IndexFlatL2BaseShift const *)arg1)->search(arg2,(float const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp:31587:84: error: ‘arg4’ was not declared in this scope ((faiss::IndexFlatL2BaseShift const *)arg1)->search(arg2,(float const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexRefineFlat_train(PyObject*, PyObject*)’: swigfaiss.cpp:31957:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:31957:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:31983:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:31983:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:31983:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:31983:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:31983:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:31983:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:31984:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:31985:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:31996:21: error: ‘arg2’ was not declared in this scope (arg1)->train(arg2,(float const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexRefineFlat_add(PyObject*, PyObject*)’: swigfaiss.cpp:32023:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:32023:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:32049:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:32049:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:32049:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:32049:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:32049:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:32049:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:32050:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:32051:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:32062:19: error: ‘arg2’ was not declared in this scope (arg1)->add(arg2,(float const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexRefineFlat_search(PyObject*, PyObject*)’: swigfaiss.cpp:32129:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:32129:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:32131:9: error: expected ‘;’ before ‘arg4’ idx_t arg4 ; ^~~~ swigfaiss.cpp:32133:10: error: ‘arg6’ was not declared in this scope idx_t *arg6 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:32133:25: error: expected primary-expression before ‘)’ token idx_t *arg6 = (idx_t *) 0 ; ^ swigfaiss.cpp:32167:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:32167:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:32167:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:32167:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:32167:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:32167:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:32168:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:32169:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:32185:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:32185:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:32185:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:32185:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:32185:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:32185:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:32186:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:32187:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:32199:28: error: ‘idx_t’ does not name a type arg6 = reinterpret_cast< idx_t * >(argp6); ^~~~~ swigfaiss.cpp:32199:34: error: expected ‘>’ before ‘*’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:32199:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:32199:36: error: expected primary-expression before ‘>’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:32199:44: error: expected ‘)’ before ‘;’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:32203:54: error: ‘arg2’ was not declared in this scope ((faiss::IndexRefineFlat const *)arg1)->search(arg2,(float const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp:32203:79: error: ‘arg4’ was not declared in this scope ((faiss::IndexRefineFlat const *)arg1)->search(arg2,(float const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexFlat1D_perm_set(PyObject*, PyObject*)’: swigfaiss.cpp:32329:16: error: ‘idx_t’ was not declared in this scope std::vector< idx_t > *arg2 = (std::vector< idx_t > *) 0 ; ^~~~~ swigfaiss.cpp:32329:16: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:32329:22: error: template argument 1 is invalid std::vector< idx_t > *arg2 = (std::vector< idx_t > *) 0 ; ^ swigfaiss.cpp:32329:22: error: template argument 2 is invalid swigfaiss.cpp:32329:46: error: the value of ‘idx_t’ is not usable in a constant expression std::vector< idx_t > *arg2 = (std::vector< idx_t > *) 0 ; ^~~~~ swigfaiss.cpp:32329:16: note: ‘idx_t’ was not declared ‘constexpr’ std::vector< idx_t > *arg2 = (std::vector< idx_t > *) 0 ; ^~~~~ swigfaiss.cpp:32329:52: error: type/value mismatch at argument 1 in template parameter list for ‘template class std::vector’ std::vector< idx_t > *arg2 = (std::vector< idx_t > *) 0 ; ^ swigfaiss.cpp:32329:52: note: expected a type, got ‘idx_t’ swigfaiss.cpp:32329:52: error: template argument 2 is invalid swigfaiss.cpp:32329:55: error: expected primary-expression before ‘)’ token std::vector< idx_t > *arg2 = (std::vector< idx_t > *) 0 ; ^ swigfaiss.cpp:32347:41: error: the value of ‘idx_t’ is not usable in a constant expression arg2 = reinterpret_cast< std::vector< idx_t > * >(argp2); ^~~~~ swigfaiss.cpp:32329:16: note: ‘idx_t’ was not declared ‘constexpr’ std::vector< idx_t > *arg2 = (std::vector< idx_t > *) 0 ; ^~~~~ swigfaiss.cpp:32347:47: error: type/value mismatch at argument 1 in template parameter list for ‘template class std::vector’ arg2 = reinterpret_cast< std::vector< idx_t > * >(argp2); ^ swigfaiss.cpp:32347:47: note: expected a type, got ‘idx_t’ swigfaiss.cpp:32347:47: error: template argument 2 is invalid swigfaiss.cpp:32347:49: error: expected ‘>’ before ‘*’ token arg2 = reinterpret_cast< std::vector< idx_t > * >(argp2); ^ swigfaiss.cpp:32347:49: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:32347:51: error: expected primary-expression before ‘>’ token arg2 = reinterpret_cast< std::vector< idx_t > * >(argp2); ^ swigfaiss.cpp:32347:59: error: expected ‘)’ before ‘;’ token arg2 = reinterpret_cast< std::vector< idx_t > * >(argp2); ^ swigfaiss.cpp:32348:29: error: no match for ‘operator=’ (operand types are ‘std::vector’ and ‘int’) if (arg1) (arg1)->perm = *arg2; ^~~~ In file included from /usr/include/c++/6/vector:69:0, from ../faiss/IndexFlat.h:13, from swigfaiss.cpp:3384: /usr/include/c++/6/bits/vector.tcc:167:5: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = long long int; _Alloc = std::allocator] vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ /usr/include/c++/6/bits/vector.tcc:167:5: note: no known conversion for argument 1 from ‘int’ to ‘const std::vector&’ In file included from /usr/include/c++/6/vector:64:0, from ../faiss/IndexFlat.h:13, from swigfaiss.cpp:3384: /usr/include/c++/6/bits/stl_vector.h:450:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = long long int; _Alloc = std::allocator] operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move()) ^~~~~~~~ /usr/include/c++/6/bits/stl_vector.h:450:7: note: no known conversion for argument 1 from ‘int’ to ‘std::vector&&’ /usr/include/c++/6/bits/stl_vector.h:471:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = long long int; _Alloc = std::allocator] operator=(initializer_list __l) ^~~~~~~~ /usr/include/c++/6/bits/stl_vector.h:471:7: note: no known conversion for argument 1 from ‘int’ to ‘std::initializer_list’ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexFlat1D_perm_get(PyObject*, PyObject*)’: swigfaiss.cpp:32362:16: error: ‘idx_t’ was not declared in this scope std::vector< idx_t > *result = 0 ; ^~~~~ swigfaiss.cpp:32362:16: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:32362:22: error: template argument 1 is invalid std::vector< idx_t > *result = 0 ; ^ swigfaiss.cpp:32362:22: error: template argument 2 is invalid swigfaiss.cpp:32370:26: error: the value of ‘idx_t’ is not usable in a constant expression result = (std::vector< idx_t > *)& ((arg1)->perm); ^~~~~ swigfaiss.cpp:32362:16: note: ‘idx_t’ was not declared ‘constexpr’ std::vector< idx_t > *result = 0 ; ^~~~~ swigfaiss.cpp:32370:32: error: type/value mismatch at argument 1 in template parameter list for ‘template class std::vector’ result = (std::vector< idx_t > *)& ((arg1)->perm); ^ swigfaiss.cpp:32370:32: note: expected a type, got ‘idx_t’ swigfaiss.cpp:32370:32: error: template argument 2 is invalid swigfaiss.cpp:32370:35: error: expected primary-expression before ‘)’ token result = (std::vector< idx_t > *)& ((arg1)->perm); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexFlat1D_add(PyObject*, PyObject*)’: swigfaiss.cpp:32529:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:32529:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:32555:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:32555:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:32555:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:32555:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:32555:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:32555:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:32556:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:32557:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:32568:19: error: ‘arg2’ was not declared in this scope (arg1)->add(arg2,(float const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexFlat1D_search(PyObject*, PyObject*)’: swigfaiss.cpp:32635:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:32635:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:32637:9: error: expected ‘;’ before ‘arg4’ idx_t arg4 ; ^~~~ swigfaiss.cpp:32639:10: error: ‘arg6’ was not declared in this scope idx_t *arg6 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:32639:25: error: expected primary-expression before ‘)’ token idx_t *arg6 = (idx_t *) 0 ; ^ swigfaiss.cpp:32673:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:32673:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:32673:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:32673:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:32673:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:32673:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:32674:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:32675:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:32691:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:32691:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:32691:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:32691:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:32691:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:32691:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:32692:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:32693:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:32705:28: error: ‘idx_t’ does not name a type arg6 = reinterpret_cast< idx_t * >(argp6); ^~~~~ swigfaiss.cpp:32705:34: error: expected ‘>’ before ‘*’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:32705:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:32705:36: error: expected primary-expression before ‘>’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:32705:44: error: expected ‘)’ before ‘;’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:32709:50: error: ‘arg2’ was not declared in this scope ((faiss::IndexFlat1D const *)arg1)->search(arg2,(float const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp:32709:75: error: ‘arg4’ was not declared in this scope ((faiss::IndexFlat1D const *)arg1)->search(arg2,(float const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_new_IndexLSH__SWIG_0(PyObject*, PyObject*)’: swigfaiss.cpp:33127:3: error: ‘idx_t’ was not declared in this scope idx_t arg1 ; ^~~~~ swigfaiss.cpp:33127:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:33154:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^~~~ swigfaiss.cpp:33154:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^~~~~ swigfaiss.cpp:33154:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^ swigfaiss.cpp:33154:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:33154:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^ swigfaiss.cpp:33154:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^ swigfaiss.cpp:33155:7: error: ‘arg1’ was not declared in this scope arg1 = *temp; ^~~~ swigfaiss.cpp:33156:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res1)) delete temp; ^~~~ swigfaiss.cpp:33177:55: error: ‘arg1’ was not declared in this scope result = (faiss::IndexLSH *)new faiss::IndexLSH(arg1,arg2,arg3,arg4); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_new_IndexLSH__SWIG_1(PyObject*, PyObject*)’: swigfaiss.cpp:33203:3: error: ‘idx_t’ was not declared in this scope idx_t arg1 ; ^~~~~ swigfaiss.cpp:33203:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:33226:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^~~~ swigfaiss.cpp:33226:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^~~~~ swigfaiss.cpp:33226:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^ swigfaiss.cpp:33226:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:33226:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^ swigfaiss.cpp:33226:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^ swigfaiss.cpp:33227:7: error: ‘arg1’ was not declared in this scope arg1 = *temp; ^~~~ swigfaiss.cpp:33228:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res1)) delete temp; ^~~~ swigfaiss.cpp:33244:55: error: ‘arg1’ was not declared in this scope result = (faiss::IndexLSH *)new faiss::IndexLSH(arg1,arg2,arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_new_IndexLSH__SWIG_2(PyObject*, PyObject*)’: swigfaiss.cpp:33270:3: error: ‘idx_t’ was not declared in this scope idx_t arg1 ; ^~~~~ swigfaiss.cpp:33270:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:33289:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^~~~ swigfaiss.cpp:33289:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^~~~~ swigfaiss.cpp:33289:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^ swigfaiss.cpp:33289:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:33289:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^ swigfaiss.cpp:33289:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^ swigfaiss.cpp:33290:7: error: ‘arg1’ was not declared in this scope arg1 = *temp; ^~~~ swigfaiss.cpp:33291:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res1)) delete temp; ^~~~ swigfaiss.cpp:33302:55: error: ‘arg1’ was not declared in this scope result = (faiss::IndexLSH *)new faiss::IndexLSH(arg1,arg2); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexLSH_apply_preprocess(PyObject*, PyObject*)’: swigfaiss.cpp:33329:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:33329:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:33356:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:33356:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:33356:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:33356:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:33356:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:33356:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:33357:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:33358:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:33369:75: error: ‘arg2’ was not declared in this scope result = (float *)((faiss::IndexLSH const *)arg1)->apply_preprocess(arg2,(float const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexLSH_train(PyObject*, PyObject*)’: swigfaiss.cpp:33396:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:33396:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:33422:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:33422:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:33422:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:33422:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:33422:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:33422:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:33423:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:33424:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:33435:21: error: ‘arg2’ was not declared in this scope (arg1)->train(arg2,(float const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexLSH_add(PyObject*, PyObject*)’: swigfaiss.cpp:33462:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:33462:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:33488:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:33488:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:33488:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:33488:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:33488:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:33488:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:33489:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:33490:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:33501:19: error: ‘arg2’ was not declared in this scope (arg1)->add(arg2,(float const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexLSH_search(PyObject*, PyObject*)’: swigfaiss.cpp:33528:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:33528:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:33530:9: error: expected ‘;’ before ‘arg4’ idx_t arg4 ; ^~~~ swigfaiss.cpp:33532:10: error: ‘arg6’ was not declared in this scope idx_t *arg6 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:33532:25: error: expected primary-expression before ‘)’ token idx_t *arg6 = (idx_t *) 0 ; ^ swigfaiss.cpp:33566:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:33566:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:33566:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:33566:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:33566:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:33566:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:33567:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:33568:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:33584:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:33584:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:33584:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:33584:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:33584:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:33584:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:33585:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:33586:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:33598:28: error: ‘idx_t’ does not name a type arg6 = reinterpret_cast< idx_t * >(argp6); ^~~~~ swigfaiss.cpp:33598:34: error: expected ‘>’ before ‘*’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:33598:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:33598:36: error: expected primary-expression before ‘>’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:33598:44: error: expected ‘)’ before ‘;’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:33602:47: error: ‘arg2’ was not declared in this scope ((faiss::IndexLSH const *)arg1)->search(arg2,(float const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp:33602:72: error: ‘arg4’ was not declared in this scope ((faiss::IndexLSH const *)arg1)->search(arg2,(float const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexLSH_sa_encode(PyObject*, PyObject*)’: swigfaiss.cpp:33918:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:33918:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:33948:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:33948:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:33948:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:33948:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:33948:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:33948:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:33949:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:33950:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:33966:50: error: ‘arg2’ was not declared in this scope ((faiss::IndexLSH const *)arg1)->sa_encode(arg2,(float const *)arg3,arg4); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexLSH_sa_decode(PyObject*, PyObject*)’: swigfaiss.cpp:33993:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:33993:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:34023:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:34023:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:34023:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:34023:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:34023:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:34023:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:34024:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:34025:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:34041:50: error: ‘arg2’ was not declared in this scope ((faiss::IndexLSH const *)arg1)->sa_decode(arg2,(faiss::IndexLSH::uint8_t const *)arg3,arg4); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexPQ_train(PyObject*, PyObject*)’: swigfaiss.cpp:36741:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:36741:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:36767:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:36767:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:36767:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:36767:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:36767:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:36767:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:36768:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:36769:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:36780:21: error: ‘arg2’ was not declared in this scope (arg1)->train(arg2,(float const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexPQ_add(PyObject*, PyObject*)’: swigfaiss.cpp:36807:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:36807:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:36833:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:36833:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:36833:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:36833:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:36833:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:36833:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:36834:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:36835:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:36846:19: error: ‘arg2’ was not declared in this scope (arg1)->add(arg2,(float const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexPQ_search(PyObject*, PyObject*)’: swigfaiss.cpp:36873:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:36873:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:36875:9: error: expected ‘;’ before ‘arg4’ idx_t arg4 ; ^~~~ swigfaiss.cpp:36877:10: error: ‘arg6’ was not declared in this scope idx_t *arg6 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:36877:25: error: expected primary-expression before ‘)’ token idx_t *arg6 = (idx_t *) 0 ; ^ swigfaiss.cpp:36911:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:36911:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:36911:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:36911:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:36911:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:36911:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:36912:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:36913:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:36929:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:36929:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:36929:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:36929:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:36929:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:36929:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:36930:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:36931:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:36943:28: error: ‘idx_t’ does not name a type arg6 = reinterpret_cast< idx_t * >(argp6); ^~~~~ swigfaiss.cpp:36943:34: error: expected ‘>’ before ‘*’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:36943:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:36943:36: error: expected primary-expression before ‘>’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:36943:44: error: expected ‘)’ before ‘;’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:36947:46: error: ‘arg2’ was not declared in this scope ((faiss::IndexPQ const *)arg1)->search(arg2,(float const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp:36947:71: error: ‘arg4’ was not declared in this scope ((faiss::IndexPQ const *)arg1)->search(arg2,(float const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexPQ_reconstruct_n(PyObject*, PyObject*)’: swigfaiss.cpp:37014:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:37014:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:37015:9: error: expected ‘;’ before ‘arg3’ idx_t arg3 ; ^~~~ swigfaiss.cpp:37044:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:37044:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:37044:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:37044:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:37044:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:37044:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:37045:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:37046:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:37057:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^~~~ swigfaiss.cpp:37057:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^~~~~ swigfaiss.cpp:37057:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:37057:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:37057:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:37057:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:37058:7: error: ‘arg3’ was not declared in this scope arg3 = *temp; ^~~~ swigfaiss.cpp:37059:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res3)) delete temp; ^~~~ swigfaiss.cpp:37070:53: error: ‘arg2’ was not declared in this scope ((faiss::IndexPQ const *)arg1)->reconstruct_n(arg2,arg3,arg4); ^~~~ swigfaiss.cpp:37070:58: error: ‘arg3’ was not declared in this scope ((faiss::IndexPQ const *)arg1)->reconstruct_n(arg2,arg3,arg4); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexPQ_reconstruct(PyObject*, PyObject*)’: swigfaiss.cpp:37097:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:37097:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:37123:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:37123:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:37123:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:37123:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:37123:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:37123:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:37124:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:37125:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:37136:51: error: ‘arg2’ was not declared in this scope ((faiss::IndexPQ const *)arg1)->reconstruct(arg2,arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexPQ_sa_encode(PyObject*, PyObject*)’: swigfaiss.cpp:37257:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:37257:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:37287:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:37287:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:37287:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:37287:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:37287:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:37287:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:37288:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:37289:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:37305:49: error: ‘arg2’ was not declared in this scope ((faiss::IndexPQ const *)arg1)->sa_encode(arg2,(float const *)arg3,arg4); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexPQ_sa_decode(PyObject*, PyObject*)’: swigfaiss.cpp:37332:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:37332:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:37362:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:37362:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:37362:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:37362:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:37362:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:37362:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:37363:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:37364:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:37380:49: error: ‘arg2’ was not declared in this scope ((faiss::IndexPQ const *)arg1)->sa_decode(arg2,(uint8_t const *)arg3,arg4); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexPQ_search_core_polysemous(PyObject*, PyObject*)’: swigfaiss.cpp:37708:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:37708:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:37710:9: error: expected ‘;’ before ‘arg4’ idx_t arg4 ; ^~~~ swigfaiss.cpp:37712:10: error: ‘arg6’ was not declared in this scope idx_t *arg6 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:37712:25: error: expected primary-expression before ‘)’ token idx_t *arg6 = (idx_t *) 0 ; ^ swigfaiss.cpp:37746:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:37746:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:37746:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:37746:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:37746:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:37746:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:37747:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:37748:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:37764:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:37764:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:37764:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:37764:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:37764:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:37764:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:37765:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:37766:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:37778:28: error: ‘idx_t’ does not name a type arg6 = reinterpret_cast< idx_t * >(argp6); ^~~~~ swigfaiss.cpp:37778:34: error: expected ‘>’ before ‘*’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:37778:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:37778:36: error: expected primary-expression before ‘>’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:37778:44: error: expected ‘)’ before ‘;’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:37782:62: error: ‘arg2’ was not declared in this scope ((faiss::IndexPQ const *)arg1)->search_core_polysemous(arg2,(float const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp:37782:87: error: ‘arg4’ was not declared in this scope ((faiss::IndexPQ const *)arg1)->search_core_polysemous(arg2,(float const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexPQ_hamming_distance_histogram(PyObject*, PyObject*)’: swigfaiss.cpp:37809:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:37809:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:37811:9: error: expected ‘;’ before ‘arg4’ idx_t arg4 ; ^~~~ swigfaiss.cpp:37847:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:37847:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:37847:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:37847:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:37847:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:37847:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:37848:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:37849:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:37865:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:37865:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:37865:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:37865:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:37865:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:37865:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:37866:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:37867:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:37883:42: error: ‘arg2’ was not declared in this scope (arg1)->hamming_distance_histogram(arg2,(float const *)arg3,arg4,(float const *)arg5,arg6); ^~~~ swigfaiss.cpp:37883:67: error: ‘arg4’ was not declared in this scope (arg1)->hamming_distance_histogram(arg2,(float const *)arg3,arg4,(float const *)arg5,arg6); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexPQ_hamming_distance_table(PyObject*, PyObject*)’: swigfaiss.cpp:37910:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:37910:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:37940:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:37940:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:37940:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:37940:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:37940:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:37940:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:37941:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:37942:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:37958:62: error: ‘arg2’ was not declared in this scope ((faiss::IndexPQ const *)arg1)->hamming_distance_table(arg2,(float const *)arg3,arg4); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_MultiIndexQuantizer_train(PyObject*, PyObject*)’: swigfaiss.cpp:38410:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:38410:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:38436:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:38436:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:38436:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:38436:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:38436:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:38436:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:38437:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:38438:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:38449:21: error: ‘arg2’ was not declared in this scope (arg1)->train(arg2,(float const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_MultiIndexQuantizer_search(PyObject*, PyObject*)’: swigfaiss.cpp:38476:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:38476:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:38478:9: error: expected ‘;’ before ‘arg4’ idx_t arg4 ; ^~~~ swigfaiss.cpp:38480:10: error: ‘arg6’ was not declared in this scope idx_t *arg6 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:38480:25: error: expected primary-expression before ‘)’ token idx_t *arg6 = (idx_t *) 0 ; ^ swigfaiss.cpp:38514:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:38514:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:38514:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:38514:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:38514:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:38514:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:38515:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:38516:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:38532:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:38532:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:38532:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:38532:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:38532:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:38532:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:38533:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:38534:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:38546:28: error: ‘idx_t’ does not name a type arg6 = reinterpret_cast< idx_t * >(argp6); ^~~~~ swigfaiss.cpp:38546:34: error: expected ‘>’ before ‘*’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:38546:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:38546:36: error: expected primary-expression before ‘>’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:38546:44: error: expected ‘)’ before ‘;’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:38550:58: error: ‘arg2’ was not declared in this scope ((faiss::MultiIndexQuantizer const *)arg1)->search(arg2,(float const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp:38550:83: error: ‘arg4’ was not declared in this scope ((faiss::MultiIndexQuantizer const *)arg1)->search(arg2,(float const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_MultiIndexQuantizer_add(PyObject*, PyObject*)’: swigfaiss.cpp:38577:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:38577:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:38603:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:38603:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:38603:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:38603:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:38603:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:38603:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:38604:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:38605:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:38616:19: error: ‘arg2’ was not declared in this scope (arg1)->add(arg2,(float const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_MultiIndexQuantizer_reconstruct(PyObject*, PyObject*)’: swigfaiss.cpp:38762:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:38762:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:38788:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:38788:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:38788:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:38788:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:38788:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:38788:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:38789:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:38790:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:38801:63: error: ‘arg2’ was not declared in this scope ((faiss::MultiIndexQuantizer const *)arg1)->reconstruct(arg2,arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_MultiIndexQuantizer2_train(PyObject*, PyObject*)’: swigfaiss.cpp:39171:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:39171:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:39197:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:39197:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:39197:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:39197:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:39197:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:39197:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:39198:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:39199:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:39210:21: error: ‘arg2’ was not declared in this scope (arg1)->train(arg2,(float const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_MultiIndexQuantizer2_search(PyObject*, PyObject*)’: swigfaiss.cpp:39237:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:39237:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:39239:9: error: expected ‘;’ before ‘arg4’ idx_t arg4 ; ^~~~ swigfaiss.cpp:39241:10: error: ‘arg6’ was not declared in this scope idx_t *arg6 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:39241:25: error: expected primary-expression before ‘)’ token idx_t *arg6 = (idx_t *) 0 ; ^ swigfaiss.cpp:39275:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:39275:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:39275:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:39275:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:39275:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:39275:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:39276:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:39277:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:39293:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:39293:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:39293:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:39293:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:39293:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:39293:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:39294:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:39295:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:39307:28: error: ‘idx_t’ does not name a type arg6 = reinterpret_cast< idx_t * >(argp6); ^~~~~ swigfaiss.cpp:39307:34: error: expected ‘>’ before ‘*’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:39307:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:39307:36: error: expected primary-expression before ‘>’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:39307:44: error: expected ‘)’ before ‘;’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:39311:59: error: ‘arg2’ was not declared in this scope ((faiss::MultiIndexQuantizer2 const *)arg1)->search(arg2,(float const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp:39311:84: error: ‘arg4’ was not declared in this scope ((faiss::MultiIndexQuantizer2 const *)arg1)->search(arg2,(float const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVF_direct_map_set(PyObject*, PyObject*)’: swigfaiss.cpp:45141:16: error: ‘idx_t’ was not declared in this scope std::vector< idx_t > *arg2 = (std::vector< idx_t > *) 0 ; ^~~~~ swigfaiss.cpp:45141:16: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:45141:22: error: template argument 1 is invalid std::vector< idx_t > *arg2 = (std::vector< idx_t > *) 0 ; ^ swigfaiss.cpp:45141:22: error: template argument 2 is invalid swigfaiss.cpp:45141:46: error: the value of ‘idx_t’ is not usable in a constant expression std::vector< idx_t > *arg2 = (std::vector< idx_t > *) 0 ; ^~~~~ swigfaiss.cpp:45141:16: note: ‘idx_t’ was not declared ‘constexpr’ std::vector< idx_t > *arg2 = (std::vector< idx_t > *) 0 ; ^~~~~ swigfaiss.cpp:45141:52: error: type/value mismatch at argument 1 in template parameter list for ‘template class std::vector’ std::vector< idx_t > *arg2 = (std::vector< idx_t > *) 0 ; ^ swigfaiss.cpp:45141:52: note: expected a type, got ‘idx_t’ swigfaiss.cpp:45141:52: error: template argument 2 is invalid swigfaiss.cpp:45141:55: error: expected primary-expression before ‘)’ token std::vector< idx_t > *arg2 = (std::vector< idx_t > *) 0 ; ^ swigfaiss.cpp:45159:41: error: the value of ‘idx_t’ is not usable in a constant expression arg2 = reinterpret_cast< std::vector< idx_t > * >(argp2); ^~~~~ swigfaiss.cpp:45141:16: note: ‘idx_t’ was not declared ‘constexpr’ std::vector< idx_t > *arg2 = (std::vector< idx_t > *) 0 ; ^~~~~ swigfaiss.cpp:45159:47: error: type/value mismatch at argument 1 in template parameter list for ‘template class std::vector’ arg2 = reinterpret_cast< std::vector< idx_t > * >(argp2); ^ swigfaiss.cpp:45159:47: note: expected a type, got ‘idx_t’ swigfaiss.cpp:45159:47: error: template argument 2 is invalid swigfaiss.cpp:45159:49: error: expected ‘>’ before ‘*’ token arg2 = reinterpret_cast< std::vector< idx_t > * >(argp2); ^ swigfaiss.cpp:45159:49: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:45159:51: error: expected primary-expression before ‘>’ token arg2 = reinterpret_cast< std::vector< idx_t > * >(argp2); ^ swigfaiss.cpp:45159:59: error: expected ‘)’ before ‘;’ token arg2 = reinterpret_cast< std::vector< idx_t > * >(argp2); ^ swigfaiss.cpp:45160:35: error: no match for ‘operator=’ (operand types are ‘std::vector’ and ‘int’) if (arg1) (arg1)->direct_map = *arg2; ^~~~ In file included from /usr/include/c++/6/vector:69:0, from ../faiss/IndexFlat.h:13, from swigfaiss.cpp:3384: /usr/include/c++/6/bits/vector.tcc:167:5: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = long long int; _Alloc = std::allocator] vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ /usr/include/c++/6/bits/vector.tcc:167:5: note: no known conversion for argument 1 from ‘int’ to ‘const std::vector&’ In file included from /usr/include/c++/6/vector:64:0, from ../faiss/IndexFlat.h:13, from swigfaiss.cpp:3384: /usr/include/c++/6/bits/stl_vector.h:450:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = long long int; _Alloc = std::allocator] operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move()) ^~~~~~~~ /usr/include/c++/6/bits/stl_vector.h:450:7: note: no known conversion for argument 1 from ‘int’ to ‘std::vector&&’ /usr/include/c++/6/bits/stl_vector.h:471:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = long long int; _Alloc = std::allocator] operator=(initializer_list __l) ^~~~~~~~ /usr/include/c++/6/bits/stl_vector.h:471:7: note: no known conversion for argument 1 from ‘int’ to ‘std::initializer_list’ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVF_direct_map_get(PyObject*, PyObject*)’: swigfaiss.cpp:45174:16: error: ‘idx_t’ was not declared in this scope std::vector< idx_t > *result = 0 ; ^~~~~ swigfaiss.cpp:45174:16: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:45174:22: error: template argument 1 is invalid std::vector< idx_t > *result = 0 ; ^ swigfaiss.cpp:45174:22: error: template argument 2 is invalid swigfaiss.cpp:45182:26: error: the value of ‘idx_t’ is not usable in a constant expression result = (std::vector< idx_t > *)& ((arg1)->direct_map); ^~~~~ swigfaiss.cpp:45174:16: note: ‘idx_t’ was not declared ‘constexpr’ std::vector< idx_t > *result = 0 ; ^~~~~ swigfaiss.cpp:45182:32: error: type/value mismatch at argument 1 in template parameter list for ‘template class std::vector’ result = (std::vector< idx_t > *)& ((arg1)->direct_map); ^ swigfaiss.cpp:45182:32: note: expected a type, got ‘idx_t’ swigfaiss.cpp:45182:32: error: template argument 2 is invalid swigfaiss.cpp:45182:35: error: expected primary-expression before ‘)’ token result = (std::vector< idx_t > *)& ((arg1)->direct_map); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVF_train(PyObject*, PyObject*)’: swigfaiss.cpp:45233:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:45233:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:45259:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:45259:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:45259:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:45259:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:45259:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:45259:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:45260:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:45261:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:45272:21: error: ‘arg2’ was not declared in this scope (arg1)->train(arg2,(float const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVF_add(PyObject*, PyObject*)’: swigfaiss.cpp:45299:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:45299:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:45325:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:45325:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:45325:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:45325:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:45325:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:45325:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:45326:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:45327:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:45338:19: error: ‘arg2’ was not declared in this scope (arg1)->add(arg2,(float const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVF_add_with_ids(PyObject*, PyObject*)’: swigfaiss.cpp:45365:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:45365:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:45367:10: error: ‘arg4’ was not declared in this scope idx_t *arg4 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:45367:25: error: expected primary-expression before ‘)’ token idx_t *arg4 = (idx_t *) 0 ; ^ swigfaiss.cpp:45395:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:45395:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:45395:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:45395:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:45395:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:45395:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:45396:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:45397:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:45409:28: error: ‘idx_t’ does not name a type arg4 = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:45409:34: error: expected ‘>’ before ‘*’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:45409:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:45409:36: error: expected primary-expression before ‘>’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:45409:44: error: expected ‘)’ before ‘;’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:45413:28: error: ‘arg2’ was not declared in this scope (arg1)->add_with_ids(arg2,(float const *)arg3,(idx_t const *)arg4); ^~~~ swigfaiss.cpp:45413:60: error: expected ‘)’ before ‘const’ (arg1)->add_with_ids(arg2,(float const *)arg3,(idx_t const *)arg4); ^~~~~ swigfaiss.cpp:45413:73: error: expected ‘)’ before ‘;’ token (arg1)->add_with_ids(arg2,(float const *)arg3,(idx_t const *)arg4); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVF_encode_vectors__SWIG_0(PyObject*, PyObject*)’: swigfaiss.cpp:45440:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:45440:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:45442:10: error: ‘arg4’ was not declared in this scope idx_t *arg4 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:45442:25: error: expected primary-expression before ‘)’ token idx_t *arg4 = (idx_t *) 0 ; ^ swigfaiss.cpp:45478:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:45478:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:45478:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:45478:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:45478:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:45478:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:45479:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:45480:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:45492:28: error: ‘idx_t’ does not name a type arg4 = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:45492:34: error: expected ‘>’ before ‘*’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:45492:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:45492:36: error: expected primary-expression before ‘>’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:45492:44: error: expected ‘)’ before ‘;’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:45506:55: error: ‘arg2’ was not declared in this scope ((faiss::IndexIVF const *)arg1)->encode_vectors(arg2,(float const *)arg3,(idx_t const *)arg4,arg5,arg6); ^~~~ swigfaiss.cpp:45506:87: error: expected ‘)’ before ‘const’ ((faiss::IndexIVF const *)arg1)->encode_vectors(arg2,(float const *)arg3,(idx_t const *)arg4,arg5,arg6); ^~~~~ swigfaiss.cpp:45506:110: error: expected ‘)’ before ‘;’ token ((faiss::IndexIVF const *)arg1)->encode_vectors(arg2,(float const *)arg3,(idx_t const *)arg4,arg5,arg6); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVF_encode_vectors__SWIG_1(PyObject*, PyObject*)’: swigfaiss.cpp:45533:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:45533:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:45535:10: error: ‘arg4’ was not declared in this scope idx_t *arg4 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:45535:25: error: expected primary-expression before ‘)’ token idx_t *arg4 = (idx_t *) 0 ; ^ swigfaiss.cpp:45567:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:45567:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:45567:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:45567:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:45567:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:45567:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:45568:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:45569:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:45581:28: error: ‘idx_t’ does not name a type arg4 = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:45581:34: error: expected ‘>’ before ‘*’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:45581:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:45581:36: error: expected primary-expression before ‘>’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:45581:44: error: expected ‘)’ before ‘;’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:45590:55: error: ‘arg2’ was not declared in this scope ((faiss::IndexIVF const *)arg1)->encode_vectors(arg2,(float const *)arg3,(idx_t const *)arg4,arg5); ^~~~ swigfaiss.cpp:45590:87: error: expected ‘)’ before ‘const’ ((faiss::IndexIVF const *)arg1)->encode_vectors(arg2,(float const *)arg3,(idx_t const *)arg4,arg5); ^~~~~ swigfaiss.cpp:45590:105: error: expected ‘)’ before ‘;’ token ((faiss::IndexIVF const *)arg1)->encode_vectors(arg2,(float const *)arg3,(idx_t const *)arg4,arg5); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVF_train_residual(PyObject*, PyObject*)’: swigfaiss.cpp:45701:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:45701:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:45727:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:45727:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:45727:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:45727:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:45727:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:45727:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:45728:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:45729:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:45740:30: error: ‘arg2’ was not declared in this scope (arg1)->train_residual(arg2,(float const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVF_search_preassigned__SWIG_0(PyObject*, PyObject*)’: swigfaiss.cpp:45767:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:45767:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:45769:9: error: expected ‘;’ before ‘arg4’ idx_t arg4 ; ^~~~ swigfaiss.cpp:45770:10: error: ‘arg5’ was not declared in this scope idx_t *arg5 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:45770:25: error: expected primary-expression before ‘)’ token idx_t *arg5 = (idx_t *) 0 ; ^ swigfaiss.cpp:45773:10: error: ‘arg8’ was not declared in this scope idx_t *arg8 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:45773:25: error: expected primary-expression before ‘)’ token idx_t *arg8 = (idx_t *) 0 ; ^ swigfaiss.cpp:45821:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:45821:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:45821:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:45821:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:45821:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:45821:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:45822:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:45823:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:45839:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:45839:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:45839:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:45839:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:45839:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:45839:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:45840:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:45841:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:45848:28: error: ‘idx_t’ does not name a type arg5 = reinterpret_cast< idx_t * >(argp5); ^~~~~ swigfaiss.cpp:45848:34: error: expected ‘>’ before ‘*’ token arg5 = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:45848:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:45848:36: error: expected primary-expression before ‘>’ token arg5 = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:45848:44: error: expected ‘)’ before ‘;’ token arg5 = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:45863:28: error: ‘idx_t’ does not name a type arg8 = reinterpret_cast< idx_t * >(argp8); ^~~~~ swigfaiss.cpp:45863:34: error: expected ‘>’ before ‘*’ token arg8 = reinterpret_cast< idx_t * >(argp8); ^ swigfaiss.cpp:45863:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:45863:36: error: expected primary-expression before ‘>’ token arg8 = reinterpret_cast< idx_t * >(argp8); ^ swigfaiss.cpp:45863:44: error: expected ‘)’ before ‘;’ token arg8 = reinterpret_cast< idx_t * >(argp8); ^ swigfaiss.cpp:45877:59: error: ‘arg2’ was not declared in this scope ((faiss::IndexIVF const *)arg1)->search_preassigned(arg2,(float const *)arg3,arg4,(idx_t const *)arg5,(float const *)arg6,arg7,arg8,arg9,(faiss::IVFSearchParameters const *)arg10); ^~~~ swigfaiss.cpp:45877:84: error: ‘arg4’ was not declared in this scope ((faiss::IndexIVF const *)arg1)->search_preassigned(arg2,(float const *)arg3,arg4,(idx_t const *)arg5,(float const *)arg6,arg7,arg8,arg9,(faiss::IVFSearchParameters const *)arg10); ^~~~ swigfaiss.cpp:45877:96: error: expected ‘)’ before ‘const’ ((faiss::IndexIVF const *)arg1)->search_preassigned(arg2,(float const *)arg3,arg4,(idx_t const *)arg5,(float const *)arg6,arg7,arg8,arg9,(faiss::IVFSearchParameters const *)arg10); ^~~~~ swigfaiss.cpp:45877:186: error: expected ‘)’ before ‘;’ token ((faiss::IndexIVF const *)arg1)->search_preassigned(arg2,(float const *)arg3,arg4,(idx_t const *)arg5,(float const *)arg6,arg7,arg8,arg9,(faiss::IVFSearchParameters const *)arg10); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVF_search_preassigned__SWIG_1(PyObject*, PyObject*)’: swigfaiss.cpp:45904:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:45904:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:45906:9: error: expected ‘;’ before ‘arg4’ idx_t arg4 ; ^~~~ swigfaiss.cpp:45907:10: error: ‘arg5’ was not declared in this scope idx_t *arg5 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:45907:25: error: expected primary-expression before ‘)’ token idx_t *arg5 = (idx_t *) 0 ; ^ swigfaiss.cpp:45910:10: error: ‘arg8’ was not declared in this scope idx_t *arg8 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:45910:25: error: expected primary-expression before ‘)’ token idx_t *arg8 = (idx_t *) 0 ; ^ swigfaiss.cpp:45954:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:45954:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:45954:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:45954:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:45954:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:45954:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:45955:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:45956:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:45972:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:45972:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:45972:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:45972:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:45972:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:45972:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:45973:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:45974:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:45981:28: error: ‘idx_t’ does not name a type arg5 = reinterpret_cast< idx_t * >(argp5); ^~~~~ swigfaiss.cpp:45981:34: error: expected ‘>’ before ‘*’ token arg5 = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:45981:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:45981:36: error: expected primary-expression before ‘>’ token arg5 = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:45981:44: error: expected ‘)’ before ‘;’ token arg5 = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:45996:28: error: ‘idx_t’ does not name a type arg8 = reinterpret_cast< idx_t * >(argp8); ^~~~~ swigfaiss.cpp:45996:34: error: expected ‘>’ before ‘*’ token arg8 = reinterpret_cast< idx_t * >(argp8); ^ swigfaiss.cpp:45996:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:45996:36: error: expected primary-expression before ‘>’ token arg8 = reinterpret_cast< idx_t * >(argp8); ^ swigfaiss.cpp:45996:44: error: expected ‘)’ before ‘;’ token arg8 = reinterpret_cast< idx_t * >(argp8); ^ swigfaiss.cpp:46005:59: error: ‘arg2’ was not declared in this scope ((faiss::IndexIVF const *)arg1)->search_preassigned(arg2,(float const *)arg3,arg4,(idx_t const *)arg5,(float const *)arg6,arg7,arg8,arg9); ^~~~ swigfaiss.cpp:46005:84: error: ‘arg4’ was not declared in this scope ((faiss::IndexIVF const *)arg1)->search_preassigned(arg2,(float const *)arg3,arg4,(idx_t const *)arg5,(float const *)arg6,arg7,arg8,arg9); ^~~~ swigfaiss.cpp:46005:96: error: expected ‘)’ before ‘const’ ((faiss::IndexIVF const *)arg1)->search_preassigned(arg2,(float const *)arg3,arg4,(idx_t const *)arg5,(float const *)arg6,arg7,arg8,arg9); ^~~~~ swigfaiss.cpp:46005:144: error: expected ‘)’ before ‘;’ token ((faiss::IndexIVF const *)arg1)->search_preassigned(arg2,(float const *)arg3,arg4,(idx_t const *)arg5,(float const *)arg6,arg7,arg8,arg9); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVF_search(PyObject*, PyObject*)’: swigfaiss.cpp:46155:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:46155:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:46157:9: error: expected ‘;’ before ‘arg4’ idx_t arg4 ; ^~~~ swigfaiss.cpp:46159:10: error: ‘arg6’ was not declared in this scope idx_t *arg6 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:46159:25: error: expected primary-expression before ‘)’ token idx_t *arg6 = (idx_t *) 0 ; ^ swigfaiss.cpp:46193:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:46193:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:46193:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:46193:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:46193:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:46193:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:46194:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:46195:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:46211:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:46211:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:46211:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:46211:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:46211:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:46211:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:46212:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:46213:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:46225:28: error: ‘idx_t’ does not name a type arg6 = reinterpret_cast< idx_t * >(argp6); ^~~~~ swigfaiss.cpp:46225:34: error: expected ‘>’ before ‘*’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:46225:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:46225:36: error: expected primary-expression before ‘>’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:46225:44: error: expected ‘)’ before ‘;’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:46229:47: error: ‘arg2’ was not declared in this scope ((faiss::IndexIVF const *)arg1)->search(arg2,(float const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp:46229:72: error: ‘arg4’ was not declared in this scope ((faiss::IndexIVF const *)arg1)->search(arg2,(float const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVF_range_search(PyObject*, PyObject*)’: swigfaiss.cpp:46256:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:46256:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:46290:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:46290:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:46290:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:46290:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:46290:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:46290:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:46291:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:46292:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:46313:53: error: ‘arg2’ was not declared in this scope ((faiss::IndexIVF const *)arg1)->range_search(arg2,(float const *)arg3,arg4,arg5); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVF_range_search_preassigned(PyObject*, PyObject*)’: swigfaiss.cpp:46340:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:46340:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:46343:10: error: ‘arg5’ was not declared in this scope idx_t *arg5 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:46343:25: error: expected primary-expression before ‘)’ token idx_t *arg5 = (idx_t *) 0 ; ^ swigfaiss.cpp:46382:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:46382:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:46382:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:46382:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:46382:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:46382:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:46383:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:46384:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:46401:28: error: ‘idx_t’ does not name a type arg5 = reinterpret_cast< idx_t * >(argp5); ^~~~~ swigfaiss.cpp:46401:34: error: expected ‘>’ before ‘*’ token arg5 = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:46401:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:46401:36: error: expected primary-expression before ‘>’ token arg5 = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:46401:44: error: expected ‘)’ before ‘;’ token arg5 = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:46415:65: error: ‘arg2’ was not declared in this scope ((faiss::IndexIVF const *)arg1)->range_search_preassigned(arg2,(float const *)arg3,arg4,(idx_t const *)arg5,(float const *)arg6,arg7); ^~~~ swigfaiss.cpp:46415:102: error: expected ‘)’ before ‘const’ ((faiss::IndexIVF const *)arg1)->range_search_preassigned(arg2,(float const *)arg3,arg4,(idx_t const *)arg5,(float const *)arg6,arg7); ^~~~~ swigfaiss.cpp:46415:140: error: expected ‘)’ before ‘;’ token ((faiss::IndexIVF const *)arg1)->range_search_preassigned(arg2,(float const *)arg3,arg4,(idx_t const *)arg5,(float const *)arg6,arg7); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVF_reconstruct(PyObject*, PyObject*)’: swigfaiss.cpp:46579:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:46579:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:46605:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:46605:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:46605:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:46605:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:46605:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:46605:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:46606:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:46607:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:46618:52: error: ‘arg2’ was not declared in this scope ((faiss::IndexIVF const *)arg1)->reconstruct(arg2,arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVF_reconstruct_n(PyObject*, PyObject*)’: swigfaiss.cpp:46645:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:46645:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:46646:9: error: expected ‘;’ before ‘arg3’ idx_t arg3 ; ^~~~ swigfaiss.cpp:46675:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:46675:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:46675:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:46675:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:46675:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:46675:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:46676:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:46677:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:46688:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^~~~ swigfaiss.cpp:46688:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^~~~~ swigfaiss.cpp:46688:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:46688:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:46688:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:46688:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:46689:7: error: ‘arg3’ was not declared in this scope arg3 = *temp; ^~~~ swigfaiss.cpp:46690:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res3)) delete temp; ^~~~ swigfaiss.cpp:46701:54: error: ‘arg2’ was not declared in this scope ((faiss::IndexIVF const *)arg1)->reconstruct_n(arg2,arg3,arg4); ^~~~ swigfaiss.cpp:46701:59: error: ‘arg3’ was not declared in this scope ((faiss::IndexIVF const *)arg1)->reconstruct_n(arg2,arg3,arg4); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVF_search_and_reconstruct(PyObject*, PyObject*)’: swigfaiss.cpp:46728:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:46728:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:46730:9: error: expected ‘;’ before ‘arg4’ idx_t arg4 ; ^~~~ swigfaiss.cpp:46732:10: error: ‘arg6’ was not declared in this scope idx_t *arg6 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:46732:25: error: expected primary-expression before ‘)’ token idx_t *arg6 = (idx_t *) 0 ; ^ swigfaiss.cpp:46770:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:46770:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:46770:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:46770:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:46770:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:46770:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:46771:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:46772:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:46788:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:46788:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:46788:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:46788:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:46788:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:46788:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:46789:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:46790:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:46802:28: error: ‘idx_t’ does not name a type arg6 = reinterpret_cast< idx_t * >(argp6); ^~~~~ swigfaiss.cpp:46802:34: error: expected ‘>’ before ‘*’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:46802:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:46802:36: error: expected primary-expression before ‘>’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:46802:44: error: expected ‘)’ before ‘;’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:46811:63: error: ‘arg2’ was not declared in this scope ((faiss::IndexIVF const *)arg1)->search_and_reconstruct(arg2,(float const *)arg3,arg4,arg5,arg6,arg7); ^~~~ swigfaiss.cpp:46811:88: error: ‘arg4’ was not declared in this scope ((faiss::IndexIVF const *)arg1)->search_and_reconstruct(arg2,(float const *)arg3,arg4,arg5,arg6,arg7); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVF_merge_from(PyObject*, PyObject*)’: swigfaiss.cpp:47011:3: error: ‘idx_t’ was not declared in this scope idx_t arg3 ; ^~~~~ swigfaiss.cpp:47011:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:47044:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^~~~ swigfaiss.cpp:47044:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^~~~~ swigfaiss.cpp:47044:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:47044:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:47044:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:47044:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:47045:7: error: ‘arg3’ was not declared in this scope arg3 = *temp; ^~~~ swigfaiss.cpp:47046:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res3)) delete temp; ^~~~ swigfaiss.cpp:47052:32: error: ‘arg3’ was not declared in this scope (arg1)->merge_from(*arg2,arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVF_copy_subset_to(PyObject*, PyObject*)’: swigfaiss.cpp:47081:3: error: ‘idx_t’ was not declared in this scope idx_t arg4 ; ^~~~~ swigfaiss.cpp:47081:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:47082:9: error: expected ‘;’ before ‘arg5’ idx_t arg5 ; ^~~~ swigfaiss.cpp:47126:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:47126:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:47126:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:47126:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:47126:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:47126:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:47127:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:47128:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:47139:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp5); ^~~~ swigfaiss.cpp:47139:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp5); ^~~~~ swigfaiss.cpp:47139:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:47139:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:47139:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:47139:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:47140:7: error: ‘arg5’ was not declared in this scope arg5 = *temp; ^~~~ swigfaiss.cpp:47141:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res5)) delete temp; ^~~~ swigfaiss.cpp:47147:66: error: ‘arg4’ was not declared in this scope ((faiss::IndexIVF const *)arg1)->copy_subset_to(*arg2,arg3,arg4,arg5); ^~~~ swigfaiss.cpp:47147:71: error: ‘arg5’ was not declared in this scope ((faiss::IndexIVF const *)arg1)->copy_subset_to(*arg2,arg3,arg4,arg5); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVF_sa_encode(PyObject*, PyObject*)’: swigfaiss.cpp:47603:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:47603:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:47633:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:47633:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:47633:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:47633:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:47633:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:47633:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:47634:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:47635:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:47651:50: error: ‘arg2’ was not declared in this scope ((faiss::IndexIVF const *)arg1)->sa_encode(arg2,(float const *)arg3,arg4); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexScalarQuantizer_train(PyObject*, PyObject*)’: swigfaiss.cpp:50873:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:50873:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:50899:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:50899:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:50899:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:50899:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:50899:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:50899:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:50900:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:50901:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:50912:21: error: ‘arg2’ was not declared in this scope (arg1)->train(arg2,(float const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexScalarQuantizer_add(PyObject*, PyObject*)’: swigfaiss.cpp:50939:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:50939:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:50965:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:50965:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:50965:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:50965:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:50965:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:50965:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:50966:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:50967:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:50978:19: error: ‘arg2’ was not declared in this scope (arg1)->add(arg2,(float const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexScalarQuantizer_search(PyObject*, PyObject*)’: swigfaiss.cpp:51005:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:51005:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:51007:9: error: expected ‘;’ before ‘arg4’ idx_t arg4 ; ^~~~ swigfaiss.cpp:51009:10: error: ‘arg6’ was not declared in this scope idx_t *arg6 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:51009:25: error: expected primary-expression before ‘)’ token idx_t *arg6 = (idx_t *) 0 ; ^ swigfaiss.cpp:51043:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:51043:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:51043:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:51043:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:51043:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:51043:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:51044:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:51045:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:51061:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:51061:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:51061:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:51061:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:51061:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:51061:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:51062:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:51063:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:51075:28: error: ‘idx_t’ does not name a type arg6 = reinterpret_cast< idx_t * >(argp6); ^~~~~ swigfaiss.cpp:51075:34: error: expected ‘>’ before ‘*’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:51075:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:51075:36: error: expected primary-expression before ‘>’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:51075:44: error: expected ‘)’ before ‘;’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:51079:59: error: ‘arg2’ was not declared in this scope ((faiss::IndexScalarQuantizer const *)arg1)->search(arg2,(float const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp:51079:84: error: ‘arg4’ was not declared in this scope ((faiss::IndexScalarQuantizer const *)arg1)->search(arg2,(float const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexScalarQuantizer_reconstruct_n(PyObject*, PyObject*)’: swigfaiss.cpp:51146:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:51146:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:51147:9: error: expected ‘;’ before ‘arg3’ idx_t arg3 ; ^~~~ swigfaiss.cpp:51176:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:51176:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:51176:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:51176:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:51176:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:51176:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:51177:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:51178:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:51189:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^~~~ swigfaiss.cpp:51189:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^~~~~ swigfaiss.cpp:51189:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:51189:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:51189:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:51189:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:51190:7: error: ‘arg3’ was not declared in this scope arg3 = *temp; ^~~~ swigfaiss.cpp:51191:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res3)) delete temp; ^~~~ swigfaiss.cpp:51202:66: error: ‘arg2’ was not declared in this scope ((faiss::IndexScalarQuantizer const *)arg1)->reconstruct_n(arg2,arg3,arg4); ^~~~ swigfaiss.cpp:51202:71: error: ‘arg3’ was not declared in this scope ((faiss::IndexScalarQuantizer const *)arg1)->reconstruct_n(arg2,arg3,arg4); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexScalarQuantizer_reconstruct(PyObject*, PyObject*)’: swigfaiss.cpp:51229:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:51229:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:51255:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:51255:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:51255:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:51255:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:51255:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:51255:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:51256:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:51257:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:51268:64: error: ‘arg2’ was not declared in this scope ((faiss::IndexScalarQuantizer const *)arg1)->reconstruct(arg2,arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexScalarQuantizer_sa_encode(PyObject*, PyObject*)’: swigfaiss.cpp:51377:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:51377:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:51407:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:51407:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:51407:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:51407:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:51407:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:51407:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:51408:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:51409:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:51425:62: error: ‘arg2’ was not declared in this scope ((faiss::IndexScalarQuantizer const *)arg1)->sa_encode(arg2,(float const *)arg3,arg4); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexScalarQuantizer_sa_decode(PyObject*, PyObject*)’: swigfaiss.cpp:51452:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:51452:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:51482:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:51482:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:51482:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:51482:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:51482:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:51482:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:51483:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:51484:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:51500:62: error: ‘arg2’ was not declared in this scope ((faiss::IndexScalarQuantizer const *)arg1)->sa_decode(arg2,(uint8_t const *)arg3,arg4); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFScalarQuantizer_train_residual(PyObject*, PyObject*)’: swigfaiss.cpp:52048:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:52048:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:52074:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:52074:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:52074:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:52074:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:52074:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:52074:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:52075:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:52076:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:52087:30: error: ‘arg2’ was not declared in this scope (arg1)->train_residual(arg2,(float const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFScalarQuantizer_encode_vectors__SWIG_0(PyObject*, PyObject*)’: swigfaiss.cpp:52114:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:52114:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:52116:10: error: ‘arg4’ was not declared in this scope idx_t *arg4 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:52116:25: error: expected primary-expression before ‘)’ token idx_t *arg4 = (idx_t *) 0 ; ^ swigfaiss.cpp:52152:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:52152:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:52152:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:52152:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:52152:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:52152:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:52153:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:52154:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:52166:28: error: ‘idx_t’ does not name a type arg4 = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:52166:34: error: expected ‘>’ before ‘*’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:52166:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:52166:36: error: expected primary-expression before ‘>’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:52166:44: error: expected ‘)’ before ‘;’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:52180:70: error: ‘arg2’ was not declared in this scope ((faiss::IndexIVFScalarQuantizer const *)arg1)->encode_vectors(arg2,(float const *)arg3,(idx_t const *)arg4,arg5,arg6); ^~~~ swigfaiss.cpp:52180:102: error: expected ‘)’ before ‘const’ ((faiss::IndexIVFScalarQuantizer const *)arg1)->encode_vectors(arg2,(float const *)arg3,(idx_t const *)arg4,arg5,arg6); ^~~~~ swigfaiss.cpp:52180:125: error: expected ‘)’ before ‘;’ token ((faiss::IndexIVFScalarQuantizer const *)arg1)->encode_vectors(arg2,(float const *)arg3,(idx_t const *)arg4,arg5,arg6); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFScalarQuantizer_encode_vectors__SWIG_1(PyObject*, PyObject*)’: swigfaiss.cpp:52207:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:52207:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:52209:10: error: ‘arg4’ was not declared in this scope idx_t *arg4 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:52209:25: error: expected primary-expression before ‘)’ token idx_t *arg4 = (idx_t *) 0 ; ^ swigfaiss.cpp:52241:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:52241:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:52241:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:52241:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:52241:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:52241:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:52242:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:52243:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:52255:28: error: ‘idx_t’ does not name a type arg4 = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:52255:34: error: expected ‘>’ before ‘*’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:52255:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:52255:36: error: expected primary-expression before ‘>’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:52255:44: error: expected ‘)’ before ‘;’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:52264:70: error: ‘arg2’ was not declared in this scope ((faiss::IndexIVFScalarQuantizer const *)arg1)->encode_vectors(arg2,(float const *)arg3,(idx_t const *)arg4,arg5); ^~~~ swigfaiss.cpp:52264:102: error: expected ‘)’ before ‘const’ ((faiss::IndexIVFScalarQuantizer const *)arg1)->encode_vectors(arg2,(float const *)arg3,(idx_t const *)arg4,arg5); ^~~~~ swigfaiss.cpp:52264:120: error: expected ‘)’ before ‘;’ token ((faiss::IndexIVFScalarQuantizer const *)arg1)->encode_vectors(arg2,(float const *)arg3,(idx_t const *)arg4,arg5); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFScalarQuantizer_add_with_ids(PyObject*, PyObject*)’: swigfaiss.cpp:52375:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:52375:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:52377:10: error: ‘arg4’ was not declared in this scope idx_t *arg4 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:52377:25: error: expected primary-expression before ‘)’ token idx_t *arg4 = (idx_t *) 0 ; ^ swigfaiss.cpp:52405:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:52405:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:52405:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:52405:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:52405:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:52405:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:52406:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:52407:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:52419:28: error: ‘idx_t’ does not name a type arg4 = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:52419:34: error: expected ‘>’ before ‘*’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:52419:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:52419:36: error: expected primary-expression before ‘>’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:52419:44: error: expected ‘)’ before ‘;’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:52423:28: error: ‘arg2’ was not declared in this scope (arg1)->add_with_ids(arg2,(float const *)arg3,(idx_t const *)arg4); ^~~~ swigfaiss.cpp:52423:60: error: expected ‘)’ before ‘const’ (arg1)->add_with_ids(arg2,(float const *)arg3,(idx_t const *)arg4); ^~~~~ swigfaiss.cpp:52423:73: error: expected ‘)’ before ‘;’ token (arg1)->add_with_ids(arg2,(float const *)arg3,(idx_t const *)arg4); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFScalarQuantizer_sa_decode(PyObject*, PyObject*)’: swigfaiss.cpp:52567:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:52567:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:52597:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:52597:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:52597:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:52597:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:52597:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:52597:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:52598:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:52599:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:52615:65: error: ‘arg2’ was not declared in this scope ((faiss::IndexIVFScalarQuantizer const *)arg1)->sa_decode(arg2,(uint8_t const *)arg3,arg4); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFSpectralHash_train_residual(PyObject*, PyObject*)’: swigfaiss.cpp:53149:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:53149:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:53175:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:53175:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:53175:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:53175:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:53175:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:53175:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:53176:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:53177:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:53188:30: error: ‘arg2’ was not declared in this scope (arg1)->train_residual(arg2,(float const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFSpectralHash_encode_vectors__SWIG_0(PyObject*, PyObject*)’: swigfaiss.cpp:53215:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:53215:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:53217:10: error: ‘arg4’ was not declared in this scope idx_t *arg4 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:53217:25: error: expected primary-expression before ‘)’ token idx_t *arg4 = (idx_t *) 0 ; ^ swigfaiss.cpp:53253:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:53253:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:53253:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:53253:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:53253:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:53253:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:53254:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:53255:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:53267:28: error: ‘idx_t’ does not name a type arg4 = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:53267:34: error: expected ‘>’ before ‘*’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:53267:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:53267:36: error: expected primary-expression before ‘>’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:53267:44: error: expected ‘)’ before ‘;’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:53281:67: error: ‘arg2’ was not declared in this scope ((faiss::IndexIVFSpectralHash const *)arg1)->encode_vectors(arg2,(float const *)arg3,(idx_t const *)arg4,arg5,arg6); ^~~~ swigfaiss.cpp:53281:99: error: expected ‘)’ before ‘const’ ((faiss::IndexIVFSpectralHash const *)arg1)->encode_vectors(arg2,(float const *)arg3,(idx_t const *)arg4,arg5,arg6); ^~~~~ swigfaiss.cpp:53281:122: error: expected ‘)’ before ‘;’ token ((faiss::IndexIVFSpectralHash const *)arg1)->encode_vectors(arg2,(float const *)arg3,(idx_t const *)arg4,arg5,arg6); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFSpectralHash_encode_vectors__SWIG_1(PyObject*, PyObject*)’: swigfaiss.cpp:53308:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:53308:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:53310:10: error: ‘arg4’ was not declared in this scope idx_t *arg4 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:53310:25: error: expected primary-expression before ‘)’ token idx_t *arg4 = (idx_t *) 0 ; ^ swigfaiss.cpp:53342:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:53342:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:53342:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:53342:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:53342:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:53342:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:53343:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:53344:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:53356:28: error: ‘idx_t’ does not name a type arg4 = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:53356:34: error: expected ‘>’ before ‘*’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:53356:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:53356:36: error: expected primary-expression before ‘>’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:53356:44: error: expected ‘)’ before ‘;’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:53365:67: error: ‘arg2’ was not declared in this scope ((faiss::IndexIVFSpectralHash const *)arg1)->encode_vectors(arg2,(float const *)arg3,(idx_t const *)arg4,arg5); ^~~~ swigfaiss.cpp:53365:99: error: expected ‘)’ before ‘const’ ((faiss::IndexIVFSpectralHash const *)arg1)->encode_vectors(arg2,(float const *)arg3,(idx_t const *)arg4,arg5); ^~~~~ swigfaiss.cpp:53365:117: error: expected ‘)’ before ‘;’ token ((faiss::IndexIVFSpectralHash const *)arg1)->encode_vectors(arg2,(float const *)arg3,(idx_t const *)arg4,arg5); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexHNSW_add(PyObject*, PyObject*)’: swigfaiss.cpp:58370:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:58370:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:58396:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:58396:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:58396:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:58396:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:58396:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:58396:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:58397:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:58398:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:58409:19: error: ‘arg2’ was not declared in this scope (arg1)->add(arg2,(float const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexHNSW_train(PyObject*, PyObject*)’: swigfaiss.cpp:58436:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:58436:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:58462:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:58462:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:58462:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:58462:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:58462:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:58462:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:58463:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:58464:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:58475:21: error: ‘arg2’ was not declared in this scope (arg1)->train(arg2,(float const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexHNSW_search(PyObject*, PyObject*)’: swigfaiss.cpp:58502:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:58502:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:58504:9: error: expected ‘;’ before ‘arg4’ idx_t arg4 ; ^~~~ swigfaiss.cpp:58506:10: error: ‘arg6’ was not declared in this scope idx_t *arg6 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:58506:25: error: expected primary-expression before ‘)’ token idx_t *arg6 = (idx_t *) 0 ; ^ swigfaiss.cpp:58540:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:58540:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:58540:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:58540:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:58540:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:58540:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:58541:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:58542:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:58558:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:58558:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:58558:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:58558:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:58558:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:58558:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:58559:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:58560:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:58572:28: error: ‘idx_t’ does not name a type arg6 = reinterpret_cast< idx_t * >(argp6); ^~~~~ swigfaiss.cpp:58572:34: error: expected ‘>’ before ‘*’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:58572:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:58572:36: error: expected primary-expression before ‘>’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:58572:44: error: expected ‘)’ before ‘;’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:58576:48: error: ‘arg2’ was not declared in this scope ((faiss::IndexHNSW const *)arg1)->search(arg2,(float const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp:58576:73: error: ‘arg4’ was not declared in this scope ((faiss::IndexHNSW const *)arg1)->search(arg2,(float const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexHNSW_reconstruct(PyObject*, PyObject*)’: swigfaiss.cpp:58603:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:58603:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:58629:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:58629:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:58629:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:58629:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:58629:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:58629:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:58630:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:58631:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:58642:53: error: ‘arg2’ was not declared in this scope ((faiss::IndexHNSW const *)arg1)->reconstruct(arg2,arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexHNSW_search_level_0__SWIG_0(PyObject*, PyObject*)’: swigfaiss.cpp:58758:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:58758:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:58760:9: error: expected ‘;’ before ‘arg4’ idx_t arg4 ; ^~~~ swigfaiss.cpp:58764:10: error: ‘arg8’ was not declared in this scope idx_t *arg8 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:58764:25: error: expected primary-expression before ‘)’ token idx_t *arg8 = (idx_t *) 0 ; ^ swigfaiss.cpp:58812:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:58812:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:58812:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:58812:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:58812:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:58812:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:58813:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:58814:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:58830:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:58830:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:58830:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:58830:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:58830:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:58830:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:58831:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:58832:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:58854:28: error: ‘idx_t’ does not name a type arg8 = reinterpret_cast< idx_t * >(argp8); ^~~~~ swigfaiss.cpp:58854:34: error: expected ‘>’ before ‘*’ token arg8 = reinterpret_cast< idx_t * >(argp8); ^ swigfaiss.cpp:58854:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:58854:36: error: expected primary-expression before ‘>’ token arg8 = reinterpret_cast< idx_t * >(argp8); ^ swigfaiss.cpp:58854:44: error: expected ‘)’ before ‘;’ token arg8 = reinterpret_cast< idx_t * >(argp8); ^ swigfaiss.cpp:58868:56: error: ‘arg2’ was not declared in this scope ((faiss::IndexHNSW const *)arg1)->search_level_0(arg2,(float const *)arg3,arg4,(faiss::IndexHNSW::storage_idx_t const *)arg5,(float const *)arg6,arg7,arg8,arg9,arg10); ^~~~ swigfaiss.cpp:58868:81: error: ‘arg4’ was not declared in this scope ((faiss::IndexHNSW const *)arg1)->search_level_0(arg2,(float const *)arg3,arg4,(faiss::IndexHNSW::storage_idx_t const *)arg5,(float const *)arg6,arg7,arg8,arg9,arg10); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexHNSW_search_level_0__SWIG_1(PyObject*, PyObject*)’: swigfaiss.cpp:58895:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:58895:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:58897:9: error: expected ‘;’ before ‘arg4’ idx_t arg4 ; ^~~~ swigfaiss.cpp:58901:10: error: ‘arg8’ was not declared in this scope idx_t *arg8 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:58901:25: error: expected primary-expression before ‘)’ token idx_t *arg8 = (idx_t *) 0 ; ^ swigfaiss.cpp:58945:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:58945:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:58945:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:58945:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:58945:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:58945:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:58946:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:58947:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:58963:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:58963:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:58963:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:58963:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:58963:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:58963:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:58964:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:58965:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:58987:28: error: ‘idx_t’ does not name a type arg8 = reinterpret_cast< idx_t * >(argp8); ^~~~~ swigfaiss.cpp:58987:34: error: expected ‘>’ before ‘*’ token arg8 = reinterpret_cast< idx_t * >(argp8); ^ swigfaiss.cpp:58987:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:58987:36: error: expected primary-expression before ‘>’ token arg8 = reinterpret_cast< idx_t * >(argp8); ^ swigfaiss.cpp:58987:44: error: expected ‘)’ before ‘;’ token arg8 = reinterpret_cast< idx_t * >(argp8); ^ swigfaiss.cpp:58996:56: error: ‘arg2’ was not declared in this scope ((faiss::IndexHNSW const *)arg1)->search_level_0(arg2,(float const *)arg3,arg4,(faiss::IndexHNSW::storage_idx_t const *)arg5,(float const *)arg6,arg7,arg8,arg9); ^~~~ swigfaiss.cpp:58996:81: error: ‘arg4’ was not declared in this scope ((faiss::IndexHNSW const *)arg1)->search_level_0(arg2,(float const *)arg3,arg4,(faiss::IndexHNSW::storage_idx_t const *)arg5,(float const *)arg6,arg7,arg8,arg9); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexHNSW_search_level_0__SWIG_2(PyObject*, PyObject*)’: swigfaiss.cpp:59023:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:59023:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:59025:9: error: expected ‘;’ before ‘arg4’ idx_t arg4 ; ^~~~ swigfaiss.cpp:59029:10: error: ‘arg8’ was not declared in this scope idx_t *arg8 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:59029:25: error: expected primary-expression before ‘)’ token idx_t *arg8 = (idx_t *) 0 ; ^ swigfaiss.cpp:59069:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:59069:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:59069:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:59069:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:59069:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:59069:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:59070:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:59071:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:59087:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:59087:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:59087:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:59087:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:59087:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:59087:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:59088:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:59089:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:59111:28: error: ‘idx_t’ does not name a type arg8 = reinterpret_cast< idx_t * >(argp8); ^~~~~ swigfaiss.cpp:59111:34: error: expected ‘>’ before ‘*’ token arg8 = reinterpret_cast< idx_t * >(argp8); ^ swigfaiss.cpp:59111:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:59111:36: error: expected primary-expression before ‘>’ token arg8 = reinterpret_cast< idx_t * >(argp8); ^ swigfaiss.cpp:59111:44: error: expected ‘)’ before ‘;’ token arg8 = reinterpret_cast< idx_t * >(argp8); ^ swigfaiss.cpp:59115:56: error: ‘arg2’ was not declared in this scope ((faiss::IndexHNSW const *)arg1)->search_level_0(arg2,(float const *)arg3,arg4,(faiss::IndexHNSW::storage_idx_t const *)arg5,(float const *)arg6,arg7,arg8); ^~~~ swigfaiss.cpp:59115:81: error: ‘arg4’ was not declared in this scope ((faiss::IndexHNSW const *)arg1)->search_level_0(arg2,(float const *)arg3,arg4,(faiss::IndexHNSW::storage_idx_t const *)arg5,(float const *)arg6,arg7,arg8); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexHNSW_init_level_0_from_knngraph(PyObject*, PyObject*)’: swigfaiss.cpp:59311:3: error: ‘idx_t’ was not declared in this scope idx_t *arg4 = (idx_t *) 0 ; ^~~~~ swigfaiss.cpp:59311:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:59311:10: error: ‘arg4’ was not declared in this scope idx_t *arg4 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:59311:25: error: expected primary-expression before ‘)’ token idx_t *arg4 = (idx_t *) 0 ; ^ swigfaiss.cpp:59345:28: error: ‘idx_t’ does not name a type arg4 = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:59345:34: error: expected ‘>’ before ‘*’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:59345:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:59345:36: error: expected primary-expression before ‘>’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:59345:44: error: expected ‘)’ before ‘;’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:59349:74: error: expected ‘)’ before ‘const’ (arg1)->init_level_0_from_knngraph(arg2,(float const *)arg3,(idx_t const *)arg4); ^~~~~ swigfaiss.cpp:59349:87: error: expected ‘)’ before ‘;’ token (arg1)->init_level_0_from_knngraph(arg2,(float const *)arg3,(idx_t const *)arg4); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexHNSWPQ_train(PyObject*, PyObject*)’: swigfaiss.cpp:59819:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:59819:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:59845:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:59845:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:59845:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:59845:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:59845:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:59845:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:59846:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:59847:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:59858:21: error: ‘arg2’ was not declared in this scope (arg1)->train(arg2,(float const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexHNSW2Level_search(PyObject*, PyObject*)’: swigfaiss.cpp:60271:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:60271:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:60273:9: error: expected ‘;’ before ‘arg4’ idx_t arg4 ; ^~~~ swigfaiss.cpp:60275:10: error: ‘arg6’ was not declared in this scope idx_t *arg6 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:60275:25: error: expected primary-expression before ‘)’ token idx_t *arg6 = (idx_t *) 0 ; ^ swigfaiss.cpp:60309:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:60309:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:60309:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:60309:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:60309:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:60309:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:60310:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:60311:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:60327:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:60327:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:60327:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:60327:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:60327:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:60327:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:60328:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:60329:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:60341:28: error: ‘idx_t’ does not name a type arg6 = reinterpret_cast< idx_t * >(argp6); ^~~~~ swigfaiss.cpp:60341:34: error: expected ‘>’ before ‘*’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:60341:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:60341:36: error: expected primary-expression before ‘>’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:60341:44: error: expected ‘)’ before ‘;’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:60345:54: error: ‘arg2’ was not declared in this scope ((faiss::IndexHNSW2Level const *)arg1)->search(arg2,(float const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp:60345:79: error: ‘arg4’ was not declared in this scope ((faiss::IndexHNSW2Level const *)arg1)->search(arg2,(float const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFFlat_add_core(PyObject*, PyObject*)’: swigfaiss.cpp:60527:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:60527:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:60561:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:60561:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:60561:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:60561:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:60561:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:60561:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:60562:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:60563:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:60584:24: error: ‘arg2’ was not declared in this scope (arg1)->add_core(arg2,(float const *)arg3,(int64_t const *)arg4,(int64_t const *)arg5); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFFlat_add_with_ids(PyObject*, PyObject*)’: swigfaiss.cpp:60611:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:60611:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:60613:10: error: ‘arg4’ was not declared in this scope idx_t *arg4 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:60613:25: error: expected primary-expression before ‘)’ token idx_t *arg4 = (idx_t *) 0 ; ^ swigfaiss.cpp:60641:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:60641:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:60641:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:60641:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:60641:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:60641:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:60642:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:60643:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:60655:28: error: ‘idx_t’ does not name a type arg4 = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:60655:34: error: expected ‘>’ before ‘*’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:60655:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:60655:36: error: expected primary-expression before ‘>’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:60655:44: error: expected ‘)’ before ‘;’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:60659:28: error: ‘arg2’ was not declared in this scope (arg1)->add_with_ids(arg2,(float const *)arg3,(idx_t const *)arg4); ^~~~ swigfaiss.cpp:60659:60: error: expected ‘)’ before ‘const’ (arg1)->add_with_ids(arg2,(float const *)arg3,(idx_t const *)arg4); ^~~~~ swigfaiss.cpp:60659:73: error: expected ‘)’ before ‘;’ token (arg1)->add_with_ids(arg2,(float const *)arg3,(idx_t const *)arg4); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFFlat_encode_vectors__SWIG_0(PyObject*, PyObject*)’: swigfaiss.cpp:60686:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:60686:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:60688:10: error: ‘arg4’ was not declared in this scope idx_t *arg4 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:60688:25: error: expected primary-expression before ‘)’ token idx_t *arg4 = (idx_t *) 0 ; ^ swigfaiss.cpp:60724:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:60724:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:60724:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:60724:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:60724:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:60724:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:60725:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:60726:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:60738:28: error: ‘idx_t’ does not name a type arg4 = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:60738:34: error: expected ‘>’ before ‘*’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:60738:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:60738:36: error: expected primary-expression before ‘>’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:60738:44: error: expected ‘)’ before ‘;’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:60752:59: error: ‘arg2’ was not declared in this scope ((faiss::IndexIVFFlat const *)arg1)->encode_vectors(arg2,(float const *)arg3,(idx_t const *)arg4,arg5,arg6); ^~~~ swigfaiss.cpp:60752:91: error: expected ‘)’ before ‘const’ ((faiss::IndexIVFFlat const *)arg1)->encode_vectors(arg2,(float const *)arg3,(idx_t const *)arg4,arg5,arg6); ^~~~~ swigfaiss.cpp:60752:114: error: expected ‘)’ before ‘;’ token ((faiss::IndexIVFFlat const *)arg1)->encode_vectors(arg2,(float const *)arg3,(idx_t const *)arg4,arg5,arg6); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFFlat_encode_vectors__SWIG_1(PyObject*, PyObject*)’: swigfaiss.cpp:60779:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:60779:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:60781:10: error: ‘arg4’ was not declared in this scope idx_t *arg4 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:60781:25: error: expected primary-expression before ‘)’ token idx_t *arg4 = (idx_t *) 0 ; ^ swigfaiss.cpp:60813:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:60813:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:60813:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:60813:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:60813:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:60813:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:60814:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:60815:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:60827:28: error: ‘idx_t’ does not name a type arg4 = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:60827:34: error: expected ‘>’ before ‘*’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:60827:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:60827:36: error: expected primary-expression before ‘>’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:60827:44: error: expected ‘)’ before ‘;’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:60836:59: error: ‘arg2’ was not declared in this scope ((faiss::IndexIVFFlat const *)arg1)->encode_vectors(arg2,(float const *)arg3,(idx_t const *)arg4,arg5); ^~~~ swigfaiss.cpp:60836:91: error: expected ‘)’ before ‘const’ ((faiss::IndexIVFFlat const *)arg1)->encode_vectors(arg2,(float const *)arg3,(idx_t const *)arg4,arg5); ^~~~~ swigfaiss.cpp:60836:109: error: expected ‘)’ before ‘;’ token ((faiss::IndexIVFFlat const *)arg1)->encode_vectors(arg2,(float const *)arg3,(idx_t const *)arg4,arg5); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFFlat_update_vectors(PyObject*, PyObject*)’: swigfaiss.cpp:60998:3: error: ‘idx_t’ was not declared in this scope idx_t *arg3 = (idx_t *) 0 ; ^~~~~ swigfaiss.cpp:60998:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:60998:10: error: ‘arg3’ was not declared in this scope idx_t *arg3 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:60998:25: error: expected primary-expression before ‘)’ token idx_t *arg3 = (idx_t *) 0 ; ^ swigfaiss.cpp:61028:28: error: ‘idx_t’ does not name a type arg3 = reinterpret_cast< idx_t * >(argp3); ^~~~~ swigfaiss.cpp:61028:34: error: expected ‘>’ before ‘*’ token arg3 = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:61028:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:61028:36: error: expected primary-expression before ‘>’ token arg3 = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:61028:44: error: expected ‘)’ before ‘;’ token arg3 = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFFlat_sa_decode(PyObject*, PyObject*)’: swigfaiss.cpp:61131:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:61131:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:61161:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:61161:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:61161:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:61161:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:61161:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:61161:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:61162:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:61163:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:61179:54: error: ‘arg2’ was not declared in this scope ((faiss::IndexIVFFlat const *)arg1)->sa_decode(arg2,(uint8_t const *)arg3,arg4); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFFlatDedup_instances_set(PyObject*, PyObject*)’: swigfaiss.cpp:61340:28: error: ‘idx_t’ was not declared in this scope std::unordered_multimap< idx_t,idx_t > arg2 ; ^~~~~ swigfaiss.cpp:61340:28: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:61340:34: error: the value of ‘idx_t’ is not usable in a constant expression std::unordered_multimap< idx_t,idx_t > arg2 ; ^~~~~ swigfaiss.cpp:61340:28: note: ‘idx_t’ was not declared ‘constexpr’ std::unordered_multimap< idx_t,idx_t > arg2 ; ^~~~~ swigfaiss.cpp:61340:40: error: template argument 1 is invalid std::unordered_multimap< idx_t,idx_t > arg2 ; ^ swigfaiss.cpp:61340:40: error: type/value mismatch at argument 2 in template parameter list for ‘template class std::unordered_multimap’ swigfaiss.cpp:61340:40: note: expected a type, got ‘idx_t’ swigfaiss.cpp:61340:40: error: template argument 3 is invalid swigfaiss.cpp:61340:40: error: template argument 4 is invalid swigfaiss.cpp:61340:40: error: template argument 5 is invalid swigfaiss.cpp:61362:32: error: the value of ‘idx_t’ is not usable in a constant expression std::unordered_multimap< idx_t,idx_t > * temp = reinterpret_cast< std::unordered_multimap< idx_t,idx_t > * >(argp2); ^~~~~ swigfaiss.cpp:61340:28: note: ‘idx_t’ was not declared ‘constexpr’ std::unordered_multimap< idx_t,idx_t > arg2 ; ^~~~~ swigfaiss.cpp:61362:38: error: the value of ‘idx_t’ is not usable in a constant expression std::unordered_multimap< idx_t,idx_t > * temp = reinterpret_cast< std::unordered_multimap< idx_t,idx_t > * >(argp2); ^~~~~ swigfaiss.cpp:61340:28: note: ‘idx_t’ was not declared ‘constexpr’ std::unordered_multimap< idx_t,idx_t > arg2 ; ^~~~~ swigfaiss.cpp:61362:44: error: type/value mismatch at argument 1 in template parameter list for ‘template class std::unordered_multimap’ std::unordered_multimap< idx_t,idx_t > * temp = reinterpret_cast< std::unordered_multimap< idx_t,idx_t > * >(argp2); ^ swigfaiss.cpp:61362:44: note: expected a type, got ‘idx_t’ swigfaiss.cpp:61362:44: error: type/value mismatch at argument 2 in template parameter list for ‘template class std::unordered_multimap’ swigfaiss.cpp:61362:44: note: expected a type, got ‘idx_t’ swigfaiss.cpp:61362:44: error: template argument 3 is invalid swigfaiss.cpp:61362:44: error: template argument 4 is invalid swigfaiss.cpp:61362:44: error: template argument 5 is invalid swigfaiss.cpp:61362:98: error: the value of ‘idx_t’ is not usable in a constant expression std::unordered_multimap< idx_t,idx_t > * temp = reinterpret_cast< std::unordered_multimap< idx_t,idx_t > * >(argp2); ^~~~~ swigfaiss.cpp:61340:28: note: ‘idx_t’ was not declared ‘constexpr’ std::unordered_multimap< idx_t,idx_t > arg2 ; ^~~~~ swigfaiss.cpp:61362:104: error: the value of ‘idx_t’ is not usable in a constant expression std::unordered_multimap< idx_t,idx_t > * temp = reinterpret_cast< std::unordered_multimap< idx_t,idx_t > * >(argp2); ^~~~~ swigfaiss.cpp:61340:28: note: ‘idx_t’ was not declared ‘constexpr’ std::unordered_multimap< idx_t,idx_t > arg2 ; ^~~~~ swigfaiss.cpp:61362:110: error: type/value mismatch at argument 1 in template parameter list for ‘template class std::unordered_multimap’ std::unordered_multimap< idx_t,idx_t > * temp = reinterpret_cast< std::unordered_multimap< idx_t,idx_t > * >(argp2); ^ swigfaiss.cpp:61362:110: note: expected a type, got ‘idx_t’ swigfaiss.cpp:61362:110: error: type/value mismatch at argument 2 in template parameter list for ‘template class std::unordered_multimap’ swigfaiss.cpp:61362:110: note: expected a type, got ‘idx_t’ swigfaiss.cpp:61362:110: error: template argument 3 is invalid swigfaiss.cpp:61362:110: error: template argument 4 is invalid swigfaiss.cpp:61362:110: error: template argument 5 is invalid swigfaiss.cpp:61362:112: error: expected ‘>’ before ‘*’ token std::unordered_multimap< idx_t,idx_t > * temp = reinterpret_cast< std::unordered_multimap< idx_t,idx_t > * >(argp2); ^ swigfaiss.cpp:61362:112: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:61362:114: error: expected primary-expression before ‘>’ token std::unordered_multimap< idx_t,idx_t > * temp = reinterpret_cast< std::unordered_multimap< idx_t,idx_t > * >(argp2); ^ swigfaiss.cpp:61362:122: error: expected ‘)’ before ‘;’ token std::unordered_multimap< idx_t,idx_t > * temp = reinterpret_cast< std::unordered_multimap< idx_t,idx_t > * >(argp2); ^ swigfaiss.cpp:61367:33: error: no match for ‘operator=’ (operand types are ‘std::unordered_multimap’ and ‘int’) if (arg1) (arg1)->instances = arg2; ^~~~ In file included from /usr/include/c++/6/unordered_map:48:0, from ../faiss/IndexIVFFlat.h:13, from swigfaiss.cpp:3393: /usr/include/c++/6/bits/unordered_map.h:1251:7: note: candidate: std::unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& std::unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::operator=(const std::unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>&) [with _Key = long long int; _Tp = long long int; _Hash = std::hash; _Pred = std::equal_to; _Alloc = std::allocator >] operator=(const unordered_multimap&) = default; ^~~~~~~~ /usr/include/c++/6/bits/unordered_map.h:1251:7: note: no known conversion for argument 1 from ‘int’ to ‘const std::unordered_multimap&’ /usr/include/c++/6/bits/unordered_map.h:1255:7: note: candidate: std::unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& std::unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::operator=(std::unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>&&) [with _Key = long long int; _Tp = long long int; _Hash = std::hash; _Pred = std::equal_to; _Alloc = std::allocator >] operator=(unordered_multimap&&) = default; ^~~~~~~~ /usr/include/c++/6/bits/unordered_map.h:1255:7: note: no known conversion for argument 1 from ‘int’ to ‘std::unordered_multimap&&’ /usr/include/c++/6/bits/unordered_map.h:1269:7: note: candidate: std::unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& std::unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::operator=(std::initializer_list, _Alloc, std::__detail::_Select1st, _Pred, _Hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, std::__detail::__is_noexcept_hash<_Key, _Hash> > >::value, false, false> >::value_type>) [with _Key = long long int; _Tp = long long int; _Hash = std::hash; _Pred = std::equal_to; _Alloc = std::allocator >; typename std::_Hashtable<_Key, std::pair, _Alloc, std::__detail::_Select1st, _Pred, _Hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, std::__detail::__is_noexcept_hash<_Key, _Hash> > >::value, false, false> >::value_type = std::pair] operator=(initializer_list __l) ^~~~~~~~ /usr/include/c++/6/bits/unordered_map.h:1269:7: note: no known conversion for argument 1 from ‘int’ to ‘std::initializer_list >’ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFFlatDedup_instances_get(PyObject*, PyObject*)’: swigfaiss.cpp:61381:28: error: ‘idx_t’ was not declared in this scope std::unordered_multimap< idx_t,idx_t > result; ^~~~~ swigfaiss.cpp:61381:28: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:61381:34: error: the value of ‘idx_t’ is not usable in a constant expression std::unordered_multimap< idx_t,idx_t > result; ^~~~~ swigfaiss.cpp:61381:28: note: ‘idx_t’ was not declared ‘constexpr’ std::unordered_multimap< idx_t,idx_t > result; ^~~~~ swigfaiss.cpp:61381:40: error: template argument 1 is invalid std::unordered_multimap< idx_t,idx_t > result; ^ swigfaiss.cpp:61381:40: error: type/value mismatch at argument 2 in template parameter list for ‘template class std::unordered_multimap’ swigfaiss.cpp:61381:40: note: expected a type, got ‘idx_t’ swigfaiss.cpp:61381:40: error: template argument 3 is invalid swigfaiss.cpp:61381:40: error: template argument 4 is invalid swigfaiss.cpp:61381:40: error: template argument 5 is invalid swigfaiss.cpp:61389:31: error: cannot convert ‘std::unordered_multimap’ to ‘int’ in assignment result = ((arg1)->instances); ^ swigfaiss.cpp:61390:64: error: the value of ‘idx_t’ is not usable in a constant expression resultobj = SWIG_NewPointerObj((new std::unordered_multimap< idx_t,idx_t >(static_cast< const std::unordered_multimap< idx_t,idx_t >& >(result))), SWIGTYPE_p_std__unordered_multimapT_idx_t_idx_t_t, SWIG_POINTER_OWN | 0 ); ^ swigfaiss.cpp:1186:89: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~ swigfaiss.cpp:61381:28: note: ‘idx_t’ was not declared ‘constexpr’ std::unordered_multimap< idx_t,idx_t > result; ^~~~~ swigfaiss.cpp:61390:70: error: the value of ‘idx_t’ is not usable in a constant expression resultobj = SWIG_NewPointerObj((new std::unordered_multimap< idx_t,idx_t >(static_cast< const std::unordered_multimap< idx_t,idx_t >& >(result))), SWIGTYPE_p_std__unordered_multimapT_idx_t_idx_t_t, SWIG_POINTER_OWN | 0 ); ^ swigfaiss.cpp:1186:89: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~ swigfaiss.cpp:61381:28: note: ‘idx_t’ was not declared ‘constexpr’ std::unordered_multimap< idx_t,idx_t > result; ^~~~~ swigfaiss.cpp:61390:76: error: type/value mismatch at argument 1 in template parameter list for ‘template class std::unordered_multimap’ resultobj = SWIG_NewPointerObj((new std::unordered_multimap< idx_t,idx_t >(static_cast< const std::unordered_multimap< idx_t,idx_t >& >(result))), SWIGTYPE_p_std__unordered_multimapT_idx_t_idx_t_t, SWIG_POINTER_OWN | 0 ); ^ swigfaiss.cpp:1186:89: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~ swigfaiss.cpp:61390:76: note: expected a type, got ‘idx_t’ resultobj = SWIG_NewPointerObj((new std::unordered_multimap< idx_t,idx_t >(static_cast< const std::unordered_multimap< idx_t,idx_t >& >(result))), SWIGTYPE_p_std__unordered_multimapT_idx_t_idx_t_t, SWIG_POINTER_OWN | 0 ); ^ swigfaiss.cpp:1186:89: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~ swigfaiss.cpp:61390:76: error: type/value mismatch at argument 2 in template parameter list for ‘template class std::unordered_multimap’ resultobj = SWIG_NewPointerObj((new std::unordered_multimap< idx_t,idx_t >(static_cast< const std::unordered_multimap< idx_t,idx_t >& >(result))), SWIGTYPE_p_std__unordered_multimapT_idx_t_idx_t_t, SWIG_POINTER_OWN | 0 ); ^ swigfaiss.cpp:1186:89: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~ swigfaiss.cpp:61390:76: note: expected a type, got ‘idx_t’ resultobj = SWIG_NewPointerObj((new std::unordered_multimap< idx_t,idx_t >(static_cast< const std::unordered_multimap< idx_t,idx_t >& >(result))), SWIGTYPE_p_std__unordered_multimapT_idx_t_idx_t_t, SWIG_POINTER_OWN | 0 ); ^ swigfaiss.cpp:1186:89: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~ swigfaiss.cpp:61390:76: error: template argument 3 is invalid resultobj = SWIG_NewPointerObj((new std::unordered_multimap< idx_t,idx_t >(static_cast< const std::unordered_multimap< idx_t,idx_t >& >(result))), SWIGTYPE_p_std__unordered_multimapT_idx_t_idx_t_t, SWIG_POINTER_OWN | 0 ); ^ swigfaiss.cpp:1186:89: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~ swigfaiss.cpp:61390:76: error: template argument 4 is invalid resultobj = SWIG_NewPointerObj((new std::unordered_multimap< idx_t,idx_t >(static_cast< const std::unordered_multimap< idx_t,idx_t >& >(result))), SWIGTYPE_p_std__unordered_multimapT_idx_t_idx_t_t, SWIG_POINTER_OWN | 0 ); ^ swigfaiss.cpp:1186:89: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~ swigfaiss.cpp:61390:76: error: template argument 5 is invalid resultobj = SWIG_NewPointerObj((new std::unordered_multimap< idx_t,idx_t >(static_cast< const std::unordered_multimap< idx_t,idx_t >& >(result))), SWIGTYPE_p_std__unordered_multimapT_idx_t_idx_t_t, SWIG_POINTER_OWN | 0 ); ^ swigfaiss.cpp:1186:89: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~ swigfaiss.cpp:61390:122: error: the value of ‘idx_t’ is not usable in a constant expression resultobj = SWIG_NewPointerObj((new std::unordered_multimap< idx_t,idx_t >(static_cast< const std::unordered_multimap< idx_t,idx_t >& >(result))), SWIGTYPE_p_std__unordered_multimapT_idx_t_idx_t_t, SWIG_POINTER_OWN | 0 ); ^ swigfaiss.cpp:1186:89: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~ swigfaiss.cpp:61381:28: note: ‘idx_t’ was not declared ‘constexpr’ std::unordered_multimap< idx_t,idx_t > result; ^~~~~ swigfaiss.cpp:61390:128: error: the value of ‘idx_t’ is not usable in a constant expression resultobj = SWIG_NewPointerObj((new std::unordered_multimap< idx_t,idx_t >(static_cast< const std::unordered_multimap< idx_t,idx_t >& >(result))), SWIGTYPE_p_std__unordered_multimapT_idx_t_idx_t_t, SWIG_POINTER_OWN | 0 ); ^ swigfaiss.cpp:1186:89: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~ swigfaiss.cpp:61381:28: note: ‘idx_t’ was not declared ‘constexpr’ std::unordered_multimap< idx_t,idx_t > result; ^~~~~ swigfaiss.cpp:61390:134: error: type/value mismatch at argument 1 in template parameter list for ‘template class std::unordered_multimap’ resultobj = SWIG_NewPointerObj((new std::unordered_multimap< idx_t,idx_t >(static_cast< const std::unordered_multimap< idx_t,idx_t >& >(result))), SWIGTYPE_p_std__unordered_multimapT_idx_t_idx_t_t, SWIG_POINTER_OWN | 0 ); ^ swigfaiss.cpp:1186:89: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~ swigfaiss.cpp:61390:134: note: expected a type, got ‘idx_t’ resultobj = SWIG_NewPointerObj((new std::unordered_multimap< idx_t,idx_t >(static_cast< const std::unordered_multimap< idx_t,idx_t >& >(result))), SWIGTYPE_p_std__unordered_multimapT_idx_t_idx_t_t, SWIG_POINTER_OWN | 0 ); ^ swigfaiss.cpp:1186:89: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~ swigfaiss.cpp:61390:134: error: type/value mismatch at argument 2 in template parameter list for ‘template class std::unordered_multimap’ resultobj = SWIG_NewPointerObj((new std::unordered_multimap< idx_t,idx_t >(static_cast< const std::unordered_multimap< idx_t,idx_t >& >(result))), SWIGTYPE_p_std__unordered_multimapT_idx_t_idx_t_t, SWIG_POINTER_OWN | 0 ); ^ swigfaiss.cpp:1186:89: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~ swigfaiss.cpp:61390:134: note: expected a type, got ‘idx_t’ resultobj = SWIG_NewPointerObj((new std::unordered_multimap< idx_t,idx_t >(static_cast< const std::unordered_multimap< idx_t,idx_t >& >(result))), SWIGTYPE_p_std__unordered_multimapT_idx_t_idx_t_t, SWIG_POINTER_OWN | 0 ); ^ swigfaiss.cpp:1186:89: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~ swigfaiss.cpp:61390:134: error: template argument 3 is invalid resultobj = SWIG_NewPointerObj((new std::unordered_multimap< idx_t,idx_t >(static_cast< const std::unordered_multimap< idx_t,idx_t >& >(result))), SWIGTYPE_p_std__unordered_multimapT_idx_t_idx_t_t, SWIG_POINTER_OWN | 0 ); ^ swigfaiss.cpp:1186:89: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~ swigfaiss.cpp:61390:134: error: template argument 4 is invalid resultobj = SWIG_NewPointerObj((new std::unordered_multimap< idx_t,idx_t >(static_cast< const std::unordered_multimap< idx_t,idx_t >& >(result))), SWIGTYPE_p_std__unordered_multimapT_idx_t_idx_t_t, SWIG_POINTER_OWN | 0 ); ^ swigfaiss.cpp:1186:89: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~ swigfaiss.cpp:61390:134: error: template argument 5 is invalid resultobj = SWIG_NewPointerObj((new std::unordered_multimap< idx_t,idx_t >(static_cast< const std::unordered_multimap< idx_t,idx_t >& >(result))), SWIGTYPE_p_std__unordered_multimapT_idx_t_idx_t_t, SWIG_POINTER_OWN | 0 ); ^ swigfaiss.cpp:1186:89: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~ swigfaiss.cpp:61390:135: error: expected ‘>’ before ‘&’ token resultobj = SWIG_NewPointerObj((new std::unordered_multimap< idx_t,idx_t >(static_cast< const std::unordered_multimap< idx_t,idx_t >& >(result))), SWIGTYPE_p_std__unordered_multimapT_idx_t_idx_t_t, SWIG_POINTER_OWN | 0 ); ^ swigfaiss.cpp:1186:89: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~ swigfaiss.cpp:61390:135: error: expected ‘(’ before ‘&’ token resultobj = SWIG_NewPointerObj((new std::unordered_multimap< idx_t,idx_t >(static_cast< const std::unordered_multimap< idx_t,idx_t >& >(result))), SWIGTYPE_p_std__unordered_multimapT_idx_t_idx_t_t, SWIG_POINTER_OWN | 0 ); ^ swigfaiss.cpp:1186:89: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~ swigfaiss.cpp:61390:137: error: expected primary-expression before ‘>’ token resultobj = SWIG_NewPointerObj((new std::unordered_multimap< idx_t,idx_t >(static_cast< const std::unordered_multimap< idx_t,idx_t >& >(result))), SWIGTYPE_p_std__unordered_multimapT_idx_t_idx_t_t, SWIG_POINTER_OWN | 0 ); ^ swigfaiss.cpp:1186:89: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFFlatDedup_train(PyObject*, PyObject*)’: swigfaiss.cpp:61527:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:61527:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:61553:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:61553:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:61553:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:61553:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:61553:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:61553:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:61554:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:61555:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:61566:21: error: ‘arg2’ was not declared in this scope (arg1)->train(arg2,(float const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFFlatDedup_add_with_ids(PyObject*, PyObject*)’: swigfaiss.cpp:61593:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:61593:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:61595:10: error: ‘arg4’ was not declared in this scope idx_t *arg4 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:61595:25: error: expected primary-expression before ‘)’ token idx_t *arg4 = (idx_t *) 0 ; ^ swigfaiss.cpp:61623:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:61623:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:61623:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:61623:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:61623:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:61623:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:61624:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:61625:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:61637:28: error: ‘idx_t’ does not name a type arg4 = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:61637:34: error: expected ‘>’ before ‘*’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:61637:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:61637:36: error: expected primary-expression before ‘>’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:61637:44: error: expected ‘)’ before ‘;’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:61641:28: error: ‘arg2’ was not declared in this scope (arg1)->add_with_ids(arg2,(float const *)arg3,(idx_t const *)arg4); ^~~~ swigfaiss.cpp:61641:60: error: expected ‘)’ before ‘const’ (arg1)->add_with_ids(arg2,(float const *)arg3,(idx_t const *)arg4); ^~~~~ swigfaiss.cpp:61641:73: error: expected ‘)’ before ‘;’ token (arg1)->add_with_ids(arg2,(float const *)arg3,(idx_t const *)arg4); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFFlatDedup_search_preassigned__SWIG_0(PyObject*, PyObject*)’: swigfaiss.cpp:61668:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:61668:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:61670:9: error: expected ‘;’ before ‘arg4’ idx_t arg4 ; ^~~~ swigfaiss.cpp:61671:10: error: ‘arg5’ was not declared in this scope idx_t *arg5 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:61671:25: error: expected primary-expression before ‘)’ token idx_t *arg5 = (idx_t *) 0 ; ^ swigfaiss.cpp:61674:10: error: ‘arg8’ was not declared in this scope idx_t *arg8 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:61674:25: error: expected primary-expression before ‘)’ token idx_t *arg8 = (idx_t *) 0 ; ^ swigfaiss.cpp:61722:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:61722:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:61722:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:61722:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:61722:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:61722:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:61723:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:61724:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:61740:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:61740:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:61740:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:61740:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:61740:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:61740:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:61741:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:61742:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:61749:28: error: ‘idx_t’ does not name a type arg5 = reinterpret_cast< idx_t * >(argp5); ^~~~~ swigfaiss.cpp:61749:34: error: expected ‘>’ before ‘*’ token arg5 = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:61749:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:61749:36: error: expected primary-expression before ‘>’ token arg5 = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:61749:44: error: expected ‘)’ before ‘;’ token arg5 = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:61764:28: error: ‘idx_t’ does not name a type arg8 = reinterpret_cast< idx_t * >(argp8); ^~~~~ swigfaiss.cpp:61764:34: error: expected ‘>’ before ‘*’ token arg8 = reinterpret_cast< idx_t * >(argp8); ^ swigfaiss.cpp:61764:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:61764:36: error: expected primary-expression before ‘>’ token arg8 = reinterpret_cast< idx_t * >(argp8); ^ swigfaiss.cpp:61764:44: error: expected ‘)’ before ‘;’ token arg8 = reinterpret_cast< idx_t * >(argp8); ^ swigfaiss.cpp:61778:68: error: ‘arg2’ was not declared in this scope ((faiss::IndexIVFFlatDedup const *)arg1)->search_preassigned(arg2,(float const *)arg3,arg4,(idx_t const *)arg5,(float const *)arg6,arg7,arg8,arg9,(faiss::IVFSearchParameters const *)arg10); ^~~~ swigfaiss.cpp:61778:93: error: ‘arg4’ was not declared in this scope ((faiss::IndexIVFFlatDedup const *)arg1)->search_preassigned(arg2,(float const *)arg3,arg4,(idx_t const *)arg5,(float const *)arg6,arg7,arg8,arg9,(faiss::IVFSearchParameters const *)arg10); ^~~~ swigfaiss.cpp:61778:105: error: expected ‘)’ before ‘const’ ((faiss::IndexIVFFlatDedup const *)arg1)->search_preassigned(arg2,(float const *)arg3,arg4,(idx_t const *)arg5,(float const *)arg6,arg7,arg8,arg9,(faiss::IVFSearchParameters const *)arg10); ^~~~~ swigfaiss.cpp:61778:195: error: expected ‘)’ before ‘;’ token ((faiss::IndexIVFFlatDedup const *)arg1)->search_preassigned(arg2,(float const *)arg3,arg4,(idx_t const *)arg5,(float const *)arg6,arg7,arg8,arg9,(faiss::IVFSearchParameters const *)arg10); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFFlatDedup_search_preassigned__SWIG_1(PyObject*, PyObject*)’: swigfaiss.cpp:61805:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:61805:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:61807:9: error: expected ‘;’ before ‘arg4’ idx_t arg4 ; ^~~~ swigfaiss.cpp:61808:10: error: ‘arg5’ was not declared in this scope idx_t *arg5 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:61808:25: error: expected primary-expression before ‘)’ token idx_t *arg5 = (idx_t *) 0 ; ^ swigfaiss.cpp:61811:10: error: ‘arg8’ was not declared in this scope idx_t *arg8 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:61811:25: error: expected primary-expression before ‘)’ token idx_t *arg8 = (idx_t *) 0 ; ^ swigfaiss.cpp:61855:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:61855:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:61855:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:61855:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:61855:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:61855:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:61856:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:61857:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:61873:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:61873:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:61873:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:61873:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:61873:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:61873:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:61874:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:61875:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:61882:28: error: ‘idx_t’ does not name a type arg5 = reinterpret_cast< idx_t * >(argp5); ^~~~~ swigfaiss.cpp:61882:34: error: expected ‘>’ before ‘*’ token arg5 = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:61882:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:61882:36: error: expected primary-expression before ‘>’ token arg5 = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:61882:44: error: expected ‘)’ before ‘;’ token arg5 = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:61897:28: error: ‘idx_t’ does not name a type arg8 = reinterpret_cast< idx_t * >(argp8); ^~~~~ swigfaiss.cpp:61897:34: error: expected ‘>’ before ‘*’ token arg8 = reinterpret_cast< idx_t * >(argp8); ^ swigfaiss.cpp:61897:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:61897:36: error: expected primary-expression before ‘>’ token arg8 = reinterpret_cast< idx_t * >(argp8); ^ swigfaiss.cpp:61897:44: error: expected ‘)’ before ‘;’ token arg8 = reinterpret_cast< idx_t * >(argp8); ^ swigfaiss.cpp:61906:68: error: ‘arg2’ was not declared in this scope ((faiss::IndexIVFFlatDedup const *)arg1)->search_preassigned(arg2,(float const *)arg3,arg4,(idx_t const *)arg5,(float const *)arg6,arg7,arg8,arg9); ^~~~ swigfaiss.cpp:61906:93: error: ‘arg4’ was not declared in this scope ((faiss::IndexIVFFlatDedup const *)arg1)->search_preassigned(arg2,(float const *)arg3,arg4,(idx_t const *)arg5,(float const *)arg6,arg7,arg8,arg9); ^~~~ swigfaiss.cpp:61906:105: error: expected ‘)’ before ‘const’ ((faiss::IndexIVFFlatDedup const *)arg1)->search_preassigned(arg2,(float const *)arg3,arg4,(idx_t const *)arg5,(float const *)arg6,arg7,arg8,arg9); ^~~~~ swigfaiss.cpp:61906:153: error: expected ‘)’ before ‘;’ token ((faiss::IndexIVFFlatDedup const *)arg1)->search_preassigned(arg2,(float const *)arg3,arg4,(idx_t const *)arg5,(float const *)arg6,arg7,arg8,arg9); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFFlatDedup_range_search(PyObject*, PyObject*)’: swigfaiss.cpp:62109:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:62109:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:62143:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:62143:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:62143:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:62143:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:62143:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:62143:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:62144:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:62145:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:62166:62: error: ‘arg2’ was not declared in this scope ((faiss::IndexIVFFlatDedup const *)arg1)->range_search(arg2,(float const *)arg3,arg4,arg5); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFFlatDedup_update_vectors(PyObject*, PyObject*)’: swigfaiss.cpp:62194:3: error: ‘idx_t’ was not declared in this scope idx_t *arg3 = (idx_t *) 0 ; ^~~~~ swigfaiss.cpp:62194:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:62194:10: error: ‘arg3’ was not declared in this scope idx_t *arg3 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:62194:25: error: expected primary-expression before ‘)’ token idx_t *arg3 = (idx_t *) 0 ; ^ swigfaiss.cpp:62224:28: error: ‘idx_t’ does not name a type arg3 = reinterpret_cast< idx_t * >(argp3); ^~~~~ swigfaiss.cpp:62224:34: error: expected ‘>’ before ‘*’ token arg3 = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:62224:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:62224:36: error: expected primary-expression before ‘>’ token arg3 = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:62224:44: error: expected ‘)’ before ‘;’ token arg3 = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_new_IndexLattice(PyObject*, PyObject*)’: swigfaiss.cpp:67682:3: error: ‘idx_t’ was not declared in this scope idx_t arg1 ; ^~~~~ swigfaiss.cpp:67682:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:67709:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^~~~ swigfaiss.cpp:67709:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^~~~~ swigfaiss.cpp:67709:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^ swigfaiss.cpp:67709:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:67709:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^ swigfaiss.cpp:67709:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^ swigfaiss.cpp:67710:7: error: ‘arg1’ was not declared in this scope arg1 = *temp; ^~~~ swigfaiss.cpp:67711:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res1)) delete temp; ^~~~ swigfaiss.cpp:67732:63: error: ‘arg1’ was not declared in this scope result = (faiss::IndexLattice *)new faiss::IndexLattice(arg1,arg2,arg3,arg4); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexLattice_train(PyObject*, PyObject*)’: swigfaiss.cpp:67759:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:67759:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:67785:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:67785:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:67785:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:67785:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:67785:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:67785:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:67786:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:67787:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:67798:21: error: ‘arg2’ was not declared in this scope (arg1)->train(arg2,(float const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexLattice_sa_encode(PyObject*, PyObject*)’: swigfaiss.cpp:67866:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:67866:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:67896:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:67896:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:67896:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:67896:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:67896:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:67896:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:67897:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:67898:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:67914:54: error: ‘arg2’ was not declared in this scope ((faiss::IndexLattice const *)arg1)->sa_encode(arg2,(float const *)arg3,arg4); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexLattice_sa_decode(PyObject*, PyObject*)’: swigfaiss.cpp:67941:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:67941:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:67971:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:67971:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:67971:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:67971:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:67971:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:67971:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:67972:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:67973:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:67989:54: error: ‘arg2’ was not declared in this scope ((faiss::IndexLattice const *)arg1)->sa_decode(arg2,(uint8_t const *)arg3,arg4); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexLattice_add(PyObject*, PyObject*)’: swigfaiss.cpp:68016:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:68016:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:68042:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:68042:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:68042:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:68042:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:68042:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:68042:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:68043:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:68044:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:68055:19: error: ‘arg2’ was not declared in this scope (arg1)->add(arg2,(float const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexLattice_search(PyObject*, PyObject*)’: swigfaiss.cpp:68082:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:68082:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:68084:9: error: expected ‘;’ before ‘arg4’ idx_t arg4 ; ^~~~ swigfaiss.cpp:68086:10: error: ‘arg6’ was not declared in this scope idx_t *arg6 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:68086:25: error: expected primary-expression before ‘)’ token idx_t *arg6 = (idx_t *) 0 ; ^ swigfaiss.cpp:68120:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:68120:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:68120:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:68120:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:68120:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:68120:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:68121:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:68122:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:68138:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:68138:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:68138:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:68138:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:68138:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:68138:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:68139:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:68140:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:68152:28: error: ‘idx_t’ does not name a type arg6 = reinterpret_cast< idx_t * >(argp6); ^~~~~ swigfaiss.cpp:68152:34: error: expected ‘>’ before ‘*’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:68152:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:68152:36: error: expected primary-expression before ‘>’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:68152:44: error: expected ‘)’ before ‘;’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:68156:51: error: ‘arg2’ was not declared in this scope ((faiss::IndexLattice const *)arg1)->search(arg2,(float const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp:68156:76: error: ‘arg4’ was not declared in this scope ((faiss::IndexLattice const *)arg1)->search(arg2,(float const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFPQ_add_with_ids__SWIG_0(PyObject*, PyObject*)’: swigfaiss.cpp:68946:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:68946:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:68948:10: error: ‘arg4’ was not declared in this scope idx_t *arg4 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:68948:25: error: expected primary-expression before ‘)’ token idx_t *arg4 = (idx_t *) 0 ; ^ swigfaiss.cpp:68976:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:68976:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:68976:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:68976:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:68976:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:68976:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:68977:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:68978:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:68990:28: error: ‘idx_t’ does not name a type arg4 = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:68990:34: error: expected ‘>’ before ‘*’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:68990:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:68990:36: error: expected primary-expression before ‘>’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:68990:44: error: expected ‘)’ before ‘;’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:68994:28: error: ‘arg2’ was not declared in this scope (arg1)->add_with_ids(arg2,(float const *)arg3,(idx_t const *)arg4); ^~~~ swigfaiss.cpp:68994:60: error: expected ‘)’ before ‘const’ (arg1)->add_with_ids(arg2,(float const *)arg3,(idx_t const *)arg4); ^~~~~ swigfaiss.cpp:68994:73: error: expected ‘)’ before ‘;’ token (arg1)->add_with_ids(arg2,(float const *)arg3,(idx_t const *)arg4); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFPQ_add_with_ids__SWIG_1(PyObject*, PyObject*)’: swigfaiss.cpp:69021:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:69021:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:69047:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:69047:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:69047:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:69047:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:69047:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:69047:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:69048:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:69049:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:69060:28: error: ‘arg2’ was not declared in this scope (arg1)->add_with_ids(arg2,(float const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFPQ_encode_vectors__SWIG_0(PyObject*, PyObject*)’: swigfaiss.cpp:69150:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:69150:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:69152:10: error: ‘arg4’ was not declared in this scope idx_t *arg4 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:69152:25: error: expected primary-expression before ‘)’ token idx_t *arg4 = (idx_t *) 0 ; ^ swigfaiss.cpp:69188:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:69188:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:69188:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:69188:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:69188:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:69188:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:69189:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:69190:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:69202:28: error: ‘idx_t’ does not name a type arg4 = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:69202:34: error: expected ‘>’ before ‘*’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:69202:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:69202:36: error: expected primary-expression before ‘>’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:69202:44: error: expected ‘)’ before ‘;’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:69216:57: error: ‘arg2’ was not declared in this scope ((faiss::IndexIVFPQ const *)arg1)->encode_vectors(arg2,(float const *)arg3,(idx_t const *)arg4,arg5,arg6); ^~~~ swigfaiss.cpp:69216:89: error: expected ‘)’ before ‘const’ ((faiss::IndexIVFPQ const *)arg1)->encode_vectors(arg2,(float const *)arg3,(idx_t const *)arg4,arg5,arg6); ^~~~~ swigfaiss.cpp:69216:112: error: expected ‘)’ before ‘;’ token ((faiss::IndexIVFPQ const *)arg1)->encode_vectors(arg2,(float const *)arg3,(idx_t const *)arg4,arg5,arg6); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFPQ_encode_vectors__SWIG_1(PyObject*, PyObject*)’: swigfaiss.cpp:69243:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:69243:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:69245:10: error: ‘arg4’ was not declared in this scope idx_t *arg4 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:69245:25: error: expected primary-expression before ‘)’ token idx_t *arg4 = (idx_t *) 0 ; ^ swigfaiss.cpp:69277:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:69277:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:69277:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:69277:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:69277:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:69277:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:69278:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:69279:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:69291:28: error: ‘idx_t’ does not name a type arg4 = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:69291:34: error: expected ‘>’ before ‘*’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:69291:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:69291:36: error: expected primary-expression before ‘>’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:69291:44: error: expected ‘)’ before ‘;’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:69300:57: error: ‘arg2’ was not declared in this scope ((faiss::IndexIVFPQ const *)arg1)->encode_vectors(arg2,(float const *)arg3,(idx_t const *)arg4,arg5); ^~~~ swigfaiss.cpp:69300:89: error: expected ‘)’ before ‘const’ ((faiss::IndexIVFPQ const *)arg1)->encode_vectors(arg2,(float const *)arg3,(idx_t const *)arg4,arg5); ^~~~~ swigfaiss.cpp:69300:107: error: expected ‘)’ before ‘;’ token ((faiss::IndexIVFPQ const *)arg1)->encode_vectors(arg2,(float const *)arg3,(idx_t const *)arg4,arg5); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFPQ_sa_decode(PyObject*, PyObject*)’: swigfaiss.cpp:69411:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:69411:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:69441:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:69441:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:69441:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:69441:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:69441:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:69441:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:69442:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:69443:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:69459:52: error: ‘arg2’ was not declared in this scope ((faiss::IndexIVFPQ const *)arg1)->sa_decode(arg2,(uint8_t const *)arg3,arg4); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFPQ_add_core_o__SWIG_0(PyObject*, PyObject*)’: swigfaiss.cpp:69486:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:69486:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:69488:10: error: ‘arg4’ was not declared in this scope idx_t *arg4 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:69488:25: error: expected primary-expression before ‘)’ token idx_t *arg4 = (idx_t *) 0 ; ^ swigfaiss.cpp:69490:10: error: ‘arg6’ was not declared in this scope idx_t *arg6 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:69490:25: error: expected primary-expression before ‘)’ token idx_t *arg6 = (idx_t *) 0 ; ^ swigfaiss.cpp:69524:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:69524:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:69524:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:69524:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:69524:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:69524:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:69525:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:69526:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:69538:28: error: ‘idx_t’ does not name a type arg4 = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:69538:34: error: expected ‘>’ before ‘*’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:69538:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:69538:36: error: expected primary-expression before ‘>’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:69538:44: error: expected ‘)’ before ‘;’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:69548:28: error: ‘idx_t’ does not name a type arg6 = reinterpret_cast< idx_t * >(argp6); ^~~~~ swigfaiss.cpp:69548:34: error: expected ‘>’ before ‘*’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:69548:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:69548:36: error: expected primary-expression before ‘>’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:69548:44: error: expected ‘)’ before ‘;’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:69552:26: error: ‘arg2’ was not declared in this scope (arg1)->add_core_o(arg2,(float const *)arg3,(idx_t const *)arg4,arg5,(idx_t const *)arg6); ^~~~ swigfaiss.cpp:69552:58: error: expected ‘)’ before ‘const’ (arg1)->add_core_o(arg2,(float const *)arg3,(idx_t const *)arg4,arg5,(idx_t const *)arg6); ^~~~~ swigfaiss.cpp:69552:96: error: expected ‘)’ before ‘;’ token (arg1)->add_core_o(arg2,(float const *)arg3,(idx_t const *)arg4,arg5,(idx_t const *)arg6); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFPQ_add_core_o__SWIG_1(PyObject*, PyObject*)’: swigfaiss.cpp:69579:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:69579:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:69581:10: error: ‘arg4’ was not declared in this scope idx_t *arg4 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:69581:25: error: expected primary-expression before ‘)’ token idx_t *arg4 = (idx_t *) 0 ; ^ swigfaiss.cpp:69613:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:69613:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:69613:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:69613:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:69613:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:69613:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:69614:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:69615:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:69627:28: error: ‘idx_t’ does not name a type arg4 = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:69627:34: error: expected ‘>’ before ‘*’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:69627:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:69627:36: error: expected primary-expression before ‘>’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:69627:44: error: expected ‘)’ before ‘;’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:69636:26: error: ‘arg2’ was not declared in this scope (arg1)->add_core_o(arg2,(float const *)arg3,(idx_t const *)arg4,arg5); ^~~~ swigfaiss.cpp:69636:58: error: expected ‘)’ before ‘const’ (arg1)->add_core_o(arg2,(float const *)arg3,(idx_t const *)arg4,arg5); ^~~~~ swigfaiss.cpp:69636:76: error: expected ‘)’ before ‘;’ token (arg1)->add_core_o(arg2,(float const *)arg3,(idx_t const *)arg4,arg5); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFPQ_train_residual(PyObject*, PyObject*)’: swigfaiss.cpp:69746:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:69746:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:69772:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:69772:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:69772:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:69772:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:69772:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:69772:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:69773:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:69774:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:69785:30: error: ‘arg2’ was not declared in this scope (arg1)->train_residual(arg2,(float const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFPQ_train_residual_o(PyObject*, PyObject*)’: swigfaiss.cpp:69812:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:69812:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:69842:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:69842:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:69842:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:69842:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:69842:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:69842:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:69843:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:69844:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:69860:32: error: ‘arg2’ was not declared in this scope (arg1)->train_residual_o(arg2,(float const *)arg3,arg4); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFPQ_find_duplicates(PyObject*, PyObject*)’: swigfaiss.cpp:69954:3: error: ‘idx_t’ was not declared in this scope idx_t *arg2 = (idx_t *) 0 ; ^~~~~ swigfaiss.cpp:69954:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:69954:10: error: ‘arg2’ was not declared in this scope idx_t *arg2 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:69954:25: error: expected primary-expression before ‘)’ token idx_t *arg2 = (idx_t *) 0 ; ^ swigfaiss.cpp:69977:28: error: ‘idx_t’ does not name a type arg2 = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:69977:34: error: expected ‘>’ before ‘*’ token arg2 = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:69977:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:69977:36: error: expected primary-expression before ‘>’ token arg2 = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:69977:44: error: expected ‘)’ before ‘;’ token arg2 = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFPQ_encode(PyObject*, PyObject*)’: swigfaiss.cpp:70013:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:70013:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:70043:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:70043:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:70043:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:70043:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:70043:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:70043:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:70044:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:70045:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:70061:49: error: ‘arg2’ was not declared in this scope ((faiss::IndexIVFPQ const *)arg1)->encode(arg2,(float const *)arg3,arg4); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFPQ_encode_multiple__SWIG_0(PyObject*, PyObject*)’: swigfaiss.cpp:70089:3: error: ‘idx_t’ was not declared in this scope idx_t *arg3 = (idx_t *) 0 ; ^~~~~ swigfaiss.cpp:70089:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:70089:10: error: ‘arg3’ was not declared in this scope idx_t *arg3 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:70089:25: error: expected primary-expression before ‘)’ token idx_t *arg3 = (idx_t *) 0 ; ^ swigfaiss.cpp:70127:28: error: ‘idx_t’ does not name a type arg3 = reinterpret_cast< idx_t * >(argp3); ^~~~~ swigfaiss.cpp:70127:34: error: expected ‘>’ before ‘*’ token arg3 = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:70127:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:70127:36: error: expected primary-expression before ‘>’ token arg3 = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:70127:44: error: expected ‘)’ before ‘;’ token arg3 = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFPQ_encode_multiple__SWIG_1(PyObject*, PyObject*)’: swigfaiss.cpp:70174:3: error: ‘idx_t’ was not declared in this scope idx_t *arg3 = (idx_t *) 0 ; ^~~~~ swigfaiss.cpp:70174:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:70174:10: error: ‘arg3’ was not declared in this scope idx_t *arg3 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:70174:25: error: expected primary-expression before ‘)’ token idx_t *arg3 = (idx_t *) 0 ; ^ swigfaiss.cpp:70208:28: error: ‘idx_t’ does not name a type arg3 = reinterpret_cast< idx_t * >(argp3); ^~~~~ swigfaiss.cpp:70208:34: error: expected ‘>’ before ‘*’ token arg3 = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:70208:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:70208:36: error: expected primary-expression before ‘>’ token arg3 = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:70208:44: error: expected ‘)’ before ‘;’ token arg3 = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFPQ_decode_multiple(PyObject*, PyObject*)’: swigfaiss.cpp:70338:3: error: ‘idx_t’ was not declared in this scope idx_t *arg3 = (idx_t *) 0 ; ^~~~~ swigfaiss.cpp:70338:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:70338:10: error: ‘arg3’ was not declared in this scope idx_t *arg3 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:70338:25: error: expected primary-expression before ‘)’ token idx_t *arg3 = (idx_t *) 0 ; ^ swigfaiss.cpp:70372:28: error: ‘idx_t’ does not name a type arg3 = reinterpret_cast< idx_t * >(argp3); ^~~~~ swigfaiss.cpp:70372:34: error: expected ‘>’ before ‘*’ token arg3 = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:70372:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:70372:36: error: expected primary-expression before ‘>’ token arg3 = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:70372:44: error: expected ‘)’ before ‘;’ token arg3 = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:70386:70: error: expected ‘)’ before ‘const’ ((faiss::IndexIVFPQ const *)arg1)->decode_multiple(arg2,(idx_t const *)arg3,(uint8_t const *)arg4,arg5); ^~~~~ swigfaiss.cpp:70386:110: error: expected ‘)’ before ‘;’ token ((faiss::IndexIVFPQ const *)arg1)->decode_multiple(arg2,(idx_t const *)arg3,(uint8_t const *)arg4,arg5); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFPQR_train_residual(PyObject*, PyObject*)’: swigfaiss.cpp:71303:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:71303:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:71329:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:71329:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:71329:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:71329:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:71329:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:71329:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:71330:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:71331:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:71342:30: error: ‘arg2’ was not declared in this scope (arg1)->train_residual(arg2,(float const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFPQR_add_with_ids(PyObject*, PyObject*)’: swigfaiss.cpp:71369:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:71369:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:71371:10: error: ‘arg4’ was not declared in this scope idx_t *arg4 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:71371:25: error: expected primary-expression before ‘)’ token idx_t *arg4 = (idx_t *) 0 ; ^ swigfaiss.cpp:71399:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:71399:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:71399:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:71399:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:71399:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:71399:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:71400:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:71401:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:71413:28: error: ‘idx_t’ does not name a type arg4 = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:71413:34: error: expected ‘>’ before ‘*’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:71413:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:71413:36: error: expected primary-expression before ‘>’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:71413:44: error: expected ‘)’ before ‘;’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:71417:28: error: ‘arg2’ was not declared in this scope (arg1)->add_with_ids(arg2,(float const *)arg3,(idx_t const *)arg4); ^~~~ swigfaiss.cpp:71417:60: error: expected ‘)’ before ‘const’ (arg1)->add_with_ids(arg2,(float const *)arg3,(idx_t const *)arg4); ^~~~~ swigfaiss.cpp:71417:73: error: expected ‘)’ before ‘;’ token (arg1)->add_with_ids(arg2,(float const *)arg3,(idx_t const *)arg4); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFPQR_add_core__SWIG_0(PyObject*, PyObject*)’: swigfaiss.cpp:71444:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:71444:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:71446:10: error: ‘arg4’ was not declared in this scope idx_t *arg4 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:71446:25: error: expected primary-expression before ‘)’ token idx_t *arg4 = (idx_t *) 0 ; ^ swigfaiss.cpp:71447:10: error: ‘arg5’ was not declared in this scope idx_t *arg5 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:71447:25: error: expected primary-expression before ‘)’ token idx_t *arg5 = (idx_t *) 0 ; ^ swigfaiss.cpp:71478:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:71478:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:71478:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:71478:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:71478:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:71478:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:71479:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:71480:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:71492:28: error: ‘idx_t’ does not name a type arg4 = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:71492:34: error: expected ‘>’ before ‘*’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:71492:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:71492:36: error: expected primary-expression before ‘>’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:71492:44: error: expected ‘)’ before ‘;’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:71497:28: error: ‘idx_t’ does not name a type arg5 = reinterpret_cast< idx_t * >(argp5); ^~~~~ swigfaiss.cpp:71497:34: error: expected ‘>’ before ‘*’ token arg5 = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:71497:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:71497:36: error: expected primary-expression before ‘>’ token arg5 = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:71497:44: error: expected ‘)’ before ‘;’ token arg5 = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:71501:24: error: ‘arg2’ was not declared in this scope (arg1)->add_core(arg2,(float const *)arg3,(idx_t const *)arg4,(idx_t const *)arg5); ^~~~ swigfaiss.cpp:71501:56: error: expected ‘)’ before ‘const’ (arg1)->add_core(arg2,(float const *)arg3,(idx_t const *)arg4,(idx_t const *)arg5); ^~~~~ swigfaiss.cpp:71501:89: error: expected ‘)’ before ‘;’ token (arg1)->add_core(arg2,(float const *)arg3,(idx_t const *)arg4,(idx_t const *)arg5); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFPQR_add_core__SWIG_1(PyObject*, PyObject*)’: swigfaiss.cpp:71528:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:71528:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:71530:10: error: ‘arg4’ was not declared in this scope idx_t *arg4 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:71530:25: error: expected primary-expression before ‘)’ token idx_t *arg4 = (idx_t *) 0 ; ^ swigfaiss.cpp:71558:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:71558:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:71558:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:71558:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:71558:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:71558:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:71559:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:71560:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:71572:28: error: ‘idx_t’ does not name a type arg4 = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:71572:34: error: expected ‘>’ before ‘*’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:71572:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:71572:36: error: expected primary-expression before ‘>’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:71572:44: error: expected ‘)’ before ‘;’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:71576:24: error: ‘arg2’ was not declared in this scope (arg1)->add_core(arg2,(float const *)arg3,(idx_t const *)arg4); ^~~~ swigfaiss.cpp:71576:56: error: expected ‘)’ before ‘const’ (arg1)->add_core(arg2,(float const *)arg3,(idx_t const *)arg4); ^~~~~ swigfaiss.cpp:71576:69: error: expected ‘)’ before ‘;’ token (arg1)->add_core(arg2,(float const *)arg3,(idx_t const *)arg4); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFPQR_merge_from(PyObject*, PyObject*)’: swigfaiss.cpp:71744:3: error: ‘idx_t’ was not declared in this scope idx_t arg3 ; ^~~~~ swigfaiss.cpp:71744:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:71777:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^~~~ swigfaiss.cpp:71777:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^~~~~ swigfaiss.cpp:71777:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:71777:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:71777:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:71777:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:71778:7: error: ‘arg3’ was not declared in this scope arg3 = *temp; ^~~~ swigfaiss.cpp:71779:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res3)) delete temp; ^~~~ swigfaiss.cpp:71785:32: error: ‘arg3’ was not declared in this scope (arg1)->merge_from(*arg2,arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFPQR_search_preassigned__SWIG_0(PyObject*, PyObject*)’: swigfaiss.cpp:71812:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:71812:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:71814:9: error: expected ‘;’ before ‘arg4’ idx_t arg4 ; ^~~~ swigfaiss.cpp:71815:10: error: ‘arg5’ was not declared in this scope idx_t *arg5 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:71815:25: error: expected primary-expression before ‘)’ token idx_t *arg5 = (idx_t *) 0 ; ^ swigfaiss.cpp:71818:10: error: ‘arg8’ was not declared in this scope idx_t *arg8 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:71818:25: error: expected primary-expression before ‘)’ token idx_t *arg8 = (idx_t *) 0 ; ^ swigfaiss.cpp:71866:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:71866:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:71866:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:71866:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:71866:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:71866:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:71867:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:71868:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:71884:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:71884:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:71884:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:71884:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:71884:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:71884:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:71885:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:71886:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:71893:28: error: ‘idx_t’ does not name a type arg5 = reinterpret_cast< idx_t * >(argp5); ^~~~~ swigfaiss.cpp:71893:34: error: expected ‘>’ before ‘*’ token arg5 = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:71893:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:71893:36: error: expected primary-expression before ‘>’ token arg5 = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:71893:44: error: expected ‘)’ before ‘;’ token arg5 = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:71908:28: error: ‘idx_t’ does not name a type arg8 = reinterpret_cast< idx_t * >(argp8); ^~~~~ swigfaiss.cpp:71908:34: error: expected ‘>’ before ‘*’ token arg8 = reinterpret_cast< idx_t * >(argp8); ^ swigfaiss.cpp:71908:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:71908:36: error: expected primary-expression before ‘>’ token arg8 = reinterpret_cast< idx_t * >(argp8); ^ swigfaiss.cpp:71908:44: error: expected ‘)’ before ‘;’ token arg8 = reinterpret_cast< idx_t * >(argp8); ^ swigfaiss.cpp:71922:62: error: ‘arg2’ was not declared in this scope ((faiss::IndexIVFPQR const *)arg1)->search_preassigned(arg2,(float const *)arg3,arg4,(idx_t const *)arg5,(float const *)arg6,arg7,arg8,arg9,(faiss::IVFSearchParameters const *)arg10); ^~~~ swigfaiss.cpp:71922:87: error: ‘arg4’ was not declared in this scope ((faiss::IndexIVFPQR const *)arg1)->search_preassigned(arg2,(float const *)arg3,arg4,(idx_t const *)arg5,(float const *)arg6,arg7,arg8,arg9,(faiss::IVFSearchParameters const *)arg10); ^~~~ swigfaiss.cpp:71922:99: error: expected ‘)’ before ‘const’ ((faiss::IndexIVFPQR const *)arg1)->search_preassigned(arg2,(float const *)arg3,arg4,(idx_t const *)arg5,(float const *)arg6,arg7,arg8,arg9,(faiss::IVFSearchParameters const *)arg10); ^~~~~ swigfaiss.cpp:71922:189: error: expected ‘)’ before ‘;’ token ((faiss::IndexIVFPQR const *)arg1)->search_preassigned(arg2,(float const *)arg3,arg4,(idx_t const *)arg5,(float const *)arg6,arg7,arg8,arg9,(faiss::IVFSearchParameters const *)arg10); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexIVFPQR_search_preassigned__SWIG_1(PyObject*, PyObject*)’: swigfaiss.cpp:71949:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:71949:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:71951:9: error: expected ‘;’ before ‘arg4’ idx_t arg4 ; ^~~~ swigfaiss.cpp:71952:10: error: ‘arg5’ was not declared in this scope idx_t *arg5 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:71952:25: error: expected primary-expression before ‘)’ token idx_t *arg5 = (idx_t *) 0 ; ^ swigfaiss.cpp:71955:10: error: ‘arg8’ was not declared in this scope idx_t *arg8 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:71955:25: error: expected primary-expression before ‘)’ token idx_t *arg8 = (idx_t *) 0 ; ^ swigfaiss.cpp:71999:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:71999:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:71999:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:71999:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:71999:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:71999:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:72000:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:72001:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:72017:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:72017:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:72017:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:72017:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:72017:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:72017:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:72018:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:72019:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:72026:28: error: ‘idx_t’ does not name a type arg5 = reinterpret_cast< idx_t * >(argp5); ^~~~~ swigfaiss.cpp:72026:34: error: expected ‘>’ before ‘*’ token arg5 = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:72026:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:72026:36: error: expected primary-expression before ‘>’ token arg5 = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:72026:44: error: expected ‘)’ before ‘;’ token arg5 = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:72041:28: error: ‘idx_t’ does not name a type arg8 = reinterpret_cast< idx_t * >(argp8); ^~~~~ swigfaiss.cpp:72041:34: error: expected ‘>’ before ‘*’ token arg8 = reinterpret_cast< idx_t * >(argp8); ^ swigfaiss.cpp:72041:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:72041:36: error: expected primary-expression before ‘>’ token arg8 = reinterpret_cast< idx_t * >(argp8); ^ swigfaiss.cpp:72041:44: error: expected ‘)’ before ‘;’ token arg8 = reinterpret_cast< idx_t * >(argp8); ^ swigfaiss.cpp:72050:62: error: ‘arg2’ was not declared in this scope ((faiss::IndexIVFPQR const *)arg1)->search_preassigned(arg2,(float const *)arg3,arg4,(idx_t const *)arg5,(float const *)arg6,arg7,arg8,arg9); ^~~~ swigfaiss.cpp:72050:87: error: ‘arg4’ was not declared in this scope ((faiss::IndexIVFPQR const *)arg1)->search_preassigned(arg2,(float const *)arg3,arg4,(idx_t const *)arg5,(float const *)arg6,arg7,arg8,arg9); ^~~~ swigfaiss.cpp:72050:99: error: expected ‘)’ before ‘const’ ((faiss::IndexIVFPQR const *)arg1)->search_preassigned(arg2,(float const *)arg3,arg4,(idx_t const *)arg5,(float const *)arg6,arg7,arg8,arg9); ^~~~~ swigfaiss.cpp:72050:147: error: expected ‘)’ before ‘;’ token ((faiss::IndexIVFPQR const *)arg1)->search_preassigned(arg2,(float const *)arg3,arg4,(idx_t const *)arg5,(float const *)arg6,arg7,arg8,arg9); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_Index2Layer_train(PyObject*, PyObject*)’: swigfaiss.cpp:73026:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:73026:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:73052:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:73052:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:73052:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:73052:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:73052:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:73052:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:73053:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:73054:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:73065:21: error: ‘arg2’ was not declared in this scope (arg1)->train(arg2,(float const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_Index2Layer_add(PyObject*, PyObject*)’: swigfaiss.cpp:73092:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:73092:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:73118:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:73118:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:73118:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:73118:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:73118:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:73118:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:73119:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:73120:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:73131:19: error: ‘arg2’ was not declared in this scope (arg1)->add(arg2,(float const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_Index2Layer_search(PyObject*, PyObject*)’: swigfaiss.cpp:73158:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:73158:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:73160:9: error: expected ‘;’ before ‘arg4’ idx_t arg4 ; ^~~~ swigfaiss.cpp:73162:10: error: ‘arg6’ was not declared in this scope idx_t *arg6 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:73162:25: error: expected primary-expression before ‘)’ token idx_t *arg6 = (idx_t *) 0 ; ^ swigfaiss.cpp:73196:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:73196:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:73196:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:73196:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:73196:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:73196:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:73197:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:73198:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:73214:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:73214:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:73214:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:73214:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:73214:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:73214:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:73215:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:73216:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:73228:28: error: ‘idx_t’ does not name a type arg6 = reinterpret_cast< idx_t * >(argp6); ^~~~~ swigfaiss.cpp:73228:34: error: expected ‘>’ before ‘*’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:73228:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:73228:36: error: expected primary-expression before ‘>’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:73228:44: error: expected ‘)’ before ‘;’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:73232:50: error: ‘arg2’ was not declared in this scope ((faiss::Index2Layer const *)arg1)->search(arg2,(float const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp:73232:75: error: ‘arg4’ was not declared in this scope ((faiss::Index2Layer const *)arg1)->search(arg2,(float const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_Index2Layer_reconstruct_n(PyObject*, PyObject*)’: swigfaiss.cpp:73259:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:73259:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:73260:9: error: expected ‘;’ before ‘arg3’ idx_t arg3 ; ^~~~ swigfaiss.cpp:73289:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:73289:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:73289:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:73289:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:73289:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:73289:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:73290:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:73291:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:73302:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^~~~ swigfaiss.cpp:73302:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^~~~~ swigfaiss.cpp:73302:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:73302:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:73302:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:73302:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:73303:7: error: ‘arg3’ was not declared in this scope arg3 = *temp; ^~~~ swigfaiss.cpp:73304:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res3)) delete temp; ^~~~ swigfaiss.cpp:73315:57: error: ‘arg2’ was not declared in this scope ((faiss::Index2Layer const *)arg1)->reconstruct_n(arg2,arg3,arg4); ^~~~ swigfaiss.cpp:73315:62: error: ‘arg3’ was not declared in this scope ((faiss::Index2Layer const *)arg1)->reconstruct_n(arg2,arg3,arg4); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_Index2Layer_reconstruct(PyObject*, PyObject*)’: swigfaiss.cpp:73342:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:73342:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:73368:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:73368:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:73368:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:73368:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:73368:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:73368:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:73369:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:73370:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:73381:55: error: ‘arg2’ was not declared in this scope ((faiss::Index2Layer const *)arg1)->reconstruct(arg2,arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_Index2Layer_sa_encode(PyObject*, PyObject*)’: swigfaiss.cpp:73582:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:73582:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:73612:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:73612:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:73612:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:73612:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:73612:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:73612:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:73613:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:73614:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:73630:53: error: ‘arg2’ was not declared in this scope ((faiss::Index2Layer const *)arg1)->sa_encode(arg2,(float const *)arg3,arg4); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_Index2Layer_sa_decode(PyObject*, PyObject*)’: swigfaiss.cpp:73657:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:73657:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:73687:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:73687:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:73687:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:73687:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:73687:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:73687:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:73688:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:73689:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:73705:53: error: ‘arg2’ was not declared in this scope ((faiss::Index2Layer const *)arg1)->sa_decode(arg2,(uint8_t const *)arg3,arg4); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexBinary_ntotal_set(PyObject*, PyObject*)’: swigfaiss.cpp:73843:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:73843:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:73865:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:73865:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:73865:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:73865:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:73865:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:73865:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:73866:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:73867:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:73870:30: error: ‘arg2’ was not declared in this scope if (arg1) (arg1)->ntotal = arg2; ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexBinary_ntotal_get(PyObject*, PyObject*)’: swigfaiss.cpp:73884:3: error: ‘idx_t’ was not declared in this scope idx_t result; ^~~~~ swigfaiss.cpp:73884:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:73892:3: error: ‘result’ was not declared in this scope result = ((arg1)->ntotal); ^~~~~~ swigfaiss.cpp:73893:39: error: expected type-specifier before ‘idx_t’ resultobj = SWIG_NewPointerObj((new idx_t(static_cast< const idx_t& >(result))), SWIGTYPE_p_idx_t, SWIG_POINTER_OWN | 0 ); ^ swigfaiss.cpp:1186:89: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~ swigfaiss.cpp:73893:39: error: expected ‘)’ before ‘idx_t’ resultobj = SWIG_NewPointerObj((new idx_t(static_cast< const idx_t& >(result))), SWIGTYPE_p_idx_t, SWIG_POINTER_OWN | 0 ); ^ swigfaiss.cpp:1186:89: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexBinary_train(PyObject*, PyObject*)’: swigfaiss.cpp:74099:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:74099:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:74125:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:74125:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:74125:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:74125:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:74125:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:74125:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:74126:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:74127:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:74138:21: error: ‘arg2’ was not declared in this scope (arg1)->train(arg2,(uint8_t const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexBinary_add(PyObject*, PyObject*)’: swigfaiss.cpp:74165:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:74165:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:74191:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:74191:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:74191:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:74191:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:74191:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:74191:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:74192:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:74193:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:74204:19: error: ‘arg2’ was not declared in this scope (arg1)->add(arg2,(uint8_t const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexBinary_add_with_ids(PyObject*, PyObject*)’: swigfaiss.cpp:74231:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:74231:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:74233:10: error: ‘arg4’ was not declared in this scope idx_t *arg4 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:74233:25: error: expected primary-expression before ‘)’ token idx_t *arg4 = (idx_t *) 0 ; ^ swigfaiss.cpp:74261:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:74261:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:74261:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:74261:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:74261:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:74261:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:74262:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:74263:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:74275:28: error: ‘idx_t’ does not name a type arg4 = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:74275:34: error: expected ‘>’ before ‘*’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:74275:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:74275:36: error: expected primary-expression before ‘>’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:74275:44: error: expected ‘)’ before ‘;’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:74279:28: error: ‘arg2’ was not declared in this scope (arg1)->add_with_ids(arg2,(uint8_t const *)arg3,(idx_t const *)arg4); ^~~~ swigfaiss.cpp:74279:62: error: expected ‘)’ before ‘const’ (arg1)->add_with_ids(arg2,(uint8_t const *)arg3,(idx_t const *)arg4); ^~~~~ swigfaiss.cpp:74279:75: error: expected ‘)’ before ‘;’ token (arg1)->add_with_ids(arg2,(uint8_t const *)arg3,(idx_t const *)arg4); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexBinary_search(PyObject*, PyObject*)’: swigfaiss.cpp:74306:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:74306:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:74308:9: error: expected ‘;’ before ‘arg4’ idx_t arg4 ; ^~~~ swigfaiss.cpp:74310:10: error: ‘arg6’ was not declared in this scope idx_t *arg6 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:74310:25: error: expected primary-expression before ‘)’ token idx_t *arg6 = (idx_t *) 0 ; ^ swigfaiss.cpp:74344:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:74344:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:74344:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:74344:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:74344:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:74344:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:74345:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:74346:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:74362:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:74362:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:74362:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:74362:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:74362:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:74362:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:74363:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:74364:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:74376:28: error: ‘idx_t’ does not name a type arg6 = reinterpret_cast< idx_t * >(argp6); ^~~~~ swigfaiss.cpp:74376:34: error: expected ‘>’ before ‘*’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:74376:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:74376:36: error: expected primary-expression before ‘>’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:74376:44: error: expected ‘)’ before ‘;’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:74380:50: error: ‘arg2’ was not declared in this scope ((faiss::IndexBinary const *)arg1)->search(arg2,(uint8_t const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp:74380:77: error: ‘arg4’ was not declared in this scope ((faiss::IndexBinary const *)arg1)->search(arg2,(uint8_t const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexBinary_range_search(PyObject*, PyObject*)’: swigfaiss.cpp:74407:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:74407:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:74441:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:74441:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:74441:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:74441:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:74441:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:74441:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:74442:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:74443:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:74464:56: error: ‘arg2’ was not declared in this scope ((faiss::IndexBinary const *)arg1)->range_search(arg2,(uint8_t const *)arg3,arg4,arg5); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexBinary_assign__SWIG_0(PyObject*, PyObject*)’: swigfaiss.cpp:74491:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:74491:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:74493:10: error: ‘arg4’ was not declared in this scope idx_t *arg4 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:74493:25: error: expected primary-expression before ‘)’ token idx_t *arg4 = (idx_t *) 0 ; ^ swigfaiss.cpp:74494:9: error: expected ‘;’ before ‘arg5’ idx_t arg5 ; ^~~~ swigfaiss.cpp:74525:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:74525:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:74525:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:74525:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:74525:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:74525:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:74526:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:74527:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:74539:28: error: ‘idx_t’ does not name a type arg4 = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:74539:34: error: expected ‘>’ before ‘*’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:74539:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:74539:36: error: expected primary-expression before ‘>’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:74539:44: error: expected ‘)’ before ‘;’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:74548:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp5); ^~~~ swigfaiss.cpp:74548:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp5); ^~~~~ swigfaiss.cpp:74548:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:74548:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:74548:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:74548:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:74549:7: error: ‘arg5’ was not declared in this scope arg5 = *temp; ^~~~ swigfaiss.cpp:74550:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res5)) delete temp; ^~~~ swigfaiss.cpp:74556:22: error: ‘arg2’ was not declared in this scope (arg1)->assign(arg2,(uint8_t const *)arg3,arg4,arg5); ^~~~ swigfaiss.cpp:74556:54: error: ‘arg5’ was not declared in this scope (arg1)->assign(arg2,(uint8_t const *)arg3,arg4,arg5); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexBinary_assign__SWIG_1(PyObject*, PyObject*)’: swigfaiss.cpp:74583:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:74583:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:74585:10: error: ‘arg4’ was not declared in this scope idx_t *arg4 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:74585:25: error: expected primary-expression before ‘)’ token idx_t *arg4 = (idx_t *) 0 ; ^ swigfaiss.cpp:74613:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:74613:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:74613:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:74613:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:74613:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:74613:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:74614:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:74615:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:74627:28: error: ‘idx_t’ does not name a type arg4 = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:74627:34: error: expected ‘>’ before ‘*’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:74627:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:74627:36: error: expected primary-expression before ‘>’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:74627:44: error: expected ‘)’ before ‘;’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:74631:22: error: ‘arg2’ was not declared in this scope (arg1)->assign(arg2,(uint8_t const *)arg3,arg4); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexBinary_reconstruct(PyObject*, PyObject*)’: swigfaiss.cpp:74823:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:74823:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:74849:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:74849:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:74849:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:74849:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:74849:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:74849:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:74850:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:74851:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:74862:55: error: ‘arg2’ was not declared in this scope ((faiss::IndexBinary const *)arg1)->reconstruct(arg2,arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexBinary_reconstruct_n(PyObject*, PyObject*)’: swigfaiss.cpp:74889:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:74889:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:74890:9: error: expected ‘;’ before ‘arg3’ idx_t arg3 ; ^~~~ swigfaiss.cpp:74919:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:74919:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:74919:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:74919:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:74919:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:74919:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:74920:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:74921:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:74932:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^~~~ swigfaiss.cpp:74932:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^~~~~ swigfaiss.cpp:74932:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:74932:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:74932:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:74932:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:74933:7: error: ‘arg3’ was not declared in this scope arg3 = *temp; ^~~~ swigfaiss.cpp:74934:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res3)) delete temp; ^~~~ swigfaiss.cpp:74945:57: error: ‘arg2’ was not declared in this scope ((faiss::IndexBinary const *)arg1)->reconstruct_n(arg2,arg3,arg4); ^~~~ swigfaiss.cpp:74945:62: error: ‘arg3’ was not declared in this scope ((faiss::IndexBinary const *)arg1)->reconstruct_n(arg2,arg3,arg4); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexBinary_search_and_reconstruct(PyObject*, PyObject*)’: swigfaiss.cpp:74972:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:74972:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:74974:9: error: expected ‘;’ before ‘arg4’ idx_t arg4 ; ^~~~ swigfaiss.cpp:74976:10: error: ‘arg6’ was not declared in this scope idx_t *arg6 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:74976:25: error: expected primary-expression before ‘)’ token idx_t *arg6 = (idx_t *) 0 ; ^ swigfaiss.cpp:75014:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:75014:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:75014:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:75014:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:75014:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:75014:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:75015:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:75016:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:75032:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:75032:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:75032:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:75032:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:75032:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:75032:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:75033:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:75034:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:75046:28: error: ‘idx_t’ does not name a type arg6 = reinterpret_cast< idx_t * >(argp6); ^~~~~ swigfaiss.cpp:75046:34: error: expected ‘>’ before ‘*’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:75046:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:75046:36: error: expected primary-expression before ‘>’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:75046:44: error: expected ‘)’ before ‘;’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:75055:66: error: ‘arg2’ was not declared in this scope ((faiss::IndexBinary const *)arg1)->search_and_reconstruct(arg2,(uint8_t const *)arg3,arg4,arg5,arg6,arg7); ^~~~ swigfaiss.cpp:75055:93: error: ‘arg4’ was not declared in this scope ((faiss::IndexBinary const *)arg1)->search_and_reconstruct(arg2,(uint8_t const *)arg3,arg4,arg5,arg6,arg7); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_new_IndexBinaryFlat__SWIG_0(PyObject*, PyObject*)’: swigfaiss.cpp:75284:3: error: ‘idx_t’ was not declared in this scope idx_t arg1 ; ^~~~~ swigfaiss.cpp:75284:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:75299:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^~~~ swigfaiss.cpp:75299:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^~~~~ swigfaiss.cpp:75299:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^ swigfaiss.cpp:75299:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:75299:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^ swigfaiss.cpp:75299:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^ swigfaiss.cpp:75300:7: error: ‘arg1’ was not declared in this scope arg1 = *temp; ^~~~ swigfaiss.cpp:75301:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res1)) delete temp; ^~~~ swigfaiss.cpp:75307:69: error: ‘arg1’ was not declared in this scope result = (faiss::IndexBinaryFlat *)new faiss::IndexBinaryFlat(arg1); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexBinaryFlat_add(PyObject*, PyObject*)’: swigfaiss.cpp:75334:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:75334:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:75360:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:75360:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:75360:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:75360:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:75360:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:75360:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:75361:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:75362:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:75373:19: error: ‘arg2’ was not declared in this scope (arg1)->add(arg2,(uint8_t const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexBinaryFlat_search(PyObject*, PyObject*)’: swigfaiss.cpp:75440:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:75440:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:75442:9: error: expected ‘;’ before ‘arg4’ idx_t arg4 ; ^~~~ swigfaiss.cpp:75444:10: error: ‘arg6’ was not declared in this scope idx_t *arg6 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:75444:25: error: expected primary-expression before ‘)’ token idx_t *arg6 = (idx_t *) 0 ; ^ swigfaiss.cpp:75478:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:75478:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:75478:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:75478:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:75478:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:75478:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:75479:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:75480:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:75496:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:75496:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:75496:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:75496:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:75496:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:75496:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:75497:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:75498:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:75510:28: error: ‘idx_t’ does not name a type arg6 = reinterpret_cast< idx_t * >(argp6); ^~~~~ swigfaiss.cpp:75510:34: error: expected ‘>’ before ‘*’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:75510:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:75510:36: error: expected primary-expression before ‘>’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:75510:44: error: expected ‘)’ before ‘;’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:75514:54: error: ‘arg2’ was not declared in this scope ((faiss::IndexBinaryFlat const *)arg1)->search(arg2,(uint8_t const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp:75514:81: error: ‘arg4’ was not declared in this scope ((faiss::IndexBinaryFlat const *)arg1)->search(arg2,(uint8_t const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexBinaryFlat_reconstruct(PyObject*, PyObject*)’: swigfaiss.cpp:75541:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:75541:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:75567:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:75567:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:75567:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:75567:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:75567:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:75567:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:75568:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:75569:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:75580:59: error: ‘arg2’ was not declared in this scope ((faiss::IndexBinaryFlat const *)arg1)->reconstruct(arg2,arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexBinaryIVF_direct_map_set(PyObject*, PyObject*)’: swigfaiss.cpp:76065:16: error: ‘idx_t’ was not declared in this scope std::vector< idx_t > *arg2 = (std::vector< idx_t > *) 0 ; ^~~~~ swigfaiss.cpp:76065:16: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:76065:22: error: template argument 1 is invalid std::vector< idx_t > *arg2 = (std::vector< idx_t > *) 0 ; ^ swigfaiss.cpp:76065:22: error: template argument 2 is invalid swigfaiss.cpp:76065:46: error: the value of ‘idx_t’ is not usable in a constant expression std::vector< idx_t > *arg2 = (std::vector< idx_t > *) 0 ; ^~~~~ swigfaiss.cpp:76065:16: note: ‘idx_t’ was not declared ‘constexpr’ std::vector< idx_t > *arg2 = (std::vector< idx_t > *) 0 ; ^~~~~ swigfaiss.cpp:76065:52: error: type/value mismatch at argument 1 in template parameter list for ‘template class std::vector’ std::vector< idx_t > *arg2 = (std::vector< idx_t > *) 0 ; ^ swigfaiss.cpp:76065:52: note: expected a type, got ‘idx_t’ swigfaiss.cpp:76065:52: error: template argument 2 is invalid swigfaiss.cpp:76065:55: error: expected primary-expression before ‘)’ token std::vector< idx_t > *arg2 = (std::vector< idx_t > *) 0 ; ^ swigfaiss.cpp:76083:41: error: the value of ‘idx_t’ is not usable in a constant expression arg2 = reinterpret_cast< std::vector< idx_t > * >(argp2); ^~~~~ swigfaiss.cpp:76065:16: note: ‘idx_t’ was not declared ‘constexpr’ std::vector< idx_t > *arg2 = (std::vector< idx_t > *) 0 ; ^~~~~ swigfaiss.cpp:76083:47: error: type/value mismatch at argument 1 in template parameter list for ‘template class std::vector’ arg2 = reinterpret_cast< std::vector< idx_t > * >(argp2); ^ swigfaiss.cpp:76083:47: note: expected a type, got ‘idx_t’ swigfaiss.cpp:76083:47: error: template argument 2 is invalid swigfaiss.cpp:76083:49: error: expected ‘>’ before ‘*’ token arg2 = reinterpret_cast< std::vector< idx_t > * >(argp2); ^ swigfaiss.cpp:76083:49: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:76083:51: error: expected primary-expression before ‘>’ token arg2 = reinterpret_cast< std::vector< idx_t > * >(argp2); ^ swigfaiss.cpp:76083:59: error: expected ‘)’ before ‘;’ token arg2 = reinterpret_cast< std::vector< idx_t > * >(argp2); ^ swigfaiss.cpp:76084:35: error: no match for ‘operator=’ (operand types are ‘std::vector’ and ‘int’) if (arg1) (arg1)->direct_map = *arg2; ^~~~ In file included from /usr/include/c++/6/vector:69:0, from ../faiss/IndexFlat.h:13, from swigfaiss.cpp:3384: /usr/include/c++/6/bits/vector.tcc:167:5: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = long long int; _Alloc = std::allocator] vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ /usr/include/c++/6/bits/vector.tcc:167:5: note: no known conversion for argument 1 from ‘int’ to ‘const std::vector&’ In file included from /usr/include/c++/6/vector:64:0, from ../faiss/IndexFlat.h:13, from swigfaiss.cpp:3384: /usr/include/c++/6/bits/stl_vector.h:450:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = long long int; _Alloc = std::allocator] operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move()) ^~~~~~~~ /usr/include/c++/6/bits/stl_vector.h:450:7: note: no known conversion for argument 1 from ‘int’ to ‘std::vector&&’ /usr/include/c++/6/bits/stl_vector.h:471:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = long long int; _Alloc = std::allocator] operator=(initializer_list __l) ^~~~~~~~ /usr/include/c++/6/bits/stl_vector.h:471:7: note: no known conversion for argument 1 from ‘int’ to ‘std::initializer_list’ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexBinaryIVF_direct_map_get(PyObject*, PyObject*)’: swigfaiss.cpp:76098:16: error: ‘idx_t’ was not declared in this scope std::vector< idx_t > *result = 0 ; ^~~~~ swigfaiss.cpp:76098:16: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:76098:22: error: template argument 1 is invalid std::vector< idx_t > *result = 0 ; ^ swigfaiss.cpp:76098:22: error: template argument 2 is invalid swigfaiss.cpp:76106:26: error: the value of ‘idx_t’ is not usable in a constant expression result = (std::vector< idx_t > *)& ((arg1)->direct_map); ^~~~~ swigfaiss.cpp:76098:16: note: ‘idx_t’ was not declared ‘constexpr’ std::vector< idx_t > *result = 0 ; ^~~~~ swigfaiss.cpp:76106:32: error: type/value mismatch at argument 1 in template parameter list for ‘template class std::vector’ result = (std::vector< idx_t > *)& ((arg1)->direct_map); ^ swigfaiss.cpp:76106:32: note: expected a type, got ‘idx_t’ swigfaiss.cpp:76106:32: error: template argument 2 is invalid swigfaiss.cpp:76106:35: error: expected primary-expression before ‘)’ token result = (std::vector< idx_t > *)& ((arg1)->direct_map); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexBinaryIVF_train(PyObject*, PyObject*)’: swigfaiss.cpp:76594:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:76594:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:76620:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:76620:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:76620:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:76620:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:76620:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:76620:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:76621:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:76622:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:76633:21: error: ‘arg2’ was not declared in this scope (arg1)->train(arg2,(uint8_t const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexBinaryIVF_add(PyObject*, PyObject*)’: swigfaiss.cpp:76660:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:76660:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:76686:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:76686:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:76686:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:76686:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:76686:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:76686:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:76687:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:76688:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:76699:19: error: ‘arg2’ was not declared in this scope (arg1)->add(arg2,(uint8_t const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexBinaryIVF_add_with_ids(PyObject*, PyObject*)’: swigfaiss.cpp:76726:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:76726:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:76728:10: error: ‘arg4’ was not declared in this scope idx_t *arg4 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:76728:25: error: expected primary-expression before ‘)’ token idx_t *arg4 = (idx_t *) 0 ; ^ swigfaiss.cpp:76756:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:76756:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:76756:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:76756:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:76756:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:76756:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:76757:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:76758:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:76770:28: error: ‘idx_t’ does not name a type arg4 = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:76770:34: error: expected ‘>’ before ‘*’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:76770:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:76770:36: error: expected primary-expression before ‘>’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:76770:44: error: expected ‘)’ before ‘;’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:76774:28: error: ‘arg2’ was not declared in this scope (arg1)->add_with_ids(arg2,(uint8_t const *)arg3,(idx_t const *)arg4); ^~~~ swigfaiss.cpp:76774:62: error: expected ‘)’ before ‘const’ (arg1)->add_with_ids(arg2,(uint8_t const *)arg3,(idx_t const *)arg4); ^~~~~ swigfaiss.cpp:76774:75: error: expected ‘)’ before ‘;’ token (arg1)->add_with_ids(arg2,(uint8_t const *)arg3,(idx_t const *)arg4); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexBinaryIVF_add_core(PyObject*, PyObject*)’: swigfaiss.cpp:76801:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:76801:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:76803:10: error: ‘arg4’ was not declared in this scope idx_t *arg4 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:76803:25: error: expected primary-expression before ‘)’ token idx_t *arg4 = (idx_t *) 0 ; ^ swigfaiss.cpp:76804:10: error: ‘arg5’ was not declared in this scope idx_t *arg5 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:76804:25: error: expected primary-expression before ‘)’ token idx_t *arg5 = (idx_t *) 0 ; ^ swigfaiss.cpp:76835:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:76835:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:76835:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:76835:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:76835:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:76835:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:76836:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:76837:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:76849:28: error: ‘idx_t’ does not name a type arg4 = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:76849:34: error: expected ‘>’ before ‘*’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:76849:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:76849:36: error: expected primary-expression before ‘>’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:76849:44: error: expected ‘)’ before ‘;’ token arg4 = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:76854:28: error: ‘idx_t’ does not name a type arg5 = reinterpret_cast< idx_t * >(argp5); ^~~~~ swigfaiss.cpp:76854:34: error: expected ‘>’ before ‘*’ token arg5 = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:76854:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:76854:36: error: expected primary-expression before ‘>’ token arg5 = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:76854:44: error: expected ‘)’ before ‘;’ token arg5 = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:76858:24: error: ‘arg2’ was not declared in this scope (arg1)->add_core(arg2,(uint8_t const *)arg3,(idx_t const *)arg4,(idx_t const *)arg5); ^~~~ swigfaiss.cpp:76858:58: error: expected ‘)’ before ‘const’ (arg1)->add_core(arg2,(uint8_t const *)arg3,(idx_t const *)arg4,(idx_t const *)arg5); ^~~~~ swigfaiss.cpp:76858:91: error: expected ‘)’ before ‘;’ token (arg1)->add_core(arg2,(uint8_t const *)arg3,(idx_t const *)arg4,(idx_t const *)arg5); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexBinaryIVF_search_preassigned__SWIG_0(PyObject*, PyObject*)’: swigfaiss.cpp:76885:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:76885:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:76887:9: error: expected ‘;’ before ‘arg4’ idx_t arg4 ; ^~~~ swigfaiss.cpp:76888:10: error: ‘arg5’ was not declared in this scope idx_t *arg5 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:76888:25: error: expected primary-expression before ‘)’ token idx_t *arg5 = (idx_t *) 0 ; ^ swigfaiss.cpp:76891:10: error: ‘arg8’ was not declared in this scope idx_t *arg8 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:76891:25: error: expected primary-expression before ‘)’ token idx_t *arg8 = (idx_t *) 0 ; ^ swigfaiss.cpp:76939:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:76939:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:76939:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:76939:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:76939:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:76939:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:76940:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:76941:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:76957:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:76957:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:76957:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:76957:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:76957:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:76957:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:76958:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:76959:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:76966:28: error: ‘idx_t’ does not name a type arg5 = reinterpret_cast< idx_t * >(argp5); ^~~~~ swigfaiss.cpp:76966:34: error: expected ‘>’ before ‘*’ token arg5 = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:76966:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:76966:36: error: expected primary-expression before ‘>’ token arg5 = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:76966:44: error: expected ‘)’ before ‘;’ token arg5 = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:76981:28: error: ‘idx_t’ does not name a type arg8 = reinterpret_cast< idx_t * >(argp8); ^~~~~ swigfaiss.cpp:76981:34: error: expected ‘>’ before ‘*’ token arg8 = reinterpret_cast< idx_t * >(argp8); ^ swigfaiss.cpp:76981:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:76981:36: error: expected primary-expression before ‘>’ token arg8 = reinterpret_cast< idx_t * >(argp8); ^ swigfaiss.cpp:76981:44: error: expected ‘)’ before ‘;’ token arg8 = reinterpret_cast< idx_t * >(argp8); ^ swigfaiss.cpp:76995:65: error: ‘arg2’ was not declared in this scope ((faiss::IndexBinaryIVF const *)arg1)->search_preassigned(arg2,(uint8_t const *)arg3,arg4,(idx_t const *)arg5,(int32_t const *)arg6,arg7,arg8,arg9,(faiss::IVFSearchParameters const *)arg10); ^~~~ swigfaiss.cpp:76995:92: error: ‘arg4’ was not declared in this scope ((faiss::IndexBinaryIVF const *)arg1)->search_preassigned(arg2,(uint8_t const *)arg3,arg4,(idx_t const *)arg5,(int32_t const *)arg6,arg7,arg8,arg9,(faiss::IVFSearchParameters const *)arg10); ^~~~ swigfaiss.cpp:76995:104: error: expected ‘)’ before ‘const’ ((faiss::IndexBinaryIVF const *)arg1)->search_preassigned(arg2,(uint8_t const *)arg3,arg4,(idx_t const *)arg5,(int32_t const *)arg6,arg7,arg8,arg9,(faiss::IVFSearchParameters const *)arg10); ^~~~~ swigfaiss.cpp:76995:196: error: expected ‘)’ before ‘;’ token ((faiss::IndexBinaryIVF const *)arg1)->search_preassigned(arg2,(uint8_t const *)arg3,arg4,(idx_t const *)arg5,(int32_t const *)arg6,arg7,arg8,arg9,(faiss::IVFSearchParameters const *)arg10); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexBinaryIVF_search_preassigned__SWIG_1(PyObject*, PyObject*)’: swigfaiss.cpp:77022:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:77022:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:77024:9: error: expected ‘;’ before ‘arg4’ idx_t arg4 ; ^~~~ swigfaiss.cpp:77025:10: error: ‘arg5’ was not declared in this scope idx_t *arg5 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:77025:25: error: expected primary-expression before ‘)’ token idx_t *arg5 = (idx_t *) 0 ; ^ swigfaiss.cpp:77028:10: error: ‘arg8’ was not declared in this scope idx_t *arg8 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:77028:25: error: expected primary-expression before ‘)’ token idx_t *arg8 = (idx_t *) 0 ; ^ swigfaiss.cpp:77072:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:77072:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:77072:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:77072:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:77072:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:77072:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:77073:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:77074:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:77090:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:77090:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:77090:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:77090:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:77090:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:77090:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:77091:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:77092:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:77099:28: error: ‘idx_t’ does not name a type arg5 = reinterpret_cast< idx_t * >(argp5); ^~~~~ swigfaiss.cpp:77099:34: error: expected ‘>’ before ‘*’ token arg5 = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:77099:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:77099:36: error: expected primary-expression before ‘>’ token arg5 = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:77099:44: error: expected ‘)’ before ‘;’ token arg5 = reinterpret_cast< idx_t * >(argp5); ^ swigfaiss.cpp:77114:28: error: ‘idx_t’ does not name a type arg8 = reinterpret_cast< idx_t * >(argp8); ^~~~~ swigfaiss.cpp:77114:34: error: expected ‘>’ before ‘*’ token arg8 = reinterpret_cast< idx_t * >(argp8); ^ swigfaiss.cpp:77114:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:77114:36: error: expected primary-expression before ‘>’ token arg8 = reinterpret_cast< idx_t * >(argp8); ^ swigfaiss.cpp:77114:44: error: expected ‘)’ before ‘;’ token arg8 = reinterpret_cast< idx_t * >(argp8); ^ swigfaiss.cpp:77123:65: error: ‘arg2’ was not declared in this scope ((faiss::IndexBinaryIVF const *)arg1)->search_preassigned(arg2,(uint8_t const *)arg3,arg4,(idx_t const *)arg5,(int32_t const *)arg6,arg7,arg8,arg9); ^~~~ swigfaiss.cpp:77123:92: error: ‘arg4’ was not declared in this scope ((faiss::IndexBinaryIVF const *)arg1)->search_preassigned(arg2,(uint8_t const *)arg3,arg4,(idx_t const *)arg5,(int32_t const *)arg6,arg7,arg8,arg9); ^~~~ swigfaiss.cpp:77123:104: error: expected ‘)’ before ‘const’ ((faiss::IndexBinaryIVF const *)arg1)->search_preassigned(arg2,(uint8_t const *)arg3,arg4,(idx_t const *)arg5,(int32_t const *)arg6,arg7,arg8,arg9); ^~~~~ swigfaiss.cpp:77123:154: error: expected ‘)’ before ‘;’ token ((faiss::IndexBinaryIVF const *)arg1)->search_preassigned(arg2,(uint8_t const *)arg3,arg4,(idx_t const *)arg5,(int32_t const *)arg6,arg7,arg8,arg9); ^ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexBinaryIVF_search(PyObject*, PyObject*)’: swigfaiss.cpp:77410:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:77410:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:77412:9: error: expected ‘;’ before ‘arg4’ idx_t arg4 ; ^~~~ swigfaiss.cpp:77414:10: error: ‘arg6’ was not declared in this scope idx_t *arg6 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:77414:25: error: expected primary-expression before ‘)’ token idx_t *arg6 = (idx_t *) 0 ; ^ swigfaiss.cpp:77448:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:77448:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:77448:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:77448:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:77448:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:77448:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:77449:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:77450:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:77466:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:77466:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:77466:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:77466:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:77466:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:77466:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:77467:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:77468:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:77480:28: error: ‘idx_t’ does not name a type arg6 = reinterpret_cast< idx_t * >(argp6); ^~~~~ swigfaiss.cpp:77480:34: error: expected ‘>’ before ‘*’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:77480:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:77480:36: error: expected primary-expression before ‘>’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:77480:44: error: expected ‘)’ before ‘;’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:77484:53: error: ‘arg2’ was not declared in this scope ((faiss::IndexBinaryIVF const *)arg1)->search(arg2,(uint8_t const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp:77484:80: error: ‘arg4’ was not declared in this scope ((faiss::IndexBinaryIVF const *)arg1)->search(arg2,(uint8_t const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexBinaryIVF_reconstruct(PyObject*, PyObject*)’: swigfaiss.cpp:77511:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:77511:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:77537:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:77537:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:77537:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:77537:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:77537:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:77537:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:77538:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:77539:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:77550:58: error: ‘arg2’ was not declared in this scope ((faiss::IndexBinaryIVF const *)arg1)->reconstruct(arg2,arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexBinaryIVF_reconstruct_n(PyObject*, PyObject*)’: swigfaiss.cpp:77577:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:77577:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:77578:9: error: expected ‘;’ before ‘arg3’ idx_t arg3 ; ^~~~ swigfaiss.cpp:77607:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:77607:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:77607:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:77607:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:77607:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:77607:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:77608:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:77609:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:77620:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^~~~ swigfaiss.cpp:77620:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^~~~~ swigfaiss.cpp:77620:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:77620:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:77620:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:77620:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:77621:7: error: ‘arg3’ was not declared in this scope arg3 = *temp; ^~~~ swigfaiss.cpp:77622:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res3)) delete temp; ^~~~ swigfaiss.cpp:77633:60: error: ‘arg2’ was not declared in this scope ((faiss::IndexBinaryIVF const *)arg1)->reconstruct_n(arg2,arg3,arg4); ^~~~ swigfaiss.cpp:77633:65: error: ‘arg3’ was not declared in this scope ((faiss::IndexBinaryIVF const *)arg1)->reconstruct_n(arg2,arg3,arg4); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexBinaryIVF_search_and_reconstruct(PyObject*, PyObject*)’: swigfaiss.cpp:77660:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:77660:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:77662:9: error: expected ‘;’ before ‘arg4’ idx_t arg4 ; ^~~~ swigfaiss.cpp:77664:10: error: ‘arg6’ was not declared in this scope idx_t *arg6 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:77664:25: error: expected primary-expression before ‘)’ token idx_t *arg6 = (idx_t *) 0 ; ^ swigfaiss.cpp:77702:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:77702:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:77702:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:77702:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:77702:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:77702:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:77703:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:77704:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:77720:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:77720:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:77720:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:77720:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:77720:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:77720:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:77721:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:77722:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:77734:28: error: ‘idx_t’ does not name a type arg6 = reinterpret_cast< idx_t * >(argp6); ^~~~~ swigfaiss.cpp:77734:34: error: expected ‘>’ before ‘*’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:77734:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:77734:36: error: expected primary-expression before ‘>’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:77734:44: error: expected ‘)’ before ‘;’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:77743:69: error: ‘arg2’ was not declared in this scope ((faiss::IndexBinaryIVF const *)arg1)->search_and_reconstruct(arg2,(uint8_t const *)arg3,arg4,arg5,arg6,arg7); ^~~~ swigfaiss.cpp:77743:96: error: ‘arg4’ was not declared in this scope ((faiss::IndexBinaryIVF const *)arg1)->search_and_reconstruct(arg2,(uint8_t const *)arg3,arg4,arg5,arg6,arg7); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexBinaryIVF_reconstruct_from_offset(PyObject*, PyObject*)’: swigfaiss.cpp:77770:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:77770:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:77771:9: error: expected ‘;’ before ‘arg3’ idx_t arg3 ; ^~~~ swigfaiss.cpp:77800:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:77800:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:77800:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:77800:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:77800:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:77800:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:77801:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:77802:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:77813:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^~~~ swigfaiss.cpp:77813:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^~~~~ swigfaiss.cpp:77813:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:77813:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:77813:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:77813:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:77814:7: error: ‘arg3’ was not declared in this scope arg3 = *temp; ^~~~ swigfaiss.cpp:77815:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res3)) delete temp; ^~~~ swigfaiss.cpp:77826:70: error: ‘arg2’ was not declared in this scope ((faiss::IndexBinaryIVF const *)arg1)->reconstruct_from_offset(arg2,arg3,arg4); ^~~~ swigfaiss.cpp:77826:75: error: ‘arg3’ was not declared in this scope ((faiss::IndexBinaryIVF const *)arg1)->reconstruct_from_offset(arg2,arg3,arg4); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexBinaryIVF_merge_from(PyObject*, PyObject*)’: swigfaiss.cpp:77907:3: error: ‘idx_t’ was not declared in this scope idx_t arg3 ; ^~~~~ swigfaiss.cpp:77907:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:77940:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^~~~ swigfaiss.cpp:77940:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^~~~~ swigfaiss.cpp:77940:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:77940:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:77940:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:77940:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:77941:7: error: ‘arg3’ was not declared in this scope arg3 = *temp; ^~~~ swigfaiss.cpp:77942:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res3)) delete temp; ^~~~ swigfaiss.cpp:77948:32: error: ‘arg3’ was not declared in this scope (arg1)->merge_from(*arg2,arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexBinaryFromFloat_add(PyObject*, PyObject*)’: swigfaiss.cpp:78581:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:78581:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:78607:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:78607:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:78607:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:78607:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:78607:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:78607:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:78608:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:78609:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:78620:19: error: ‘arg2’ was not declared in this scope (arg1)->add(arg2,(uint8_t const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexBinaryFromFloat_search(PyObject*, PyObject*)’: swigfaiss.cpp:78687:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:78687:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:78689:9: error: expected ‘;’ before ‘arg4’ idx_t arg4 ; ^~~~ swigfaiss.cpp:78691:10: error: ‘arg6’ was not declared in this scope idx_t *arg6 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:78691:25: error: expected primary-expression before ‘)’ token idx_t *arg6 = (idx_t *) 0 ; ^ swigfaiss.cpp:78725:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:78725:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:78725:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:78725:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:78725:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:78725:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:78726:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:78727:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:78743:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:78743:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:78743:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:78743:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:78743:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:78743:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:78744:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:78745:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:78757:28: error: ‘idx_t’ does not name a type arg6 = reinterpret_cast< idx_t * >(argp6); ^~~~~ swigfaiss.cpp:78757:34: error: expected ‘>’ before ‘*’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:78757:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:78757:36: error: expected primary-expression before ‘>’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:78757:44: error: expected ‘)’ before ‘;’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:78761:59: error: ‘arg2’ was not declared in this scope ((faiss::IndexBinaryFromFloat const *)arg1)->search(arg2,(uint8_t const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp:78761:86: error: ‘arg4’ was not declared in this scope ((faiss::IndexBinaryFromFloat const *)arg1)->search(arg2,(uint8_t const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexBinaryFromFloat_train(PyObject*, PyObject*)’: swigfaiss.cpp:78788:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:78788:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:78814:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:78814:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:78814:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:78814:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:78814:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:78814:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:78815:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:78816:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:78827:21: error: ‘arg2’ was not declared in this scope (arg1)->train(arg2,(uint8_t const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexBinaryHNSW_add(PyObject*, PyObject*)’: swigfaiss.cpp:79390:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:79390:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:79416:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:79416:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:79416:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:79416:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:79416:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:79416:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:79417:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:79418:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:79429:19: error: ‘arg2’ was not declared in this scope (arg1)->add(arg2,(uint8_t const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexBinaryHNSW_train(PyObject*, PyObject*)’: swigfaiss.cpp:79456:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:79456:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:79482:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:79482:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:79482:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:79482:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:79482:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:79482:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:79483:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:79484:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:79495:21: error: ‘arg2’ was not declared in this scope (arg1)->train(arg2,(uint8_t const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexBinaryHNSW_search(PyObject*, PyObject*)’: swigfaiss.cpp:79522:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:79522:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:79524:9: error: expected ‘;’ before ‘arg4’ idx_t arg4 ; ^~~~ swigfaiss.cpp:79526:10: error: ‘arg6’ was not declared in this scope idx_t *arg6 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:79526:25: error: expected primary-expression before ‘)’ token idx_t *arg6 = (idx_t *) 0 ; ^ swigfaiss.cpp:79560:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:79560:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:79560:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:79560:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:79560:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:79560:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:79561:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:79562:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:79578:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:79578:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:79578:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:79578:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:79578:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:79578:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:79579:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:79580:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:79592:28: error: ‘idx_t’ does not name a type arg6 = reinterpret_cast< idx_t * >(argp6); ^~~~~ swigfaiss.cpp:79592:34: error: expected ‘>’ before ‘*’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:79592:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:79592:36: error: expected primary-expression before ‘>’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:79592:44: error: expected ‘)’ before ‘;’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:79596:54: error: ‘arg2’ was not declared in this scope ((faiss::IndexBinaryHNSW const *)arg1)->search(arg2,(uint8_t const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp:79596:81: error: ‘arg4’ was not declared in this scope ((faiss::IndexBinaryHNSW const *)arg1)->search(arg2,(uint8_t const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexBinaryHNSW_reconstruct(PyObject*, PyObject*)’: swigfaiss.cpp:79623:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:79623:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:79649:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:79649:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:79649:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:79649:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:79649:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:79649:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:79650:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:79651:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:79662:59: error: ‘arg2’ was not declared in this scope ((faiss::IndexBinaryHNSW const *)arg1)->reconstruct(arg2,arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexSplitVectors_sum_d_set(PyObject*, PyObject*)’: swigfaiss.cpp:81076:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:81076:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:81098:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:81098:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:81098:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:81098:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:81098:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:81098:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:81099:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:81100:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:81103:29: error: ‘arg2’ was not declared in this scope if (arg1) (arg1)->sum_d = arg2; ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexSplitVectors_sum_d_get(PyObject*, PyObject*)’: swigfaiss.cpp:81117:3: error: ‘idx_t’ was not declared in this scope idx_t result; ^~~~~ swigfaiss.cpp:81117:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:81125:3: error: ‘result’ was not declared in this scope result = ((arg1)->sum_d); ^~~~~~ swigfaiss.cpp:81126:39: error: expected type-specifier before ‘idx_t’ resultobj = SWIG_NewPointerObj((new idx_t(static_cast< const idx_t& >(result))), SWIGTYPE_p_idx_t, SWIG_POINTER_OWN | 0 ); ^ swigfaiss.cpp:1186:89: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~ swigfaiss.cpp:81126:39: error: expected ‘)’ before ‘idx_t’ resultobj = SWIG_NewPointerObj((new idx_t(static_cast< const idx_t& >(result))), SWIGTYPE_p_idx_t, SWIG_POINTER_OWN | 0 ); ^ swigfaiss.cpp:1186:89: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~ swigfaiss.cpp: In function ‘PyObject* _wrap_new_IndexSplitVectors__SWIG_0(PyObject*, PyObject*)’: swigfaiss.cpp:81135:3: error: ‘idx_t’ was not declared in this scope idx_t arg1 ; ^~~~~ swigfaiss.cpp:81135:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:81154:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^~~~ swigfaiss.cpp:81154:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^~~~~ swigfaiss.cpp:81154:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^ swigfaiss.cpp:81154:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:81154:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^ swigfaiss.cpp:81154:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^ swigfaiss.cpp:81155:7: error: ‘arg1’ was not declared in this scope arg1 = *temp; ^~~~ swigfaiss.cpp:81156:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res1)) delete temp; ^~~~ swigfaiss.cpp:81167:73: error: ‘arg1’ was not declared in this scope result = (faiss::IndexSplitVectors *)new faiss::IndexSplitVectors(arg1,arg2); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_new_IndexSplitVectors__SWIG_1(PyObject*, PyObject*)’: swigfaiss.cpp:81193:3: error: ‘idx_t’ was not declared in this scope idx_t arg1 ; ^~~~~ swigfaiss.cpp:81193:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:81208:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^~~~ swigfaiss.cpp:81208:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^~~~~ swigfaiss.cpp:81208:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^ swigfaiss.cpp:81208:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:81208:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^ swigfaiss.cpp:81208:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp1); ^ swigfaiss.cpp:81209:7: error: ‘arg1’ was not declared in this scope arg1 = *temp; ^~~~ swigfaiss.cpp:81210:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res1)) delete temp; ^~~~ swigfaiss.cpp:81216:73: error: ‘arg1’ was not declared in this scope result = (faiss::IndexSplitVectors *)new faiss::IndexSplitVectors(arg1); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexSplitVectors_add(PyObject*, PyObject*)’: swigfaiss.cpp:81376:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:81376:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:81402:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:81402:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:81402:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:81402:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:81402:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:81402:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:81403:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:81404:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:81415:19: error: ‘arg2’ was not declared in this scope (arg1)->add(arg2,(float const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexSplitVectors_search(PyObject*, PyObject*)’: swigfaiss.cpp:81442:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:81442:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:81444:9: error: expected ‘;’ before ‘arg4’ idx_t arg4 ; ^~~~ swigfaiss.cpp:81446:10: error: ‘arg6’ was not declared in this scope idx_t *arg6 = (idx_t *) 0 ; ^~~~ swigfaiss.cpp:81446:25: error: expected primary-expression before ‘)’ token idx_t *arg6 = (idx_t *) 0 ; ^ swigfaiss.cpp:81480:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:81480:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:81480:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:81480:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:81480:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:81480:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:81481:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:81482:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:81498:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~ swigfaiss.cpp:81498:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^~~~~ swigfaiss.cpp:81498:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:81498:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:81498:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:81498:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp4); ^ swigfaiss.cpp:81499:7: error: ‘arg4’ was not declared in this scope arg4 = *temp; ^~~~ swigfaiss.cpp:81500:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res4)) delete temp; ^~~~ swigfaiss.cpp:81512:28: error: ‘idx_t’ does not name a type arg6 = reinterpret_cast< idx_t * >(argp6); ^~~~~ swigfaiss.cpp:81512:34: error: expected ‘>’ before ‘*’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:81512:34: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:81512:36: error: expected primary-expression before ‘>’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:81512:44: error: expected ‘)’ before ‘;’ token arg6 = reinterpret_cast< idx_t * >(argp6); ^ swigfaiss.cpp:81516:56: error: ‘arg2’ was not declared in this scope ((faiss::IndexSplitVectors const *)arg1)->search(arg2,(float const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp:81516:81: error: ‘arg4’ was not declared in this scope ((faiss::IndexSplitVectors const *)arg1)->search(arg2,(float const *)arg3,arg4,arg5,arg6); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_IndexSplitVectors_train(PyObject*, PyObject*)’: swigfaiss.cpp:81543:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:81543:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:81569:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:81569:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:81569:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:81569:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:81569:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:81569:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:81570:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:81571:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:81582:21: error: ‘arg2’ was not declared in this scope (arg1)->train(arg2,(float const *)arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_downcast_index(PyObject*, PyObject*)’: swigfaiss.cpp:81730:45: error: ‘SWIGTYPE_p_faiss__IndexIDMapTemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexIDMapTemplateT_faiss__Index_t,0); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:81735:45: error: ‘SWIGTYPE_p_faiss__IndexIDMap2TemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexIDMap2TemplateT_faiss__Index_t,0); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:81740:45: error: ‘SWIGTYPE_p_faiss__IndexShardsTemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexShardsTemplateT_faiss__Index_t,0); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:81745:45: error: ‘SWIGTYPE_p_faiss__IndexReplicasTemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexReplicasTemplateT_faiss__Index_t,0); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_downcast_IndexBinary(PyObject*, PyObject*)’: swigfaiss.cpp:81998:45: error: ‘SWIGTYPE_p_faiss__IndexReplicasTemplateT_faiss__IndexBinary_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexReplicasTemplateT_faiss__IndexBinary_t,0); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:82003:45: error: ‘SWIGTYPE_p_faiss__IndexIDMapTemplateT_faiss__IndexBinary_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexIDMapTemplateT_faiss__IndexBinary_t,0); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:82008:45: error: ‘SWIGTYPE_p_faiss__IndexIDMap2TemplateT_faiss__IndexBinary_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexIDMap2TemplateT_faiss__IndexBinary_t,0); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_read_index__SWIG_0(PyObject*, PyObject*)’: swigfaiss.cpp:84254:45: error: ‘SWIGTYPE_p_faiss__IndexIDMapTemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexIDMapTemplateT_faiss__Index_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:84259:45: error: ‘SWIGTYPE_p_faiss__IndexIDMap2TemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexIDMap2TemplateT_faiss__Index_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:84264:45: error: ‘SWIGTYPE_p_faiss__IndexShardsTemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexShardsTemplateT_faiss__Index_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:84269:45: error: ‘SWIGTYPE_p_faiss__IndexReplicasTemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexReplicasTemplateT_faiss__Index_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_read_index__SWIG_1(PyObject*, PyObject*)’: swigfaiss.cpp:84437:45: error: ‘SWIGTYPE_p_faiss__IndexIDMapTemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexIDMapTemplateT_faiss__Index_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:84442:45: error: ‘SWIGTYPE_p_faiss__IndexIDMap2TemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexIDMap2TemplateT_faiss__Index_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:84447:45: error: ‘SWIGTYPE_p_faiss__IndexShardsTemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexShardsTemplateT_faiss__Index_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:84452:45: error: ‘SWIGTYPE_p_faiss__IndexReplicasTemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexReplicasTemplateT_faiss__Index_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_read_index__SWIG_2(PyObject*, PyObject*)’: swigfaiss.cpp:84628:45: error: ‘SWIGTYPE_p_faiss__IndexIDMapTemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexIDMapTemplateT_faiss__Index_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:84633:45: error: ‘SWIGTYPE_p_faiss__IndexIDMap2TemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexIDMap2TemplateT_faiss__Index_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:84638:45: error: ‘SWIGTYPE_p_faiss__IndexShardsTemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexShardsTemplateT_faiss__Index_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:84643:45: error: ‘SWIGTYPE_p_faiss__IndexReplicasTemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexReplicasTemplateT_faiss__Index_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_read_index__SWIG_3(PyObject*, PyObject*)’: swigfaiss.cpp:84808:45: error: ‘SWIGTYPE_p_faiss__IndexIDMapTemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexIDMapTemplateT_faiss__Index_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:84813:45: error: ‘SWIGTYPE_p_faiss__IndexIDMap2TemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexIDMap2TemplateT_faiss__Index_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:84818:45: error: ‘SWIGTYPE_p_faiss__IndexShardsTemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexShardsTemplateT_faiss__Index_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:84823:45: error: ‘SWIGTYPE_p_faiss__IndexReplicasTemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexReplicasTemplateT_faiss__Index_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_read_index__SWIG_4(PyObject*, PyObject*)’: swigfaiss.cpp:84997:45: error: ‘SWIGTYPE_p_faiss__IndexIDMapTemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexIDMapTemplateT_faiss__Index_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:85002:45: error: ‘SWIGTYPE_p_faiss__IndexIDMap2TemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexIDMap2TemplateT_faiss__Index_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:85007:45: error: ‘SWIGTYPE_p_faiss__IndexShardsTemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexShardsTemplateT_faiss__Index_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:85012:45: error: ‘SWIGTYPE_p_faiss__IndexReplicasTemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexReplicasTemplateT_faiss__Index_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_read_index__SWIG_5(PyObject*, PyObject*)’: swigfaiss.cpp:85177:45: error: ‘SWIGTYPE_p_faiss__IndexIDMapTemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexIDMapTemplateT_faiss__Index_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:85182:45: error: ‘SWIGTYPE_p_faiss__IndexIDMap2TemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexIDMap2TemplateT_faiss__Index_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:85187:45: error: ‘SWIGTYPE_p_faiss__IndexShardsTemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexShardsTemplateT_faiss__Index_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:85192:45: error: ‘SWIGTYPE_p_faiss__IndexReplicasTemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexReplicasTemplateT_faiss__Index_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_read_index_binary__SWIG_0(PyObject*, PyObject*)’: swigfaiss.cpp:85463:45: error: ‘SWIGTYPE_p_faiss__IndexReplicasTemplateT_faiss__IndexBinary_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexReplicasTemplateT_faiss__IndexBinary_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:85468:45: error: ‘SWIGTYPE_p_faiss__IndexIDMapTemplateT_faiss__IndexBinary_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexIDMapTemplateT_faiss__IndexBinary_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:85473:45: error: ‘SWIGTYPE_p_faiss__IndexIDMap2TemplateT_faiss__IndexBinary_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexIDMap2TemplateT_faiss__IndexBinary_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_read_index_binary__SWIG_1(PyObject*, PyObject*)’: swigfaiss.cpp:85563:45: error: ‘SWIGTYPE_p_faiss__IndexReplicasTemplateT_faiss__IndexBinary_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexReplicasTemplateT_faiss__IndexBinary_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:85568:45: error: ‘SWIGTYPE_p_faiss__IndexIDMapTemplateT_faiss__IndexBinary_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexIDMapTemplateT_faiss__IndexBinary_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:85573:45: error: ‘SWIGTYPE_p_faiss__IndexIDMap2TemplateT_faiss__IndexBinary_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexIDMap2TemplateT_faiss__IndexBinary_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_read_index_binary__SWIG_2(PyObject*, PyObject*)’: swigfaiss.cpp:85671:45: error: ‘SWIGTYPE_p_faiss__IndexReplicasTemplateT_faiss__IndexBinary_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexReplicasTemplateT_faiss__IndexBinary_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:85676:45: error: ‘SWIGTYPE_p_faiss__IndexIDMapTemplateT_faiss__IndexBinary_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexIDMapTemplateT_faiss__IndexBinary_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:85681:45: error: ‘SWIGTYPE_p_faiss__IndexIDMap2TemplateT_faiss__IndexBinary_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexIDMap2TemplateT_faiss__IndexBinary_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_read_index_binary__SWIG_3(PyObject*, PyObject*)’: swigfaiss.cpp:85768:45: error: ‘SWIGTYPE_p_faiss__IndexReplicasTemplateT_faiss__IndexBinary_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexReplicasTemplateT_faiss__IndexBinary_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:85773:45: error: ‘SWIGTYPE_p_faiss__IndexIDMapTemplateT_faiss__IndexBinary_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexIDMapTemplateT_faiss__IndexBinary_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:85778:45: error: ‘SWIGTYPE_p_faiss__IndexIDMap2TemplateT_faiss__IndexBinary_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexIDMap2TemplateT_faiss__IndexBinary_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_read_index_binary__SWIG_4(PyObject*, PyObject*)’: swigfaiss.cpp:85874:45: error: ‘SWIGTYPE_p_faiss__IndexReplicasTemplateT_faiss__IndexBinary_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexReplicasTemplateT_faiss__IndexBinary_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:85879:45: error: ‘SWIGTYPE_p_faiss__IndexIDMapTemplateT_faiss__IndexBinary_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexIDMapTemplateT_faiss__IndexBinary_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:85884:45: error: ‘SWIGTYPE_p_faiss__IndexIDMap2TemplateT_faiss__IndexBinary_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexIDMap2TemplateT_faiss__IndexBinary_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_read_index_binary__SWIG_5(PyObject*, PyObject*)’: swigfaiss.cpp:85971:45: error: ‘SWIGTYPE_p_faiss__IndexReplicasTemplateT_faiss__IndexBinary_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexReplicasTemplateT_faiss__IndexBinary_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:85976:45: error: ‘SWIGTYPE_p_faiss__IndexIDMapTemplateT_faiss__IndexBinary_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexIDMapTemplateT_faiss__IndexBinary_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:85981:45: error: ‘SWIGTYPE_p_faiss__IndexIDMap2TemplateT_faiss__IndexBinary_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexIDMap2TemplateT_faiss__IndexBinary_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_clone_index(PyObject*, PyObject*)’: swigfaiss.cpp:86841:45: error: ‘SWIGTYPE_p_faiss__IndexIDMapTemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexIDMapTemplateT_faiss__Index_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:86846:45: error: ‘SWIGTYPE_p_faiss__IndexIDMap2TemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexIDMap2TemplateT_faiss__Index_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:86851:45: error: ‘SWIGTYPE_p_faiss__IndexShardsTemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexShardsTemplateT_faiss__Index_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:86856:45: error: ‘SWIGTYPE_p_faiss__IndexReplicasTemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexReplicasTemplateT_faiss__Index_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_Cloner_clone_Index(PyObject*, PyObject*)’: swigfaiss.cpp:87127:45: error: ‘SWIGTYPE_p_faiss__IndexIDMapTemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexIDMapTemplateT_faiss__Index_t,0); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:87132:45: error: ‘SWIGTYPE_p_faiss__IndexIDMap2TemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexIDMap2TemplateT_faiss__Index_t,0); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:87137:45: error: ‘SWIGTYPE_p_faiss__IndexShardsTemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexShardsTemplateT_faiss__Index_t,0); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:87142:45: error: ‘SWIGTYPE_p_faiss__IndexReplicasTemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexReplicasTemplateT_faiss__Index_t,0); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_index_factory__SWIG_0(PyObject*, PyObject*)’: swigfaiss.cpp:90732:45: error: ‘SWIGTYPE_p_faiss__IndexIDMapTemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexIDMapTemplateT_faiss__Index_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:90737:45: error: ‘SWIGTYPE_p_faiss__IndexIDMap2TemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexIDMap2TemplateT_faiss__Index_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:90742:45: error: ‘SWIGTYPE_p_faiss__IndexShardsTemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexShardsTemplateT_faiss__Index_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:90747:45: error: ‘SWIGTYPE_p_faiss__IndexReplicasTemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexReplicasTemplateT_faiss__Index_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_index_factory__SWIG_1(PyObject*, PyObject*)’: swigfaiss.cpp:90924:45: error: ‘SWIGTYPE_p_faiss__IndexIDMapTemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexIDMapTemplateT_faiss__Index_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:90929:45: error: ‘SWIGTYPE_p_faiss__IndexIDMap2TemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexIDMap2TemplateT_faiss__Index_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:90934:45: error: ‘SWIGTYPE_p_faiss__IndexShardsTemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexShardsTemplateT_faiss__Index_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:90939:45: error: ‘SWIGTYPE_p_faiss__IndexReplicasTemplateT_faiss__Index_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexReplicasTemplateT_faiss__Index_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_index_binary_factory(PyObject*, PyObject*)’: swigfaiss.cpp:91172:45: error: ‘SWIGTYPE_p_faiss__IndexReplicasTemplateT_faiss__IndexBinary_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexReplicasTemplateT_faiss__IndexBinary_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:91177:45: error: ‘SWIGTYPE_p_faiss__IndexIDMapTemplateT_faiss__IndexBinary_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexIDMapTemplateT_faiss__IndexBinary_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp:91182:45: error: ‘SWIGTYPE_p_faiss__IndexIDMap2TemplateT_faiss__IndexBinary_t’ was not declared in this scope resultobj = SWIG_NewPointerObj(result,SWIGTYPE_p_faiss__IndexIDMap2TemplateT_faiss__IndexBinary_t,SWIG_POINTER_OWN); ^ swigfaiss.cpp:1186:94: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_MatrixStats_do_comment__varargs__(PyObject*, PyObject*, PyObject*)’: swigfaiss.cpp:91933:120: warning: unused parameter ‘varargs’ [-Wunused-parameter] SWIGINTERN PyObject *_wrap_MatrixStats_do_comment__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) { ^~~~~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_float_minheap_array_t_ids_set(PyObject*, PyObject*)’: swigfaiss.cpp:92425:27: error: cannot convert ‘faiss::HeapArray >::TI* {aka long int*}’ to ‘faiss::HeapArray >::TI* {aka long long int*}’ in assignment if (arg1) (arg1)->ids = arg2; ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_float_minheap_array_t_addn_with_ids__SWIG_0(PyObject*, PyObject*)’: swigfaiss.cpp:93007:171: error: no matching function for call to ‘faiss::HeapArray >::addn_with_ids(size_t&, const T*, const TI*, int64_t&, size_t&, int64_t&)’ (arg1)->addn_with_ids(arg2,(faiss::HeapArray< faiss::CMin< float,long > >::T const *)arg3,(faiss::HeapArray< faiss::CMin< float,long > >::TI const *)arg4,arg5,arg6,arg7); ^ In file included from ../faiss/impl/ProductQuantizer.h:18:0, from ../faiss/IndexPQ.h:18, from swigfaiss.cpp:3388: ../faiss/utils/Heap.h:384:10: note: candidate: void faiss::HeapArray::addn_with_ids(size_t, const T*, const TI*, int64_t, size_t, int64_t) [with C = faiss::CMin; size_t = unsigned int; faiss::HeapArray::T = float; faiss::HeapArray::TI = long long int; int64_t = long long int] void addn_with_ids ( ^~~~~~~~~~~~~ ../faiss/utils/Heap.h:384:10: note: no known conversion for argument 3 from ‘const TI* {aka const long int*}’ to ‘const TI* {aka const long long int*}’ swigfaiss.cpp: In function ‘PyObject* _wrap_float_minheap_array_t_addn_with_ids__SWIG_1(PyObject*, PyObject*)’: swigfaiss.cpp:93073:166: error: no matching function for call to ‘faiss::HeapArray >::addn_with_ids(size_t&, const T*, const TI*, int64_t&, size_t&)’ (arg1)->addn_with_ids(arg2,(faiss::HeapArray< faiss::CMin< float,long > >::T const *)arg3,(faiss::HeapArray< faiss::CMin< float,long > >::TI const *)arg4,arg5,arg6); ^ In file included from ../faiss/impl/ProductQuantizer.h:18:0, from ../faiss/IndexPQ.h:18, from swigfaiss.cpp:3388: ../faiss/utils/Heap.h:384:10: note: candidate: void faiss::HeapArray::addn_with_ids(size_t, const T*, const TI*, int64_t, size_t, int64_t) [with C = faiss::CMin; size_t = unsigned int; faiss::HeapArray::T = float; faiss::HeapArray::TI = long long int; int64_t = long long int] void addn_with_ids ( ^~~~~~~~~~~~~ ../faiss/utils/Heap.h:384:10: note: no known conversion for argument 3 from ‘const TI* {aka const long int*}’ to ‘const TI* {aka const long long int*}’ swigfaiss.cpp: In function ‘PyObject* _wrap_float_minheap_array_t_addn_with_ids__SWIG_2(PyObject*, PyObject*)’: swigfaiss.cpp:93130:161: error: no matching function for call to ‘faiss::HeapArray >::addn_with_ids(size_t&, const T*, const TI*, int64_t&)’ (arg1)->addn_with_ids(arg2,(faiss::HeapArray< faiss::CMin< float,long > >::T const *)arg3,(faiss::HeapArray< faiss::CMin< float,long > >::TI const *)arg4,arg5); ^ In file included from ../faiss/impl/ProductQuantizer.h:18:0, from ../faiss/IndexPQ.h:18, from swigfaiss.cpp:3388: ../faiss/utils/Heap.h:384:10: note: candidate: void faiss::HeapArray::addn_with_ids(size_t, const T*, const TI*, int64_t, size_t, int64_t) [with C = faiss::CMin; size_t = unsigned int; faiss::HeapArray::T = float; faiss::HeapArray::TI = long long int; int64_t = long long int] void addn_with_ids ( ^~~~~~~~~~~~~ ../faiss/utils/Heap.h:384:10: note: no known conversion for argument 3 from ‘const TI* {aka const long int*}’ to ‘const TI* {aka const long long int*}’ swigfaiss.cpp: In function ‘PyObject* _wrap_float_minheap_array_t_addn_with_ids__SWIG_3(PyObject*, PyObject*)’: swigfaiss.cpp:93178:156: error: no matching function for call to ‘faiss::HeapArray >::addn_with_ids(size_t&, const T*, const TI*)’ (arg1)->addn_with_ids(arg2,(faiss::HeapArray< faiss::CMin< float,long > >::T const *)arg3,(faiss::HeapArray< faiss::CMin< float,long > >::TI const *)arg4); ^ In file included from ../faiss/impl/ProductQuantizer.h:18:0, from ../faiss/IndexPQ.h:18, from swigfaiss.cpp:3388: ../faiss/utils/Heap.h:384:10: note: candidate: void faiss::HeapArray::addn_with_ids(size_t, const T*, const TI*, int64_t, size_t, int64_t) [with C = faiss::CMin; size_t = unsigned int; faiss::HeapArray::T = float; faiss::HeapArray::TI = long long int; int64_t = long long int] void addn_with_ids ( ^~~~~~~~~~~~~ ../faiss/utils/Heap.h:384:10: note: no known conversion for argument 3 from ‘const TI* {aka const long int*}’ to ‘const TI* {aka const long long int*}’ swigfaiss.cpp: In function ‘PyObject* _wrap_float_minheap_array_t_per_line_extrema(PyObject*, PyObject*)’: swigfaiss.cpp:93458:95: error: no matching function for call to ‘faiss::HeapArray >::per_line_extrema(faiss::HeapArray >::T*&, faiss::HeapArray >::TI*&) const’ ((faiss::HeapArray< faiss::CMin< float,int64_t > > const *)arg1)->per_line_extrema(arg2,arg3); ^ In file included from ../faiss/impl/ProductQuantizer.h:18:0, from ../faiss/IndexPQ.h:18, from swigfaiss.cpp:3388: ../faiss/utils/Heap.h:396:10: note: candidate: void faiss::HeapArray::per_line_extrema(faiss::HeapArray::T*, faiss::HeapArray::TI*) const [with C = faiss::CMin; faiss::HeapArray::T = float; faiss::HeapArray::TI = long long int] void per_line_extrema (T *vals_out, TI *idx_out) const; ^~~~~~~~~~~~~~~~ ../faiss/utils/Heap.h:396:10: note: no known conversion for argument 2 from ‘faiss::HeapArray >::TI* {aka long int*}’ to ‘faiss::HeapArray >::TI* {aka long long int*}’ swigfaiss.cpp: In function ‘PyObject* _wrap_int_minheap_array_t_ids_set(PyObject*, PyObject*)’: swigfaiss.cpp:93633:27: error: cannot convert ‘faiss::HeapArray >::TI* {aka long int*}’ to ‘faiss::HeapArray >::TI* {aka long long int*}’ in assignment if (arg1) (arg1)->ids = arg2; ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_int_minheap_array_t_addn_with_ids__SWIG_0(PyObject*, PyObject*)’: swigfaiss.cpp:94215:167: error: no matching function for call to ‘faiss::HeapArray >::addn_with_ids(size_t&, const T*, const TI*, int64_t&, size_t&, int64_t&)’ (arg1)->addn_with_ids(arg2,(faiss::HeapArray< faiss::CMin< int,long > >::T const *)arg3,(faiss::HeapArray< faiss::CMin< int,long > >::TI const *)arg4,arg5,arg6,arg7); ^ In file included from ../faiss/impl/ProductQuantizer.h:18:0, from ../faiss/IndexPQ.h:18, from swigfaiss.cpp:3388: ../faiss/utils/Heap.h:384:10: note: candidate: void faiss::HeapArray::addn_with_ids(size_t, const T*, const TI*, int64_t, size_t, int64_t) [with C = faiss::CMin; size_t = unsigned int; faiss::HeapArray::T = int; faiss::HeapArray::TI = long long int; int64_t = long long int] void addn_with_ids ( ^~~~~~~~~~~~~ ../faiss/utils/Heap.h:384:10: note: no known conversion for argument 3 from ‘const TI* {aka const long int*}’ to ‘const TI* {aka const long long int*}’ swigfaiss.cpp: In function ‘PyObject* _wrap_int_minheap_array_t_addn_with_ids__SWIG_1(PyObject*, PyObject*)’: swigfaiss.cpp:94281:162: error: no matching function for call to ‘faiss::HeapArray >::addn_with_ids(size_t&, const T*, const TI*, int64_t&, size_t&)’ (arg1)->addn_with_ids(arg2,(faiss::HeapArray< faiss::CMin< int,long > >::T const *)arg3,(faiss::HeapArray< faiss::CMin< int,long > >::TI const *)arg4,arg5,arg6); ^ In file included from ../faiss/impl/ProductQuantizer.h:18:0, from ../faiss/IndexPQ.h:18, from swigfaiss.cpp:3388: ../faiss/utils/Heap.h:384:10: note: candidate: void faiss::HeapArray::addn_with_ids(size_t, const T*, const TI*, int64_t, size_t, int64_t) [with C = faiss::CMin; size_t = unsigned int; faiss::HeapArray::T = int; faiss::HeapArray::TI = long long int; int64_t = long long int] void addn_with_ids ( ^~~~~~~~~~~~~ ../faiss/utils/Heap.h:384:10: note: no known conversion for argument 3 from ‘const TI* {aka const long int*}’ to ‘const TI* {aka const long long int*}’ swigfaiss.cpp: In function ‘PyObject* _wrap_int_minheap_array_t_addn_with_ids__SWIG_2(PyObject*, PyObject*)’: swigfaiss.cpp:94338:157: error: no matching function for call to ‘faiss::HeapArray >::addn_with_ids(size_t&, const T*, const TI*, int64_t&)’ (arg1)->addn_with_ids(arg2,(faiss::HeapArray< faiss::CMin< int,long > >::T const *)arg3,(faiss::HeapArray< faiss::CMin< int,long > >::TI const *)arg4,arg5); ^ In file included from ../faiss/impl/ProductQuantizer.h:18:0, from ../faiss/IndexPQ.h:18, from swigfaiss.cpp:3388: ../faiss/utils/Heap.h:384:10: note: candidate: void faiss::HeapArray::addn_with_ids(size_t, const T*, const TI*, int64_t, size_t, int64_t) [with C = faiss::CMin; size_t = unsigned int; faiss::HeapArray::T = int; faiss::HeapArray::TI = long long int; int64_t = long long int] void addn_with_ids ( ^~~~~~~~~~~~~ ../faiss/utils/Heap.h:384:10: note: no known conversion for argument 3 from ‘const TI* {aka const long int*}’ to ‘const TI* {aka const long long int*}’ swigfaiss.cpp: In function ‘PyObject* _wrap_int_minheap_array_t_addn_with_ids__SWIG_3(PyObject*, PyObject*)’: swigfaiss.cpp:94386:152: error: no matching function for call to ‘faiss::HeapArray >::addn_with_ids(size_t&, const T*, const TI*)’ (arg1)->addn_with_ids(arg2,(faiss::HeapArray< faiss::CMin< int,long > >::T const *)arg3,(faiss::HeapArray< faiss::CMin< int,long > >::TI const *)arg4); ^ In file included from ../faiss/impl/ProductQuantizer.h:18:0, from ../faiss/IndexPQ.h:18, from swigfaiss.cpp:3388: ../faiss/utils/Heap.h:384:10: note: candidate: void faiss::HeapArray::addn_with_ids(size_t, const T*, const TI*, int64_t, size_t, int64_t) [with C = faiss::CMin; size_t = unsigned int; faiss::HeapArray::T = int; faiss::HeapArray::TI = long long int; int64_t = long long int] void addn_with_ids ( ^~~~~~~~~~~~~ ../faiss/utils/Heap.h:384:10: note: no known conversion for argument 3 from ‘const TI* {aka const long int*}’ to ‘const TI* {aka const long long int*}’ swigfaiss.cpp: In function ‘PyObject* _wrap_int_minheap_array_t_per_line_extrema(PyObject*, PyObject*)’: swigfaiss.cpp:94666:93: error: no matching function for call to ‘faiss::HeapArray >::per_line_extrema(faiss::HeapArray >::T*&, faiss::HeapArray >::TI*&) const’ ((faiss::HeapArray< faiss::CMin< int,int64_t > > const *)arg1)->per_line_extrema(arg2,arg3); ^ In file included from ../faiss/impl/ProductQuantizer.h:18:0, from ../faiss/IndexPQ.h:18, from swigfaiss.cpp:3388: ../faiss/utils/Heap.h:396:10: note: candidate: void faiss::HeapArray::per_line_extrema(faiss::HeapArray::T*, faiss::HeapArray::TI*) const [with C = faiss::CMin; faiss::HeapArray::T = int; faiss::HeapArray::TI = long long int] void per_line_extrema (T *vals_out, TI *idx_out) const; ^~~~~~~~~~~~~~~~ ../faiss/utils/Heap.h:396:10: note: no known conversion for argument 2 from ‘faiss::HeapArray >::TI* {aka long int*}’ to ‘faiss::HeapArray >::TI* {aka long long int*}’ swigfaiss.cpp: In function ‘PyObject* _wrap_float_maxheap_array_t_ids_set(PyObject*, PyObject*)’: swigfaiss.cpp:94841:27: error: cannot convert ‘faiss::HeapArray >::TI* {aka long int*}’ to ‘faiss::HeapArray >::TI* {aka long long int*}’ in assignment if (arg1) (arg1)->ids = arg2; ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_float_maxheap_array_t_addn_with_ids__SWIG_0(PyObject*, PyObject*)’: swigfaiss.cpp:95423:171: error: no matching function for call to ‘faiss::HeapArray >::addn_with_ids(size_t&, const T*, const TI*, int64_t&, size_t&, int64_t&)’ (arg1)->addn_with_ids(arg2,(faiss::HeapArray< faiss::CMax< float,long > >::T const *)arg3,(faiss::HeapArray< faiss::CMax< float,long > >::TI const *)arg4,arg5,arg6,arg7); ^ In file included from ../faiss/impl/ProductQuantizer.h:18:0, from ../faiss/IndexPQ.h:18, from swigfaiss.cpp:3388: ../faiss/utils/Heap.h:384:10: note: candidate: void faiss::HeapArray::addn_with_ids(size_t, const T*, const TI*, int64_t, size_t, int64_t) [with C = faiss::CMax; size_t = unsigned int; faiss::HeapArray::T = float; faiss::HeapArray::TI = long long int; int64_t = long long int] void addn_with_ids ( ^~~~~~~~~~~~~ ../faiss/utils/Heap.h:384:10: note: no known conversion for argument 3 from ‘const TI* {aka const long int*}’ to ‘const TI* {aka const long long int*}’ swigfaiss.cpp: In function ‘PyObject* _wrap_float_maxheap_array_t_addn_with_ids__SWIG_1(PyObject*, PyObject*)’: swigfaiss.cpp:95489:166: error: no matching function for call to ‘faiss::HeapArray >::addn_with_ids(size_t&, const T*, const TI*, int64_t&, size_t&)’ (arg1)->addn_with_ids(arg2,(faiss::HeapArray< faiss::CMax< float,long > >::T const *)arg3,(faiss::HeapArray< faiss::CMax< float,long > >::TI const *)arg4,arg5,arg6); ^ In file included from ../faiss/impl/ProductQuantizer.h:18:0, from ../faiss/IndexPQ.h:18, from swigfaiss.cpp:3388: ../faiss/utils/Heap.h:384:10: note: candidate: void faiss::HeapArray::addn_with_ids(size_t, const T*, const TI*, int64_t, size_t, int64_t) [with C = faiss::CMax; size_t = unsigned int; faiss::HeapArray::T = float; faiss::HeapArray::TI = long long int; int64_t = long long int] void addn_with_ids ( ^~~~~~~~~~~~~ ../faiss/utils/Heap.h:384:10: note: no known conversion for argument 3 from ‘const TI* {aka const long int*}’ to ‘const TI* {aka const long long int*}’ swigfaiss.cpp: In function ‘PyObject* _wrap_float_maxheap_array_t_addn_with_ids__SWIG_2(PyObject*, PyObject*)’: swigfaiss.cpp:95546:161: error: no matching function for call to ‘faiss::HeapArray >::addn_with_ids(size_t&, const T*, const TI*, int64_t&)’ (arg1)->addn_with_ids(arg2,(faiss::HeapArray< faiss::CMax< float,long > >::T const *)arg3,(faiss::HeapArray< faiss::CMax< float,long > >::TI const *)arg4,arg5); ^ In file included from ../faiss/impl/ProductQuantizer.h:18:0, from ../faiss/IndexPQ.h:18, from swigfaiss.cpp:3388: ../faiss/utils/Heap.h:384:10: note: candidate: void faiss::HeapArray::addn_with_ids(size_t, const T*, const TI*, int64_t, size_t, int64_t) [with C = faiss::CMax; size_t = unsigned int; faiss::HeapArray::T = float; faiss::HeapArray::TI = long long int; int64_t = long long int] void addn_with_ids ( ^~~~~~~~~~~~~ ../faiss/utils/Heap.h:384:10: note: no known conversion for argument 3 from ‘const TI* {aka const long int*}’ to ‘const TI* {aka const long long int*}’ swigfaiss.cpp: In function ‘PyObject* _wrap_float_maxheap_array_t_addn_with_ids__SWIG_3(PyObject*, PyObject*)’: swigfaiss.cpp:95594:156: error: no matching function for call to ‘faiss::HeapArray >::addn_with_ids(size_t&, const T*, const TI*)’ (arg1)->addn_with_ids(arg2,(faiss::HeapArray< faiss::CMax< float,long > >::T const *)arg3,(faiss::HeapArray< faiss::CMax< float,long > >::TI const *)arg4); ^ In file included from ../faiss/impl/ProductQuantizer.h:18:0, from ../faiss/IndexPQ.h:18, from swigfaiss.cpp:3388: ../faiss/utils/Heap.h:384:10: note: candidate: void faiss::HeapArray::addn_with_ids(size_t, const T*, const TI*, int64_t, size_t, int64_t) [with C = faiss::CMax; size_t = unsigned int; faiss::HeapArray::T = float; faiss::HeapArray::TI = long long int; int64_t = long long int] void addn_with_ids ( ^~~~~~~~~~~~~ ../faiss/utils/Heap.h:384:10: note: no known conversion for argument 3 from ‘const TI* {aka const long int*}’ to ‘const TI* {aka const long long int*}’ swigfaiss.cpp: In function ‘PyObject* _wrap_float_maxheap_array_t_per_line_extrema(PyObject*, PyObject*)’: swigfaiss.cpp:95874:95: error: no matching function for call to ‘faiss::HeapArray >::per_line_extrema(faiss::HeapArray >::T*&, faiss::HeapArray >::TI*&) const’ ((faiss::HeapArray< faiss::CMax< float,int64_t > > const *)arg1)->per_line_extrema(arg2,arg3); ^ In file included from ../faiss/impl/ProductQuantizer.h:18:0, from ../faiss/IndexPQ.h:18, from swigfaiss.cpp:3388: ../faiss/utils/Heap.h:396:10: note: candidate: void faiss::HeapArray::per_line_extrema(faiss::HeapArray::T*, faiss::HeapArray::TI*) const [with C = faiss::CMax; faiss::HeapArray::T = float; faiss::HeapArray::TI = long long int] void per_line_extrema (T *vals_out, TI *idx_out) const; ^~~~~~~~~~~~~~~~ ../faiss/utils/Heap.h:396:10: note: no known conversion for argument 2 from ‘faiss::HeapArray >::TI* {aka long int*}’ to ‘faiss::HeapArray >::TI* {aka long long int*}’ swigfaiss.cpp: In function ‘PyObject* _wrap_int_maxheap_array_t_ids_set(PyObject*, PyObject*)’: swigfaiss.cpp:96049:27: error: cannot convert ‘faiss::HeapArray >::TI* {aka long int*}’ to ‘faiss::HeapArray >::TI* {aka long long int*}’ in assignment if (arg1) (arg1)->ids = arg2; ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_int_maxheap_array_t_addn_with_ids__SWIG_0(PyObject*, PyObject*)’: swigfaiss.cpp:96631:167: error: no matching function for call to ‘faiss::HeapArray >::addn_with_ids(size_t&, const T*, const TI*, int64_t&, size_t&, int64_t&)’ (arg1)->addn_with_ids(arg2,(faiss::HeapArray< faiss::CMax< int,long > >::T const *)arg3,(faiss::HeapArray< faiss::CMax< int,long > >::TI const *)arg4,arg5,arg6,arg7); ^ In file included from ../faiss/impl/ProductQuantizer.h:18:0, from ../faiss/IndexPQ.h:18, from swigfaiss.cpp:3388: ../faiss/utils/Heap.h:384:10: note: candidate: void faiss::HeapArray::addn_with_ids(size_t, const T*, const TI*, int64_t, size_t, int64_t) [with C = faiss::CMax; size_t = unsigned int; faiss::HeapArray::T = int; faiss::HeapArray::TI = long long int; int64_t = long long int] void addn_with_ids ( ^~~~~~~~~~~~~ ../faiss/utils/Heap.h:384:10: note: no known conversion for argument 3 from ‘const TI* {aka const long int*}’ to ‘const TI* {aka const long long int*}’ swigfaiss.cpp: In function ‘PyObject* _wrap_int_maxheap_array_t_addn_with_ids__SWIG_1(PyObject*, PyObject*)’: swigfaiss.cpp:96697:162: error: no matching function for call to ‘faiss::HeapArray >::addn_with_ids(size_t&, const T*, const TI*, int64_t&, size_t&)’ (arg1)->addn_with_ids(arg2,(faiss::HeapArray< faiss::CMax< int,long > >::T const *)arg3,(faiss::HeapArray< faiss::CMax< int,long > >::TI const *)arg4,arg5,arg6); ^ In file included from ../faiss/impl/ProductQuantizer.h:18:0, from ../faiss/IndexPQ.h:18, from swigfaiss.cpp:3388: ../faiss/utils/Heap.h:384:10: note: candidate: void faiss::HeapArray::addn_with_ids(size_t, const T*, const TI*, int64_t, size_t, int64_t) [with C = faiss::CMax; size_t = unsigned int; faiss::HeapArray::T = int; faiss::HeapArray::TI = long long int; int64_t = long long int] void addn_with_ids ( ^~~~~~~~~~~~~ ../faiss/utils/Heap.h:384:10: note: no known conversion for argument 3 from ‘const TI* {aka const long int*}’ to ‘const TI* {aka const long long int*}’ swigfaiss.cpp: In function ‘PyObject* _wrap_int_maxheap_array_t_addn_with_ids__SWIG_2(PyObject*, PyObject*)’: swigfaiss.cpp:96754:157: error: no matching function for call to ‘faiss::HeapArray >::addn_with_ids(size_t&, const T*, const TI*, int64_t&)’ (arg1)->addn_with_ids(arg2,(faiss::HeapArray< faiss::CMax< int,long > >::T const *)arg3,(faiss::HeapArray< faiss::CMax< int,long > >::TI const *)arg4,arg5); ^ In file included from ../faiss/impl/ProductQuantizer.h:18:0, from ../faiss/IndexPQ.h:18, from swigfaiss.cpp:3388: ../faiss/utils/Heap.h:384:10: note: candidate: void faiss::HeapArray::addn_with_ids(size_t, const T*, const TI*, int64_t, size_t, int64_t) [with C = faiss::CMax; size_t = unsigned int; faiss::HeapArray::T = int; faiss::HeapArray::TI = long long int; int64_t = long long int] void addn_with_ids ( ^~~~~~~~~~~~~ ../faiss/utils/Heap.h:384:10: note: no known conversion for argument 3 from ‘const TI* {aka const long int*}’ to ‘const TI* {aka const long long int*}’ swigfaiss.cpp: In function ‘PyObject* _wrap_int_maxheap_array_t_addn_with_ids__SWIG_3(PyObject*, PyObject*)’: swigfaiss.cpp:96802:152: error: no matching function for call to ‘faiss::HeapArray >::addn_with_ids(size_t&, const T*, const TI*)’ (arg1)->addn_with_ids(arg2,(faiss::HeapArray< faiss::CMax< int,long > >::T const *)arg3,(faiss::HeapArray< faiss::CMax< int,long > >::TI const *)arg4); ^ In file included from ../faiss/impl/ProductQuantizer.h:18:0, from ../faiss/IndexPQ.h:18, from swigfaiss.cpp:3388: ../faiss/utils/Heap.h:384:10: note: candidate: void faiss::HeapArray::addn_with_ids(size_t, const T*, const TI*, int64_t, size_t, int64_t) [with C = faiss::CMax; size_t = unsigned int; faiss::HeapArray::T = int; faiss::HeapArray::TI = long long int; int64_t = long long int] void addn_with_ids ( ^~~~~~~~~~~~~ ../faiss/utils/Heap.h:384:10: note: no known conversion for argument 3 from ‘const TI* {aka const long int*}’ to ‘const TI* {aka const long long int*}’ swigfaiss.cpp: In function ‘PyObject* _wrap_int_maxheap_array_t_per_line_extrema(PyObject*, PyObject*)’: swigfaiss.cpp:97082:93: error: no matching function for call to ‘faiss::HeapArray >::per_line_extrema(faiss::HeapArray >::T*&, faiss::HeapArray >::TI*&) const’ ((faiss::HeapArray< faiss::CMax< int,int64_t > > const *)arg1)->per_line_extrema(arg2,arg3); ^ In file included from ../faiss/impl/ProductQuantizer.h:18:0, from ../faiss/IndexPQ.h:18, from swigfaiss.cpp:3388: ../faiss/utils/Heap.h:396:10: note: candidate: void faiss::HeapArray::per_line_extrema(faiss::HeapArray::T*, faiss::HeapArray::TI*) const [with C = faiss::CMax; faiss::HeapArray::T = int; faiss::HeapArray::TI = long long int] void per_line_extrema (T *vals_out, TI *idx_out) const; ^~~~~~~~~~~~~~~~ ../faiss/utils/Heap.h:396:10: note: no known conversion for argument 2 from ‘faiss::HeapArray >::TI* {aka long int*}’ to ‘faiss::HeapArray >::TI* {aka long long int*}’ swigfaiss.cpp: In function ‘PyObject* _wrap_RangeQueryResult_qno_set(PyObject*, PyObject*)’: swigfaiss.cpp:98510:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:98510:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:98532:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:98532:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:98532:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:98532:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:98532:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:98532:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:98533:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:98534:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:98537:27: error: ‘arg2’ was not declared in this scope if (arg1) (arg1)->qno = arg2; ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_RangeQueryResult_qno_get(PyObject*, PyObject*)’: swigfaiss.cpp:98551:3: error: ‘idx_t’ was not declared in this scope idx_t result; ^~~~~ swigfaiss.cpp:98551:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:98559:3: error: ‘result’ was not declared in this scope result = ((arg1)->qno); ^~~~~~ swigfaiss.cpp:98560:39: error: expected type-specifier before ‘idx_t’ resultobj = SWIG_NewPointerObj((new idx_t(static_cast< const idx_t& >(result))), SWIGTYPE_p_idx_t, SWIG_POINTER_OWN | 0 ); ^ swigfaiss.cpp:1186:89: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~ swigfaiss.cpp:98560:39: error: expected ‘)’ before ‘idx_t’ resultobj = SWIG_NewPointerObj((new idx_t(static_cast< const idx_t& >(result))), SWIGTYPE_p_idx_t, SWIG_POINTER_OWN | 0 ); ^ swigfaiss.cpp:1186:89: note: in definition of macro ‘SWIG_NewPointerObj’ #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~ swigfaiss.cpp: In function ‘PyObject* _wrap_RangeQueryResult_add(PyObject*, PyObject*)’: swigfaiss.cpp:98675:3: error: ‘idx_t’ was not declared in this scope idx_t arg3 ; ^~~~~ swigfaiss.cpp:98675:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:98705:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^~~~ swigfaiss.cpp:98705:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^~~~~ swigfaiss.cpp:98705:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:98705:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:98705:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:98705:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:98706:7: error: ‘arg3’ was not declared in this scope arg3 = *temp; ^~~~ swigfaiss.cpp:98707:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res3)) delete temp; ^~~~ swigfaiss.cpp:98710:20: error: ‘arg3’ was not declared in this scope (arg1)->add(arg2,arg3); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_DistanceComputer___call__(PyObject*, PyObject*)’: swigfaiss.cpp:99227:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:99227:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:99250:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:99250:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:99250:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:99250:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:99250:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:99250:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:99251:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:99252:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:99255:39: error: ‘arg2’ was not declared in this scope result = (float)(arg1)->operator ()(arg2); ^~~~ swigfaiss.cpp: In function ‘PyObject* _wrap_DistanceComputer_symmetric_dis(PyObject*, PyObject*)’: swigfaiss.cpp:99266:3: error: ‘idx_t’ was not declared in this scope idx_t arg2 ; ^~~~~ swigfaiss.cpp:99266:3: note: suggested alternative: In file included from swigfaiss.cpp:3413:0: ../faiss/IVFlib.h:45:22: note: ‘faiss::ivflib::idx_t’ typedef Index::idx_t idx_t; ^~~~~ swigfaiss.cpp:99267:9: error: expected ‘;’ before ‘arg3’ idx_t arg3 ; ^~~~ swigfaiss.cpp:99293:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~ swigfaiss.cpp:99293:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^~~~~ swigfaiss.cpp:99293:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:99293:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:99293:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:99293:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp2); ^ swigfaiss.cpp:99294:7: error: ‘arg2’ was not declared in this scope arg2 = *temp; ^~~~ swigfaiss.cpp:99295:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res2)) delete temp; ^~~~ swigfaiss.cpp:99306:15: error: ‘temp’ was not declared in this scope idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^~~~ swigfaiss.cpp:99306:40: error: ‘idx_t’ does not name a type idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^~~~~ swigfaiss.cpp:99306:46: error: expected ‘>’ before ‘*’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:99306:46: error: expected ‘(’ before ‘*’ token swigfaiss.cpp:99306:48: error: expected primary-expression before ‘>’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:99306:56: error: expected ‘)’ before ‘;’ token idx_t * temp = reinterpret_cast< idx_t * >(argp3); ^ swigfaiss.cpp:99307:7: error: ‘arg3’ was not declared in this scope arg3 = *temp; ^~~~ swigfaiss.cpp:99308:39: error: type ‘’ argument given to ‘delete’, expected pointer if (SWIG_IsNewObj(res3)) delete temp; ^~~~ swigfaiss.cpp:99311:41: error: ‘arg2’ was not declared in this scope result = (float)(arg1)->symmetric_dis(arg2,arg3); ^~~~ swigfaiss.cpp:99311:46: error: ‘arg3’ was not declared in this scope result = (float)(arg1)->symmetric_dis(arg2,arg3); ^~~~ In file included from ../faiss/impl/ThreadedIndex.h:80:0, from swigfaiss.cpp:3396: ../faiss/impl/ThreadedIndex-inl.h: In instantiation of ‘void faiss::ThreadedIndex::onAfterAddIndex(IndexT*) [with IndexT = faiss::Index]’: ../faiss/impl/ThreadedIndex-inl.h:84:18: required from ‘void faiss::ThreadedIndex::addIndex(IndexT*) [with IndexT = faiss::Index]’ swigfaiss.cpp:79798:28: required from here ../faiss/impl/ThreadedIndex-inl.h:164:48: warning: unused parameter ‘index’ [-Wunused-parameter] ThreadedIndex::onAfterAddIndex(IndexT* index) { ^~~~~ ../faiss/impl/ThreadedIndex-inl.h: In instantiation of ‘void faiss::ThreadedIndex::onAfterRemoveIndex(IndexT*) [with IndexT = faiss::Index]’: ../faiss/impl/ThreadedIndex-inl.h:104:25: required from ‘void faiss::ThreadedIndex::removeIndex(IndexT*) [with IndexT = faiss::Index]’ swigfaiss.cpp:79847:31: required from here ../faiss/impl/ThreadedIndex-inl.h:169:51: warning: unused parameter ‘index’ [-Wunused-parameter] ThreadedIndex::onAfterRemoveIndex(IndexT* index) { ^~~~~ ../faiss/impl/ThreadedIndex-inl.h: In instantiation of ‘void faiss::ThreadedIndex::onAfterAddIndex(IndexT*) [with IndexT = faiss::IndexBinary]’: ../faiss/impl/ThreadedIndex-inl.h:84:18: required from ‘void faiss::ThreadedIndex::addIndex(IndexT*) [with IndexT = faiss::IndexBinary]’ swigfaiss.cpp:80390:28: required from here ../faiss/impl/ThreadedIndex-inl.h:164:48: warning: unused parameter ‘index’ [-Wunused-parameter] ThreadedIndex::onAfterAddIndex(IndexT* index) { ^~~~~ ../faiss/impl/ThreadedIndex-inl.h: In instantiation of ‘void faiss::ThreadedIndex::onAfterRemoveIndex(IndexT*) [with IndexT = faiss::IndexBinary]’: ../faiss/impl/ThreadedIndex-inl.h:104:25: required from ‘void faiss::ThreadedIndex::removeIndex(IndexT*) [with IndexT = faiss::IndexBinary]’ swigfaiss.cpp:80439:31: required from here ../faiss/impl/ThreadedIndex-inl.h:169:51: warning: unused parameter ‘index’ [-Wunused-parameter] ThreadedIndex::onAfterRemoveIndex(IndexT* index) { ^~~~~ Makefile:22: recipe for target 'swigfaiss.o' failed make[1]: *** [swigfaiss.o] Error 1 make[1]: Leaving directory '/home/pi/Downloads/faiss-master/python' Makefile:83: recipe for target 'py' failed make: *** [py] Error 2