deepflame-dev
deepflame-dev copied to clipboard
按照给出步骤,在Ubuntu20.04安装出错
(.text._ZN8pybind116detail25error_fetch_and_normalize7restoreEv[_ZN8pybind116detail25error_fetch_and_normalize7restoreEv]+0xa9): undefined reference to PyErr_Restore' /usr/bin/ld.bfd: Make/linux64GccDPInt32Opt/df0DFoam.o: in function
pybind11::detail::translate_exception(std::__exception_ptr::exception_ptr)':
df0DFoam.C:(.text._ZN8pybind116detail19translate_exceptionENSt15__exception_ptr13exception_ptrE[_ZN8pybind116detail19translate_exceptionENSt15__exception_ptr13exception_ptrE]+0x98): undefined reference to PyExc_RuntimeError' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind116detail19translate_exceptionENSt15__exception_ptr13exception_ptrE[_ZN8pybind116detail19translate_exceptionENSt15__exception_ptr13exception_ptrE]+0x103): undefined reference to
PyExc_RuntimeError'
/usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind116detail19translate_exceptionENSt15__exception_ptr13exception_ptrE[_ZN8pybind116detail19translate_exceptionENSt15__exception_ptr13exception_ptrE]+0x16f): undefined reference to PyExc_OverflowError' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind116detail19translate_exceptionENSt15__exception_ptr13exception_ptrE[_ZN8pybind116detail19translate_exceptionENSt15__exception_ptr13exception_ptrE]+0x1c5): undefined reference to
PyExc_ValueError'
/usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind116detail19translate_exceptionENSt15__exception_ptr13exception_ptrE[_ZN8pybind116detail19translate_exceptionENSt15__exception_ptr13exception_ptrE]+0x23a): undefined reference to PyExc_IndexError' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind116detail19translate_exceptionENSt15__exception_ptr13exception_ptrE[_ZN8pybind116detail19translate_exceptionENSt15__exception_ptr13exception_ptrE]+0x290): undefined reference to
PyExc_ValueError'
/usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind116detail19translate_exceptionENSt15__exception_ptr13exception_ptrE[_ZN8pybind116detail19translate_exceptionENSt15__exception_ptr13exception_ptrE]+0x2ef): undefined reference to PyExc_MemoryError' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind116detail19translate_exceptionENSt15__exception_ptr13exception_ptrE[_ZN8pybind116detail19translate_exceptionENSt15__exception_ptr13exception_ptrE]+0x397): undefined reference to
PyExc_ValueError'
/usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind116detail19translate_exceptionENSt15__exception_ptr13exception_ptrE[_ZN8pybind116detail19translate_exceptionENSt15__exception_ptr13exception_ptrE]+0x3ed): undefined reference to PyExc_ValueError' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind116detail19translate_exceptionENSt15__exception_ptr13exception_ptrE[_ZN8pybind116detail19translate_exceptionENSt15__exception_ptr13exception_ptrE]+0x45d): undefined reference to
PyExc_RuntimeError'
/usr/bin/ld.bfd: Make/linux64GccDPInt32Opt/df0DFoam.o: in function pybind11::detail::error_fetch_and_normalize::error_fetch_and_normalize(char const*)': df0DFoam.C:(.text._ZN8pybind116detail25error_fetch_and_normalizeC2EPKc[_ZN8pybind116detail25error_fetch_and_normalizeC5EPKc]+0x64): undefined reference to
PyErr_Fetch'
/usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind116detail25error_fetch_and_normalizeC2EPKc[_ZN8pybind116detail25error_fetch_and_normalizeC5EPKc]+0xbd): undefined reference to PyErr_NormalizeException' /usr/bin/ld.bfd: Make/linux64GccDPInt32Opt/df0DFoam.o: in function
pybind11::detail::error_stringabi:cxx11':
df0DFoam.C:(.text._ZN8pybind116detail12error_stringB5cxx11Ev[_ZN8pybind116detail12error_stringB5cxx11Ev]+0xd1): undefined reference to _Py_Dealloc' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind116detail12error_stringB5cxx11Ev[_ZN8pybind116detail12error_stringB5cxx11Ev]+0xe1): undefined reference to
_Py_Dealloc'
/usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind116detail12error_stringB5cxx11Ev[_ZN8pybind116detail12error_stringB5cxx11Ev]+0xf1): undefined reference to _Py_Dealloc' /usr/bin/ld.bfd: Make/linux64GccDPInt32Opt/df0DFoam.o: in function
pybind11::str::str(char const*)':
df0DFoam.C:(.text._ZN8pybind113strC2EPKc[_ZN8pybind113strC5EPKc]+0x10): undefined reference to PyUnicode_FromString' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind113strC2EPKc[_ZN8pybind113strC5EPKc]+0x24): undefined reference to
PyErr_Occurred'
/usr/bin/ld.bfd: Make/linux64GccDPInt32Opt/df0DFoam.o: in function pybind11::capsule::name() const [clone .isra.0]': df0DFoam.C:(.text._ZNK8pybind117capsule4nameEv.isra.0[_ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom]+0x8): undefined reference to
PyCapsule_GetName'
/usr/bin/ld.bfd: df0DFoam.C:(.text._ZNK8pybind117capsule4nameEv.isra.0[_ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom]+0x21): undefined reference to PyErr_Occurred' /usr/bin/ld.bfd: Make/linux64GccDPInt32Opt/df0DFoam.o: in function
pybind11::detail::dict_getitemstring(_object*, char const*)':
df0DFoam.C:(.text._ZN8pybind116detail18dict_getitemstringEP7_objectPKc[_ZN8pybind116detail18dict_getitemstringEP7_objectPKc]+0x12): undefined reference to PyUnicode_FromString' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind116detail18dict_getitemstringEP7_objectPKc[_ZN8pybind116detail18dict_getitemstringEP7_objectPKc]+0x25): undefined reference to
PyDict_GetItemWithError'
/usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind116detail18dict_getitemstringEP7_objectPKc[_ZN8pybind116detail18dict_getitemstringEP7_objectPKc]+0x4c): undefined reference to _Py_Dealloc' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind116detail18dict_getitemstringEP7_objectPKc[_ZN8pybind116detail18dict_getitemstringEP7_objectPKc]+0x56): undefined reference to
PyErr_Occurred'
/usr/bin/ld.bfd: Make/linux64GccDPInt32Opt/df0DFoam.o: in function pybind11::capsule::capsule(void const*, void (*)(void*))::{lambda(_object*)#1}::_FUN(_object*)': df0DFoam.C:(.text._ZZN8pybind117capsuleC4EPKvPFvPvEENUlP7_objectE_4_FUNES7_[_ZZN8pybind117capsuleC4EPKvPFvPvEENUlP7_objectE_4_FUNES7_]+0x2d): undefined reference to
PyErr_Fetch'
/usr/bin/ld.bfd: df0DFoam.C:(.text.ZZN8pybind117capsuleC4EPKvPFvPvEENUlP7_objectE_4_FUNES7[ZZN8pybind117capsuleC4EPKvPFvPvEENUlP7_objectE_4_FUNES7]+0x35): undefined reference to PyCapsule_GetContext' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZZN8pybind117capsuleC4EPKvPFvPvEENUlP7_objectE_4_FUNES7_[_ZZN8pybind117capsuleC4EPKvPFvPvEENUlP7_objectE_4_FUNES7_]+0x55): undefined reference to
PyErr_Fetch'
/usr/bin/ld.bfd: df0DFoam.C:(.text.ZZN8pybind117capsuleC4EPKvPFvPvEENUlP7_objectE_4_FUNES7[ZZN8pybind117capsuleC4EPKvPFvPvEENUlP7_objectE_4_FUNES7]+0x5d): undefined reference to PyCapsule_GetName' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZZN8pybind117capsuleC4EPKvPFvPvEENUlP7_objectE_4_FUNES7_[_ZZN8pybind117capsuleC4EPKvPFvPvEENUlP7_objectE_4_FUNES7_]+0x7d): undefined reference to
PyErr_Restore'
/usr/bin/ld.bfd: df0DFoam.C:(.text.ZZN8pybind117capsuleC4EPKvPFvPvEENUlP7_objectE_4_FUNES7[ZZN8pybind117capsuleC4EPKvPFvPvEENUlP7_objectE_4_FUNES7]+0x88): undefined reference to PyCapsule_GetPointer' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZZN8pybind117capsuleC4EPKvPFvPvEENUlP7_objectE_4_FUNES7_[_ZZN8pybind117capsuleC4EPKvPFvPvEENUlP7_objectE_4_FUNES7_]+0xae): undefined reference to
PyErr_Restore'
/usr/bin/ld.bfd: df0DFoam.C:(.text.ZZN8pybind117capsuleC4EPKvPFvPvEENUlP7_objectE_4_FUNES7[ZZN8pybind117capsuleC4EPKvPFvPvEENUlP7_objectE_4_FUNES7]+0xd1): undefined reference to PyErr_Occurred' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZZN8pybind117capsuleC4EPKvPFvPvEENUlP7_objectE_4_FUNES7_[_ZZN8pybind117capsuleC4EPKvPFvPvEENUlP7_objectE_4_FUNES7_]+0x111): undefined reference to
PyErr_Occurred'
/usr/bin/ld.bfd: df0DFoam.C:(.text.ZZN8pybind117capsuleC4EPKvPFvPvEENUlP7_objectE_4_FUNES7[ZZN8pybind117capsuleC4EPKvPFvPvEENUlP7_objectE_4_FUNES7]+0x122): undefined reference to PyErr_WriteUnraisable' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZZN8pybind117capsuleC4EPKvPFvPvEENUlP7_objectE_4_FUNES7_[_ZZN8pybind117capsuleC4EPKvPFvPvEENUlP7_objectE_4_FUNES7_]+0x150): undefined reference to
PyErr_Restore'
/usr/bin/ld.bfd: df0DFoam.C:(.text.ZZN8pybind117capsuleC4EPKvPFvPvEENUlP7_objectE_4_FUNES7[ZZN8pybind117capsuleC4EPKvPFvPvEENUlP7_objectE_4_FUNES7]+0x163): undefined reference to PyErr_Restore' /usr/bin/ld.bfd: Make/linux64GccDPInt32Opt/df0DFoam.o: in function
pybind11::detail::npy_api::get()':
df0DFoam.C:(.text._ZN8pybind116detail7npy_api3getEv[_ZN8pybind116detail7npy_api3getEv]+0x68): undefined reference to PyImport_ImportModule' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind116detail7npy_api3getEv[_ZN8pybind116detail7npy_api3getEv]+0xa4): undefined reference to
PyCapsule_GetPointer'
/usr/bin/ld.bfd: Make/linux64GccDPInt32Opt/df0DFoam.o: in function pybind11::str::str<pybind11::detail::accessor_policies::str_attr>(pybind11::detail::accessor<pybind11::detail::accessor_policies::str_attr> const&)': df0DFoam.C:(.text._ZN8pybind113strC2INS_6detail17accessor_policies8str_attrEEERKNS2_8accessorIT_EE[_ZN8pybind113strC5INS_6detail17accessor_policies8str_attrEEERKNS2_8accessorIT_EE]+0x65): undefined reference to
PyObject_Str'
/usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind113strC2INS_6detail17accessor_policies8str_attrEEERKNS2_8accessorIT_EE[_ZN8pybind113strC5INS_6detail17accessor_policies8str_attrEEERKNS2_8accessorIT_EE]+0xb1): undefined reference to _Py_Dealloc' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind113strC2INS_6detail17accessor_policies8str_attrEEERKNS2_8accessorIT_EE[_ZN8pybind113strC5INS_6detail17accessor_policies8str_attrEEERKNS2_8accessorIT_EE]+0xc9): undefined reference to
PyObject_GetAttrString'
/usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind113strC2INS_6detail17accessor_policies8str_attrEEERKNS2_8accessorIT_EE[_ZN8pybind113strC5INS_6detail17accessor_policies8str_attrEEERKNS2_8accessorIT_EE]+0xee): undefined reference to _Py_Dealloc' /usr/bin/ld.bfd: Make/linux64GccDPInt32Opt/df0DFoam.o: in function
pybind11::detail::accessorpybind11::detail::accessor_policies::str_attr::operator pybind11::object() const':
df0DFoam.C:(.text._ZNK8pybind116detail8accessorINS0_17accessor_policies8str_attrEEcvNS_6objectEEv[_ZNK8pybind116detail8accessorINS0_17accessor_policies8str_attrEEcvNS_6objectEEv]+0x59): undefined reference to PyObject_GetAttrString' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZNK8pybind116detail8accessorINS0_17accessor_policies8str_attrEEcvNS_6objectEEv[_ZNK8pybind116detail8accessorINS0_17accessor_policies8str_attrEEcvNS_6objectEEv]+0x76): undefined reference to
_Py_Dealloc'
/usr/bin/ld.bfd: Make/linux64GccDPInt32Opt/df0DFoam.o: in function pybind11::array_t<double, 16>::array_t(pybind11::detail::any_container<long>, pybind11::detail::any_container<long>, double const*, pybind11::handle)': df0DFoam.C:(.text._ZN8pybind117array_tIdLi16EEC2ENS_6detail13any_containerIlEES4_PKdNS_6handleE[_ZN8pybind117array_tIdLi16EEC5ENS_6detail13any_containerIlEES4_PKdNS_6handleE]+0x211): undefined reference to
_Py_Dealloc'
/usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind117array_tIdLi16EEC2ENS_6detail13any_containerIlEES4_PKdNS_6handleE[_ZN8pybind117array_tIdLi16EEC5ENS_6detail13any_containerIlEES4_PKdNS_6handleE]+0x221): undefined reference to _Py_Dealloc' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind117array_tIdLi16EEC2ENS_6detail13any_containerIlEES4_PKdNS_6handleE[_ZN8pybind117array_tIdLi16EEC5ENS_6detail13any_containerIlEES4_PKdNS_6handleE]+0x243): undefined reference to
PyType_IsSubtype'
/usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind117array_tIdLi16EEC2ENS_6detail13any_containerIlEES4_PKdNS_6handleE[_ZN8pybind117array_tIdLi16EEC5ENS_6detail13any_containerIlEES4_PKdNS_6handleE]+0x2bc): undefined reference to PyImport_ImportModule' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind117array_tIdLi16EEC2ENS_6detail13any_containerIlEES4_PKdNS_6handleE[_ZN8pybind117array_tIdLi16EEC5ENS_6detail13any_containerIlEES4_PKdNS_6handleE]+0x2f3): undefined reference to
PyCapsule_GetPointer'
/usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind117array_tIdLi16EEC2ENS_6detail13any_containerIlEES4_PKdNS_6handleE[_ZN8pybind117array_tIdLi16EEC5ENS_6detail13any_containerIlEES4_PKdNS_6handleE]+0x44c): undefined reference to PyImport_ImportModule' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind117array_tIdLi16EEC2ENS_6detail13any_containerIlEES4_PKdNS_6handleE[_ZN8pybind117array_tIdLi16EEC5ENS_6detail13any_containerIlEES4_PKdNS_6handleE]+0x483): undefined reference to
PyCapsule_GetPointer'
/usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind117array_tIdLi16EEC2ENS_6detail13any_containerIlEES4_PKdNS_6handleE[_ZN8pybind117array_tIdLi16EEC5ENS_6detail13any_containerIlEES4_PKdNS_6handleE]+0x5ed): undefined reference to _Py_Dealloc' /usr/bin/ld.bfd: Make/linux64GccDPInt32Opt/df0DFoam.o: in function
pybind11::error_already_set::what() const':
df0DFoam.C:(.text._ZNK8pybind1117error_already_set4whatEv[_ZNK8pybind1117error_already_set4whatEv]+0x3a): undefined reference to PyErr_Fetch' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZNK8pybind1117error_already_set4whatEv[_ZNK8pybind1117error_already_set4whatEv]+0x5c): undefined reference to
PyErr_Restore'
/usr/bin/ld.bfd: Make/linux64GccDPInt32Opt/df0DFoam.o: in function pybind11::detail::all_type_info_populate(_typeobject*, std::vector<pybind11::detail::type_info*, std::allocator<pybind11::detail::type_info*> >&)': df0DFoam.C:(.text._ZN8pybind116detail22all_type_info_populateEP11_typeobjectRSt6vectorIPNS0_9type_infoESaIS5_EE[_ZN8pybind116detail22all_type_info_populateEP11_typeobjectRSt6vectorIPNS0_9type_infoESaIS5_EE]+0x3a1): undefined reference to
_Py_Dealloc'
/usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind116detail22all_type_info_populateEP11_typeobjectRSt6vectorIPNS0_9type_infoESaIS5_EE[_ZN8pybind116detail22all_type_info_populateEP11_typeobjectRSt6vectorIPNS0_9type_infoESaIS5_EE]+0x3bb): undefined reference to _Py_Dealloc' /usr/bin/ld.bfd: Make/linux64GccDPInt32Opt/df0DFoam.o: in function
pybind11::cpp_function::initialize<pybind11::detail::all_type_info_get_cache(_typeobject*)::{lambda(pybind11::handle)#1}, void, pybind11::handle>(pybind11::detail::all_type_info_get_cache(_typeobject*)::{lambda(pybind11::handle)#1}&&, void ()(pybind11::handle))::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call)':
df0DFoam.C:(.text.ZZN8pybind1112cpp_function10initializeIZNS_6detail23all_type_info_get_cacheEP11_typeobjectEUlNS_6handleEE_vJS5_EJEEEvOT_PFT0_DpT1_EDpRKT2_ENUlRNS2_13function_callEE1_4_FUNESJ[ZZN8pybind1112cpp_function10initializeIZNS_6detail23all_type_info_get_cacheEP11_typeobjectEUlNS_6handleEE_vJS5_EJEEEvOT_PFT0_DpT1_EDpRKT2_ENUlRNS2_13function_callEE1_4_FUNESJ]+0x78): undefined reference to _Py_NoneStruct' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZZN8pybind1112cpp_function10initializeIZNS_6detail23all_type_info_get_cacheEP11_typeobjectEUlNS_6handleEE_vJS5_EJEEEvOT_PFT0_DpT1_EDpRKT2_ENUlRNS2_13function_callEE1_4_FUNESJ_[_ZZN8pybind1112cpp_function10initializeIZNS_6detail23all_type_info_get_cacheEP11_typeobjectEUlNS_6handleEE_vJS5_EJEEEvOT_PFT0_DpT1_EDpRKT2_ENUlRNS2_13function_callEE1_4_FUNESJ_]+0xa4): undefined reference to
_Py_Dealloc'
/usr/bin/ld.bfd: Make/linux64GccDPInt32Opt/df0DFoam.o: in function pybind11::cpp_function::initialize_generic(std::unique_ptr<pybind11::detail::function_record, pybind11::cpp_function::InitializingFunctionRecordDeleter>&&, char const*, std::type_info const* const*, unsigned long)': df0DFoam.C:(.text._ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom[_ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom]+0x18f): undefined reference to
PyObject_Repr'
/usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom[_ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom]+0x647): undefined reference to PyInstanceMethod_Type' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom[_ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom]+0x654): undefined reference to
PyCFunction_Type'
/usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom[_ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom]+0x661): undefined reference to _Py_NoneStruct' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom[_ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom]+0x6ca): undefined reference to
PyCapsule_New'
/usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom[_ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom]+0x6e7): undefined reference to PyCapsule_SetContext' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom[_ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom]+0x6fb): undefined reference to
PyCapsule_SetName'
/usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom[_ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom]+0x735): undefined reference to PyObject_HasAttrString' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom[_ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom]+0x74e): undefined reference to
PyObject_HasAttrString'
/usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom[_ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom]+0x76a): undefined reference to PyCFunction_NewEx' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom[_ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom]+0xe14): undefined reference to
PyObject_GetAttrString'
/usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom[_ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom]+0xe3d): undefined reference to _Py_Dealloc' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom[_ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom]+0xed0): undefined reference to
PyCFunction_Type'
/usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom[_ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom]+0xef8): undefined reference to PyCapsule_Type' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom[_ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom]+0xfac): undefined reference to
PyInstanceMethod_New'
/usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom[_ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom]+0xfcb): undefined reference to _Py_Dealloc' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom[_ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom]+0x121f): undefined reference to
PyExc_FutureWarning'
/usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom[_ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom]+0x1231): undefined reference to PyErr_WarnEx' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom[_ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom]+0x138f): undefined reference to
PyCapsule_GetPointer'
/usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom[_ZN8pybind1112cpp_function18initialize_genericEOSt10unique_ptrINS_6detail15function_recordENS0_33InitializingFunctionRecordDeleterEEPKcPKPKSt9type_infom]+0x1443): undefined reference to PyCapsule_SetPointer' /usr/bin/ld.bfd: Make/linux64GccDPInt32Opt/df0DFoam.o: in function
pybind11_meta_dealloc':
df0DFoam.C:(.text.pybind11_meta_dealloc[pybind11_meta_dealloc]+0x8a): undefined reference to PyType_Type' /usr/bin/ld.bfd: Make/linux64GccDPInt32Opt/df0DFoam.o: in function
pybind11::detail::all_type_info(_typeobject)':
df0DFoam.C:(.text._ZN8pybind116detail13all_type_infoEP11_typeobject[_ZN8pybind116detail13all_type_infoEP11_typeobject]+0x1a7): undefined reference to PyWeakref_NewRef' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind116detail13all_type_infoEP11_typeobject[_ZN8pybind116detail13all_type_infoEP11_typeobject]+0x1e1): undefined reference to
_Py_Dealloc'
/usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind116detail13all_type_infoEP11_typeobject[_ZN8pybind116detail13all_type_infoEP11_typeobject]+0x29e): undefined reference to PyErr_Occurred' /usr/bin/ld.bfd: Make/linux64GccDPInt32Opt/df0DFoam.o: in function
pybind11_meta_call':
df0DFoam.C:(.text.pybind11_meta_call[pybind11_meta_call]+0x1f): undefined reference to PyType_Type' /usr/bin/ld.bfd: df0DFoam.C:(.text.pybind11_meta_call[pybind11_meta_call]+0xc4): undefined reference to
PyExc_TypeError'
/usr/bin/ld.bfd: df0DFoam.C:(.text.pybind11_meta_call[pybind11_meta_call]+0xd9): undefined reference to PyErr_Format' /usr/bin/ld.bfd: df0DFoam.C:(.text.pybind11_meta_call[pybind11_meta_call]+0x164): undefined reference to
_Py_Dealloc'
/usr/bin/ld.bfd: Make/linux64GccDPInt32Opt/df0DFoam.o: in function pybind11::detail::traverse_offset_bases(void*, pybind11::detail::type_info const*, pybind11::detail::instance*, bool (*)(void*, pybind11::detail::instance*))': df0DFoam.C:(.text._ZN8pybind116detail21traverse_offset_basesEPvPKNS0_9type_infoEPNS0_8instanceEPFbS1_S6_E[_ZN8pybind116detail21traverse_offset_basesEPvPKNS0_9type_infoEPNS0_8instanceEPFbS1_S6_E]+0x16c): undefined reference to
_Py_Dealloc'
/usr/bin/ld.bfd: Make/linux64GccDPInt32Opt/df0DFoam.o: in function pybind11::detail::instance::allocate_layout()': df0DFoam.C:(.text._ZN8pybind116detail8instance15allocate_layoutEv[_ZN8pybind116detail8instance15allocate_layoutEv]+0x70): undefined reference to
PyMem_Calloc'
/usr/bin/ld.bfd: Make/linux64GccDPInt32Opt/df0DFoam.o: in function pybind11::cpp_function::dispatcher(_object*, _object*, _object*)': df0DFoam.C:(.text._ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_[_ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_]+0x35): undefined reference to
PyCapsule_Type'
/usr/bin/ld.bfd: df0DFoam.C:(.text.ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2[ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2]+0x66): undefined reference to PyCapsule_GetPointer' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_[_ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_]+0x13d): undefined reference to
PyUnicode_FromString'
/usr/bin/ld.bfd: df0DFoam.C:(.text.ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2[ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2]+0x156): undefined reference to PyDict_GetItemWithError' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_[_ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_]+0x4b7): undefined reference to
PyDict_Size'
/usr/bin/ld.bfd: df0DFoam.C:(.text.ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2[ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2]+0x702): undefined reference to PyThread_tss_get' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_[_ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_]+0x77c): undefined reference to
PyThread_tss_set'
/usr/bin/ld.bfd: df0DFoam.C:(.text.ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2[ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2]+0x8df): undefined reference to PyType_IsSubtype' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_[_ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_]+0x96c): undefined reference to
_Py_NoneStruct'
/usr/bin/ld.bfd: df0DFoam.C:(.text.ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2[ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2]+0x981): undefined reference to PyErr_Occurred' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_[_ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_]+0x9bc): undefined reference to
_Py_NoneStruct'
/usr/bin/ld.bfd: df0DFoam.C:(.text.ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2[ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2]+0xa74): undefined reference to _Py_Dealloc' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_[_ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_]+0x11b8): undefined reference to
PyTuple_New'
/usr/bin/ld.bfd: df0DFoam.C:(.text.ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2[ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2]+0x11f2): undefined reference to PyTuple_New' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_[_ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_]+0x1342): undefined reference to
PyDict_Copy'
/usr/bin/ld.bfd: df0DFoam.C:(.text.ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2[ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2]+0x139e): undefined reference to PyDict_DelItemString' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_[_ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_]+0x13c8): undefined reference to
_Py_NoneStruct'
/usr/bin/ld.bfd: df0DFoam.C:(.text.ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2[ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2]+0x14d7): undefined reference to _Py_NoneStruct' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_[_ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_]+0x14f6): undefined reference to
_Py_NoneStruct'
/usr/bin/ld.bfd: df0DFoam.C:(.text.ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2[ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2]+0x1596): undefined reference to PyExc_TypeError' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_[_ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_]+0x15a5): undefined reference to
PyErr_SetString'
/usr/bin/ld.bfd: df0DFoam.C:(.text.ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2[ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2]+0x15ee): undefined reference to PyDict_New' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_[_ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_]+0x167c): undefined reference to
_Py_NotImplementedStruct'
/usr/bin/ld.bfd: df0DFoam.C:(.text.ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2[ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2]+0x1711): undefined reference to _Py_Dealloc' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_[_ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_]+0x1721): undefined reference to
_Py_Dealloc'
/usr/bin/ld.bfd: df0DFoam.C:(.text.ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2[ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2]+0x17f7): undefined reference to PyTuple_New' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_[_ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_]+0x18cf): undefined reference to
PyTuple_SetItem'
/usr/bin/ld.bfd: df0DFoam.C:(.text.ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2[ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2]+0x1cc1): undefined reference to PyTuple_GetItem' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_[_ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_]+0x1d59): undefined reference to
PyObject_Repr'
/usr/bin/ld.bfd: df0DFoam.C:(.text.ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2[ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2]+0x1dda): undefined reference to PyTuple_Size' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_[_ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_]+0x1e19): undefined reference to
PyDict_Size'
/usr/bin/ld.bfd: df0DFoam.C:(.text.ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2[ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2]+0x1ea3): undefined reference to PyDict_Next' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_[_ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_]+0x1f2d): undefined reference to
PyGILState_Check'
/usr/bin/ld.bfd: df0DFoam.C:(.text.ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2[ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2]+0x1f6d): undefined reference to PyObject_CallObject' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_[_ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_]+0x202c): undefined reference to
PyObject_Repr'
/usr/bin/ld.bfd: df0DFoam.C:(.text.ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2[ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2]+0x2096): undefined reference to PyDict_Next' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_[_ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_]+0x20ef): undefined reference to
PyErr_Occurred'
/usr/bin/ld.bfd: df0DFoam.C:(.text.ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2[ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2]+0x20f6): undefined reference to PyExc_TypeError' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_[_ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_]+0x2144): undefined reference to
PyObject_Str'
/usr/bin/ld.bfd: df0DFoam.C:(.text.ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2[ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2]+0x21be): undefined reference to PyThread_tss_get' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_[_ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_]+0x2236): undefined reference to
PyThread_tss_set'
/usr/bin/ld.bfd: df0DFoam.C:(.text.ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2[ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2]+0x22e5): undefined reference to PyErr_Occurred' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_[_ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_]+0x22ec): undefined reference to
PyExc_TypeError'
/usr/bin/ld.bfd: df0DFoam.C:(.text.ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2[ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2]+0x23ee): undefined reference to PyErr_SetString' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_[_ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_]+0x2410): undefined reference to
PyErr_SetString'
/usr/bin/ld.bfd: df0DFoam.C:(.text.ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2[ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2]+0x25fa): undefined reference to PyExc_SystemError' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_[_ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_]+0x2609): undefined reference to
PyErr_SetString'
/usr/bin/ld.bfd: Make/linux64GccDPInt32Opt/df0DFoam.o: in function pybind11::detail::clear_instance(_object*)': df0DFoam.C:(.text._ZN8pybind116detail14clear_instanceEP7_object[_ZN8pybind116detail14clear_instanceEP7_object]+0x523): undefined reference to
_Py_Dealloc'
/usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind116detail14clear_instanceEP7_object[_ZN8pybind116detail14clear_instanceEP7_object]+0x6fc): undefined reference to _Py_Dealloc' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind116detail14clear_instanceEP7_object[_ZN8pybind116detail14clear_instanceEP7_object]+0x71c): undefined reference to
PyObject_ClearWeakRefs'
/usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind116detail14clear_instanceEP7_object[_ZN8pybind116detail14clear_instanceEP7_object]+0x724): undefined reference to _PyObject_GetDictPtr' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind116detail14clear_instanceEP7_object[_ZN8pybind116detail14clear_instanceEP7_object]+0x9bb): undefined reference to
_Py_Dealloc'
/usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind116detail14clear_instanceEP7_object[_ZN8pybind116detail14clear_instanceEP7_object]+0xb2c): undefined reference to _Py_Dealloc' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind116detail14clear_instanceEP7_object[_ZN8pybind116detail14clear_instanceEP7_object]+0xc3f): undefined reference to
_Py_Dealloc'
/usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind116detail14clear_instanceEP7_object[_ZN8pybind116detail14clear_instanceEP7_object]+0xc63): undefined reference to _Py_Dealloc' /usr/bin/ld.bfd: Make/linux64GccDPInt32Opt/df0DFoam.o: in function
pybind11_object_dealloc':
df0DFoam.C:(.text.pybind11_object_dealloc[pybind11_object_dealloc]+0x41): undefined reference to PyObject_GC_UnTrack' /usr/bin/ld.bfd: df0DFoam.C:(.text.pybind11_object_dealloc[pybind11_object_dealloc]+0x5b): undefined reference to
_Py_Dealloc'
/usr/bin/ld.bfd: Make/linux64GccDPInt32Opt/df0DFoam.o: in function pybind11::tuple pybind11::make_tuple<(pybind11::return_value_policy)1, char const*&>(char const*&)': df0DFoam.C:(.text._ZN8pybind1110make_tupleILNS_19return_value_policyE1EJRPKcEEENS_5tupleEDpOT0_[_ZN8pybind1110make_tupleILNS_19return_value_policyE1EJRPKcEEENS_5tupleEDpOT0_]+0x5f): undefined reference to
PyUnicode_DecodeUTF8'
/usr/bin/ld.bfd: df0DFoam.C:(.text.ZN8pybind1110make_tupleILNS_19return_value_policyE1EJRPKcEEENS_5tupleEDpOT0[ZN8pybind1110make_tupleILNS_19return_value_policyE1EJRPKcEEENS_5tupleEDpOT0]+0x87): undefined reference to PyTuple_New' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1110make_tupleILNS_19return_value_policyE1EJRPKcEEENS_5tupleEDpOT0_[_ZN8pybind1110make_tupleILNS_19return_value_policyE1EJRPKcEEENS_5tupleEDpOT0_]+0xeb): undefined reference to
_Py_NoneStruct'
/usr/bin/ld.bfd: Make/linux64GccDPInt32Opt/df0DFoam.o: in function bool pybind11::detail::object_api<pybind11::handle>::contains<char const*&>(char const*&) const': df0DFoam.C:(.text._ZNK8pybind116detail10object_apiINS_6handleEE8containsIRPKcEEbOT_[_ZNK8pybind116detail10object_apiINS_6handleEE8containsIRPKcEEbOT_]+0x3e): undefined reference to
PyGILState_Check'
/usr/bin/ld.bfd: df0DFoam.C:(.text.ZNK8pybind116detail10object_apiINS_6handleEE8containsIRPKcEEbOT[ZNK8pybind116detail10object_apiINS_6handleEE8containsIRPKcEEbOT]+0x6e): undefined reference to PyObject_CallObject' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZNK8pybind116detail10object_apiINS_6handleEE8containsIRPKcEEbOT_[_ZNK8pybind116detail10object_apiINS_6handleEE8containsIRPKcEEbOT_]+0xf1): undefined reference to
_Py_Dealloc'
/usr/bin/ld.bfd: df0DFoam.C:(.text.ZNK8pybind116detail10object_apiINS_6handleEE8containsIRPKcEEbOT[ZNK8pybind116detail10object_apiINS_6handleEE8containsIRPKcEEbOT]+0x101): undefined reference to _Py_Dealloc' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZNK8pybind116detail10object_apiINS_6handleEE8containsIRPKcEEbOT_[_ZNK8pybind116detail10object_apiINS_6handleEE8containsIRPKcEEbOT_]+0x111): undefined reference to
_Py_Dealloc'
/usr/bin/ld.bfd: df0DFoam.C:(.text.ZNK8pybind116detail10object_apiINS_6handleEE8containsIRPKcEEbOT[ZNK8pybind116detail10object_apiINS_6handleEE8containsIRPKcEEbOT]+0x143): undefined reference to PyObject_GetAttrString' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZNK8pybind116detail10object_apiINS_6handleEE8containsIRPKcEEbOT_[_ZNK8pybind116detail10object_apiINS_6handleEE8containsIRPKcEEbOT_]+0x170): undefined reference to
_Py_Dealloc'
/usr/bin/ld.bfd: Make/linux64GccDPInt32Opt/df0DFoam.o: in function pybind11::finalize_interpreter()': df0DFoam.C:(.text._ZN8pybind1120finalize_interpreterEv[_ZN8pybind1120finalize_interpreterEv]+0x29): undefined reference to
PyEval_GetBuiltins'
/usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1120finalize_interpreterEv[_ZN8pybind1120finalize_interpreterEv]+0xd9): undefined reference to Py_Finalize' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1120finalize_interpreterEv[_ZN8pybind1120finalize_interpreterEv]+0xfa): undefined reference to
PyThread_tss_free'
/usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1120finalize_interpreterEv[_ZN8pybind1120finalize_interpreterEv]+0x5b5): undefined reference to PyCapsule_Type' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1120finalize_interpreterEv[_ZN8pybind1120finalize_interpreterEv]+0x5c8): undefined reference to
PyUnicode_FromString'
/usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1120finalize_interpreterEv[_ZN8pybind1120finalize_interpreterEv]+0x5f6): undefined reference to PyObject_GetItem' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1120finalize_interpreterEv[_ZN8pybind1120finalize_interpreterEv]+0x67a): undefined reference to
PyCapsule_GetName'
/usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1120finalize_interpreterEv[_ZN8pybind1120finalize_interpreterEv]+0x693): undefined reference to PyCapsule_GetPointer' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1120finalize_interpreterEv[_ZN8pybind1120finalize_interpreterEv]+0x6dc): undefined reference to
_Py_Dealloc'
/usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1120finalize_interpreterEv[_ZN8pybind1120finalize_interpreterEv]+0x6e9): undefined reference to _Py_Dealloc' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1120finalize_interpreterEv[_ZN8pybind1120finalize_interpreterEv]+0x6f1): undefined reference to
_Py_Dealloc'
/usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1120finalize_interpreterEv[_ZN8pybind1120finalize_interpreterEv]+0x722): undefined reference to PyErr_Occurred' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1120finalize_interpreterEv[_ZN8pybind1120finalize_interpreterEv]+0x76b): undefined reference to
PyObject_GetItem'
/usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind1120finalize_interpreterEv[_ZN8pybind1120finalize_interpreterEv]+0x7ad): undefined reference to PyErr_Occurred' /usr/bin/ld.bfd: Make/linux64GccDPInt32Opt/df0DFoam.o: in function
pybind11::array_t<double, 16> pybind11::cast<pybind11::array_t<double, 16>, 0>(pybind11::handle const&)':
df0DFoam.C:(.text._ZN8pybind114castINS_7array_tIdLi16EEELi0EEET_RKNS_6handleE[_ZN8pybind114castINS_7array_tIdLi16EEELi0EEET_RKNS_6handleE]+0xf9): undefined reference to _Py_Dealloc' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind114castINS_7array_tIdLi16EEELi0EEET_RKNS_6handleE[_ZN8pybind114castINS_7array_tIdLi16EEELi0EEET_RKNS_6handleE]+0x101): undefined reference to
_Py_Dealloc'
/usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind114castINS_7array_tIdLi16EEELi0EEET_RKNS_6handleE[_ZN8pybind114castINS_7array_tIdLi16EEELi0EEET_RKNS_6handleE]+0x12c): undefined reference to PyImport_ImportModule' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind114castINS_7array_tIdLi16EEELi0EEET_RKNS_6handleE[_ZN8pybind114castINS_7array_tIdLi16EEELi0EEET_RKNS_6handleE]+0x168): undefined reference to
PyCapsule_GetPointer'
/usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind114castINS_7array_tIdLi16EEELi0EEET_RKNS_6handleE[_ZN8pybind114castINS_7array_tIdLi16EEELi0EEET_RKNS_6handleE]+0x2c4): undefined reference to PyImport_ImportModule' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind114castINS_7array_tIdLi16EEELi0EEET_RKNS_6handleE[_ZN8pybind114castINS_7array_tIdLi16EEELi0EEET_RKNS_6handleE]+0x300): undefined reference to
PyCapsule_GetPointer'
/usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind114castINS_7array_tIdLi16EEELi0EEET_RKNS_6handleE[_ZN8pybind114castINS_7array_tIdLi16EEELi0EEET_RKNS_6handleE]+0x443): undefined reference to PyExc_ValueError' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN8pybind114castINS_7array_tIdLi16EEELi0EEET_RKNS_6handleE[_ZN8pybind114castINS_7array_tIdLi16EEELi0EEET_RKNS_6handleE]+0x452): undefined reference to
PyErr_SetString'
/usr/bin/ld.bfd: Make/linux64GccDPInt32Opt/df0DFoam.o: in function pybind11::tuple pybind11::make_tuple<(pybind11::return_value_policy)1, pybind11::array_t<double, 16>&, pybind11::array_t<double, 16>&, pybind11::array_t<double, 16>&>(pybind11::array_t<double, 16>&, pybind11::array_t<double, 16>&, pybind11::array_t<double, 16>&)': df0DFoam.C:(.text._ZN8pybind1110make_tupleILNS_19return_value_policyE1EJRNS_7array_tIdLi16EEES4_S4_EEENS_5tupleEDpOT0_[_ZN8pybind1110make_tupleILNS_19return_value_policyE1EJRNS_7array_tIdLi16EEES4_S4_EEENS_5tupleEDpOT0_]+0xd6): undefined reference to
PyTuple_New'
/usr/bin/ld.bfd: Make/linux64GccDPInt32Opt/df0DFoam.o: in function pybind11::object pybind11::detail::object_api<pybind11::detail::accessor<pybind11::detail::accessor_policies::str_attr> >::operator()<(pybind11::return_value_policy)1, pybind11::array_t<double, 16>&, pybind11::array_t<double, 16>&, pybind11::array_t<double, 16>&>(pybind11::array_t<double, 16>&, pybind11::array_t<double, 16>&, pybind11::array_t<double, 16>&) const': df0DFoam.C:(.text._ZNK8pybind116detail10object_apiINS0_8accessorINS0_17accessor_policies8str_attrEEEEclILNS_19return_value_policyE1EJRNS_7array_tIdLi16EEESB_SB_EEENS_6objectEDpOT0_[_ZNK8pybind116detail10object_apiINS0_8accessorINS0_17accessor_policies8str_attrEEEEclILNS_19return_value_policyE1EJRNS_7array_tIdLi16EEESB_SB_EEENS_6objectEDpOT0_]+0x32): undefined reference to
PyGILState_Check'
/usr/bin/ld.bfd: df0DFoam.C:(.text.ZNK8pybind116detail10object_apiINS0_8accessorINS0_17accessor_policies8str_attrEEEEclILNS_19return_value_policyE1EJRNS_7array_tIdLi16EEESB_SB_EEENS_6objectEDpOT0[ZNK8pybind116detail10object_apiINS0_8accessorINS0_17accessor_policies8str_attrEEEEclILNS_19return_value_policyE1EJRNS_7array_tIdLi16EEESB_SB_EEENS_6objectEDpOT0]+0x60): undefined reference to PyObject_CallObject' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZNK8pybind116detail10object_apiINS0_8accessorINS0_17accessor_policies8str_attrEEEEclILNS_19return_value_policyE1EJRNS_7array_tIdLi16EEESB_SB_EEENS_6objectEDpOT0_[_ZNK8pybind116detail10object_apiINS0_8accessorINS0_17accessor_policies8str_attrEEEEclILNS_19return_value_policyE1EJRNS_7array_tIdLi16EEESB_SB_EEENS_6objectEDpOT0_]+0xa9): undefined reference to
_Py_Dealloc'
/usr/bin/ld.bfd: df0DFoam.C:(.text.ZNK8pybind116detail10object_apiINS0_8accessorINS0_17accessor_policies8str_attrEEEEclILNS_19return_value_policyE1EJRNS_7array_tIdLi16EEESB_SB_EEENS_6objectEDpOT0[ZNK8pybind116detail10object_apiINS0_8accessorINS0_17accessor_policies8str_attrEEEEclILNS_19return_value_policyE1EJRNS_7array_tIdLi16EEESB_SB_EEENS_6objectEDpOT0]+0xb9): undefined reference to PyObject_GetAttrString' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZNK8pybind116detail10object_apiINS0_8accessorINS0_17accessor_policies8str_attrEEEEclILNS_19return_value_policyE1EJRNS_7array_tIdLi16EEESB_SB_EEENS_6objectEDpOT0_[_ZNK8pybind116detail10object_apiINS0_8accessorINS0_17accessor_policies8str_attrEEEEclILNS_19return_value_policyE1EJRNS_7array_tIdLi16EEESB_SB_EEENS_6objectEDpOT0_]+0xdc): undefined reference to
_Py_Dealloc'
/usr/bin/ld.bfd: Make/linux64GccDPInt32Opt/df0DFoam.o: in function main': df0DFoam.C:(.text.startup+0xaa): undefined reference to
PyConfig_InitIsolatedConfig'
/usr/bin/ld.bfd: df0DFoam.C:(.text.startup+0xca): undefined reference to Py_IsInitialized' /usr/bin/ld.bfd: df0DFoam.C:(.text.startup+0xf3): undefined reference to
PyConfig_SetBytesArgv'
/usr/bin/ld.bfd: df0DFoam.C:(.text.startup+0x117): undefined reference to PyStatus_Exception' /usr/bin/ld.bfd: df0DFoam.C:(.text.startup+0x136): undefined reference to
Py_InitializeFromConfig'
/usr/bin/ld.bfd: df0DFoam.C:(.text.startup+0x15a): undefined reference to PyStatus_Exception' /usr/bin/ld.bfd: df0DFoam.C:(.text.startup+0x174): undefined reference to
PyRun_SimpleStringFlags'
/usr/bin/ld.bfd: df0DFoam.C:(.text.startup+0x180): undefined reference to PyConfig_Clear' /usr/bin/ld.bfd: df0DFoam.C:(.text.startup+0x4e8a): undefined reference to
PyConfig_Clear'
/usr/bin/ld.bfd: df0DFoam.C:(.text.startup+0x4eb4): undefined reference to PyStatus_IsError' /usr/bin/ld.bfd: df0DFoam.C:(.text.startup+0x4eed): undefined reference to
PyConfig_Clear'
/usr/bin/ld.bfd: df0DFoam.C:(.text.startup+0x4f17): undefined reference to PyStatus_IsError' /usr/bin/ld.bfd: Make/linux64GccDPInt32Opt/df0DFoam.o: in function
double Foam::dfChemistryModelFoam::basicThermo::solve_DNN<Foam::UniformFieldPyImport_ImportModule' /usr/bin/ld.bfd: df0DFoam.C:(.text._ZN4Foam16dfChemistryModelINS_11basicThermoEE9solve_DNNINS_12UniformFieldIdEEEEdRKT_[_ZN4Foam16dfChemistryModelINS_11basicThermoEE9solve_DNNINS_12UniformFieldIdEEEEdRKT_]+0x1d8f): undefined reference to
PyImport_ImportModule'
/usr/bin/ld.bfd: /home/zndl/Program/miniconda3/envs/deepflame/lib/libcantera.so: undefined reference to `std::__throw_bad_array_new_length()@GLIBCXX_3.4.29'
collect2: error: ld returned 1 exit status
make: *** [/opt/openfoam7/wmake/makefiles/general:142: /home/zndl/Program/deepflame-dev/platforms/linux64GccDPInt32Opt/bin/df0DFoam] Error 1
我也是这个错误,请问解决了吗
find . -name "options" -exec sed -i 's/-std=c++14/-std=c++17/g' {} \;
下這個指令,可以解決這個錯誤,但我還是無法編譯,會出現另一個錯誤