[100%] Linking CXX executable BanditPAM
Undefined symbols for architecture x86_64:
"_PyCapsule_GetPointer", referenced from:
_import_array() in main.cpp.o
_import_array() in libBanditPAM_LIB.a(kmedoids_algorithm.cpp.o)
_import_array() in libBanditPAM_LIB.a(banditpam.cpp.o)
_import_array() in libBanditPAM_LIB.a(pam.cpp.o)
"_PyCapsule_Type", referenced from:
_import_array() in main.cpp.o
_import_array() in libBanditPAM_LIB.a(kmedoids_algorithm.cpp.o)
_import_array() in libBanditPAM_LIB.a(banditpam.cpp.o)
_import_array() in libBanditPAM_LIB.a(pam.cpp.o)
"_PyErr_Format", referenced from:
_import_array() in main.cpp.o
_import_array() in libBanditPAM_LIB.a(kmedoids_algorithm.cpp.o)
_import_array() in libBanditPAM_LIB.a(banditpam.cpp.o)
_import_array() in libBanditPAM_LIB.a(pam.cpp.o)
"_PyErr_SetString", referenced from:
_import_array() in main.cpp.o
_import_array() in libBanditPAM_LIB.a(kmedoids_algorithm.cpp.o)
_import_array() in libBanditPAM_LIB.a(banditpam.cpp.o)
_import_array() in libBanditPAM_LIB.a(pam.cpp.o)
"_PyExc_AttributeError", referenced from:
_import_array() in main.cpp.o
_import_array() in libBanditPAM_LIB.a(kmedoids_algorithm.cpp.o)
_import_array() in libBanditPAM_LIB.a(banditpam.cpp.o)
_import_array() in libBanditPAM_LIB.a(pam.cpp.o)
"_PyExc_RuntimeError", referenced from:
_import_array() in main.cpp.o
_import_array() in libBanditPAM_LIB.a(kmedoids_algorithm.cpp.o)
_import_array() in libBanditPAM_LIB.a(banditpam.cpp.o)
_import_array() in libBanditPAM_LIB.a(pam.cpp.o)
"_PyImport_ImportModule", referenced from:
_import_array() in main.cpp.o
_import_array() in libBanditPAM_LIB.a(kmedoids_algorithm.cpp.o)
_import_array() in libBanditPAM_LIB.a(banditpam.cpp.o)
_import_array() in libBanditPAM_LIB.a(pam.cpp.o)
"_PyObject_GetAttrString", referenced from:
_import_array() in main.cpp.o
_import_array() in libBanditPAM_LIB.a(kmedoids_algorithm.cpp.o)
_import_array() in libBanditPAM_LIB.a(banditpam.cpp.o)
_import_array() in libBanditPAM_LIB.a(pam.cpp.o)
"__Py_Dealloc", referenced from:
_import_array() in main.cpp.o
_import_array() in libBanditPAM_LIB.a(kmedoids_algorithm.cpp.o)
_import_array() in libBanditPAM_LIB.a(banditpam.cpp.o)
_import_array() in libBanditPAM_LIB.a(pam.cpp.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [src/BanditPAM] Error 1
make[1]: *** [src/CMakeFiles/BanditPAM.dir/all] Error 2
make: *** [all] Error 2