cibuildwheel
cibuildwheel copied to clipboard
Linking error when using cibuildwheel to build a swig based library
Description
When building a python wheel for a C++ library using swig, scikit-build and cibuildwheel, I get errors when it tries to link python C API:
Creando biblioteca C:/Users/user/AppData/Local/Temp/tmpcni3_olr/build/Release/mylib.lib y objeto C:/Users/user/AppData/Local/Temp/tmpcni3_olr/build/Release/mylib.exp
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyBool_Type sin resolver al que se hace referencia en la funci¢n _wrap_new__Mat__int [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyFloat_Type sin resolver al que se hace referencia en la funci¢n _wrap__Matx_double_3_2_randu [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PySlice_Type sin resolver al que se hace referencia en la funci¢n _wrap__ushortArray___delitem__ [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyExc_StopIteration sin resolver al que se hace referencia en la funci¢n __catch$_wrap_SwigPyIterator___add__$3 [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyExc_AttributeError sin resolver al que se hace referencia en la funci¢n "struct _object * __cdecl SWIG_Python_ErrorType(int)" (?SWIG_Python_ErrorType@@YAPEAU_object@@H@Z) [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyExc_IndexError sin resolver al que se hace referencia en la funci¢n "struct _object * __cdecl SWIG_Python_ErrorType(int)" (?SWIG_Python_ErrorType@@YAPEAU_object@@H@Z) [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyExc_MemoryError sin resolver al que se hace referencia en la funci¢n "struct _object * __cdecl SWIG_Python_ErrorType(int)" (?SWIG_Python_ErrorType@@YAPEAU_object@@H@Z) [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyExc_OverflowError sin resolver al que se hace referencia en la funci¢n "struct _object * __cdecl SWIG_Python_ErrorType(int)" (?SWIG_Python_ErrorType@@YAPEAU_object@@H@Z) [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyExc_RuntimeError sin resolver al que se hace referencia en la funci¢n "struct _object * __cdecl SWIG_Python_ErrorType(int)" (?SWIG_Python_ErrorType@@YAPEAU_object@@H@Z) [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyExc_SyntaxError sin resolver al que se hace referencia en la funci¢n "struct _object * __cdecl SWIG_Python_ErrorType(int)" (?SWIG_Python_ErrorType@@YAPEAU_object@@H@Z) [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyExc_SystemError sin resolver al que se hace referencia en la funci¢n _wrap__Matx_double_3_2_randu [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyExc_TypeError sin resolver al que se hace referencia en la funci¢n _wrap__Matx_double_3_2_randu [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyExc_ValueError sin resolver al que se hace referencia en la funci¢n _wrap_match_symbol_set [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyExc_ZeroDivisionError sin resolver al que se hace referencia en la funci¢n "struct _object * __cdecl SWIG_Python_ErrorType(int)" (?SWIG_Python_ErrorType@@YAPEAU_object@@H@Z) [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyExc_IOError sin resolver al que se hace referencia en la funci¢n "struct _object * __cdecl SWIG_Python_ErrorType(int)" (?SWIG_Python_ErrorType@@YAPEAU_object@@H@Z) [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyType_Type sin resolver al que se hace referencia en la funci¢n SwigPyClientData_New [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp__Py_NoneStruct sin resolver al que se hace referencia en la funci¢n _wrap__Mat__Vec4f_type [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp__Py_NotImplementedStruct sin resolver al que se hace referencia en la funci¢n _wrap_SwigPyIterator___eq__ [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyType_IsSubtype sin resolver al que se hace referencia en la funci¢n _wrap__Matx_double_3_2_randu [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyType_Ready sin resolver al que se hace referencia en la funci¢n SWIG_Python_DestroyModule [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyType_Modified sin resolver al que se hace referencia en la funci¢n _wrap__Matx_double_1_4_val_get [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyObject_GetAttrString sin resolver al que se hace referencia en la funci¢n SwigPyClientData_New [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyObject_GetAttr sin resolver al que se hace referencia en la funci¢n SWIG_Python_GetSwigThis [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyObject_SetAttr sin resolver al que se hace referencia en la funci¢n _wrap__Matx_double_1_4_val_get [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyObject_GenericGetAttr sin resolver al que se hace referencia en la funci¢n SwigPyObject_type [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyObject_IsTrue sin resolver al que se hace referencia en la funci¢n _wrap_new__Mat__int [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_Py_DecRef sin resolver al que se hace referencia en la funci¢n SwigPyObject_repr [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyObject_Free sin resolver al que se hace referencia en la funci¢n PyInit__mylib [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp__PyObject_New sin resolver al que se hace referencia en la funci¢n _wrap__Matx_double_1_4_val_get [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyUnicode_FromString sin resolver al que se hace referencia en la funci¢n _wrap__Matx_double_1_4_val_get [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyUnicode_FromFormat sin resolver al que se hace referencia en la funci¢n "void __cdecl SWIG_Python_RaiseOrModifyTypeError(char const *)" (?SWIG_Python_RaiseOrModifyTypeError@@YAXPEBD@Z) [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyUnicode_InternFromString sin resolver al que se hace referencia en la funci¢n swig_varlink_repr [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyUnicode_AsUTF8AndSize sin resolver al que se hace referencia en la funci¢n "int __cdecl SWIG_AsPtr_std_string(struct _object *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > * *)" (?SWIG_AsPtr_std_string@@YAHPEAU_object@@PEAPEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyUnicode_DecodeUTF8 sin resolver al que se hace referencia en la funci¢n _wrap__Matx_ushort_4_1___str__ [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyUnicode_Concat sin resolver al que se hace referencia en la funci¢n SwigPyObject_repr [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyLong_FromLong sin resolver al que se hace referencia en la funci¢n _wrap__Mat__Vec4f_type [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2001: s┬Ãmbolo externo __imp_PyLong_FromUnsignedLong sin resolver [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyLong_AsLong sin resolver al que se hace referencia en la funci¢n _wrap__Mat__Vec2w_stepT [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyLong_AsUnsignedLong sin resolver al que se hace referencia en la funci¢n _wrap_new__uint8_tArray [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyLong_AsDouble sin resolver al que se hace referencia en la funci¢n _wrap__Matx_double_3_2_randu [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyLong_FromVoidPtr sin resolver al que se hace referencia en la funci¢n SwigPyObject_long [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyLong_FromLongLong sin resolver al que se hace referencia en la funci¢n _wrap_SwigPyIterator_distance [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyLong_FromUnsignedLongLong sin resolver al que se hace referencia en la funci¢n _wrap__Mat__Vec2w_stepT [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyLong_AsLongLong sin resolver al que se hace referencia en la funci¢n _wrap__ushortArray___setslice__ [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyLong_AsUnsignedLongLong sin resolver al que se hace referencia en la funci¢n _wrap__floatArray_assign [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyBool_FromLong sin resolver al que se hace referencia en la funci¢n _wrap_SwigPyIterator___eq__ [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyFloat_FromDouble sin resolver al que se hace referencia en la funci¢n _wrap__Matx_double_1_4_ddot [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyFloat_AsDouble sin resolver al que se hace referencia en la funci¢n _wrap__Matx_double_3_2_randu [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyTuple_New sin resolver al que se hace referencia en la funci¢n _wrap__Matx_double_1_4_val_get [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyDict_New sin resolver al que se hace referencia en la funci¢n _wrap__Matx_double_1_4_val_get [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyDict_GetItem sin resolver al que se hace referencia en la funci¢n SWIG_Python_TypeQuery [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyDict_SetItem sin resolver al que se hace referencia en la funci¢n SWIG_Python_TypeQuery [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyDict_SetItemString sin resolver al que se hace referencia en la funci¢n PyInit__mylib [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyModule_GetDict sin resolver al que se hace referencia en la funci¢n PyInit__mylib [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyCapsule_New sin resolver al que se hace referencia en la funci¢n SWIG_InitializeModule [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyCapsule_GetPointer sin resolver al que se hace referencia en la funci¢n SWIG_Python_DestroyModule [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyCapsule_Import sin resolver al que se hace referencia en la funci¢n SWIG_InitializeModule [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PySlice_GetIndices sin resolver al que se hace referencia en la funci¢n _wrap__doubleArray___delitem____SWIG_1 [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyErr_SetObject sin resolver al que se hace referencia en la funci¢n "void __cdecl SWIG_Python_SetErrorObj(struct _object *,struct _object *)" (?SWIG_Python_SetErrorObj@@YAXPEAU_object@@0@Z) [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyErr_SetString sin resolver al que se hace referencia en la funci¢n _wrap__Mat__Vec4f_type [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyErr_Occurred sin resolver al que se hace referencia en la funci¢n _wrap__Matx_double_3_2_randu [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyErr_Clear sin resolver al que se hace referencia en la funci¢n _wrap__Matx_double_3_2_randu [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyErr_Fetch sin resolver al que se hace referencia en la funci¢n "void __cdecl SWIG_Python_RaiseOrModifyTypeError(char const *)" (?SWIG_Python_RaiseOrModifyTypeError@@YAXPEBD@Z) [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyErr_Restore sin resolver al que se hace referencia en la funci¢n "void __cdecl SWIG_Python_RaiseOrModifyTypeError(char const *)" (?SWIG_Python_RaiseOrModifyTypeError@@YAXPEBD@Z) [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyErr_GivenExceptionMatches sin resolver al que se hace referencia en la funci¢n "void __cdecl SWIG_Python_RaiseOrModifyTypeError(char const *)" (?SWIG_Python_RaiseOrModifyTypeError@@YAXPEBD@Z) [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyErr_ExceptionMatches sin resolver al que se hace referencia en la funci¢n _wrap_SwigPyIterator___eq__ [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyErr_Format sin resolver al que se hace referencia en la funci¢n _wrap__Matx_double_3_2_randu [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyErr_WriteUnraisable sin resolver al que se hace referencia en la funci¢n SwigPyObject_dealloc [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyOS_snprintf sin resolver al que se hace referencia en la funci¢n "void __cdecl swig::setslice<class std::vector<unsigned char,class std::allocator<unsigned char> >,__int64,class std::vector<unsigned char,class std::allocator<unsigned char> > >(class std::vector<unsigned char,class std::allocator<unsigned char> > *,__int64,__int64,__int64,class std::vector<unsigned char,class std::allocator<unsigned char> > const &)" (??$setslice@V?$vector@EV?$allocator@E@std@@@std@@_JV12@@swig@@YAXPEAV?$vector@EV?$allocator@E@std@@@std@@_J11AEBV12@@Z) [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyArg_UnpackTuple sin resolver al que se hace referencia en la funci¢n SwigPyObject_own [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyModule_AddObject sin resolver al que se hace referencia en la funci¢n SWIG_InitializeModule [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyModule_Create2 sin resolver al que se hace referencia en la funci¢n PyInit__mylib [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyImport_AddModule sin resolver al que se hace referencia en la funci¢n SWIG_InitializeModule [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyObject_Call sin resolver al que se hace referencia en la funci¢n _wrap__Matx_double_1_4_val_get [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyObject_CallFunctionObjArgs sin resolver al que se hace referencia en la funci¢n SWIG_Python_ConvertPtrAndOwn [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyObject_GetIter sin resolver al que se hace referencia en la funci¢n "public: static int __cdecl swig::traits_asptr_stdseq<class std::vector<unsigned char,class std::allocator<unsigned char> >,unsigned char>::asptr(struct _object *,class std::vector<unsigned char,class std::allocator<unsigned char> > * *)" (?asptr@?$traits_asptr_stdseq@V?$vector@EV?$allocator@E@std@@@std@@E@swig@@SAHPEAU_object@@PEAPEAV?$vector@EV?$allocator@E@std@@@std@@@Z) [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyIter_Next sin resolver al que se hace referencia en la funci¢n "public: static int __cdecl swig::traits_asptr_stdseq<class std::vector<unsigned char,class std::allocator<unsigned char> >,unsigned char>::asptr(struct _object *,class std::vector<unsigned char,class std::allocator<unsigned char> > * *)" (?asptr@?$traits_asptr_stdseq@V?$vector@EV?$allocator@E@std@@@std@@E@swig@@SAHPEAU_object@@PEAPEAV?$vector@EV?$allocator@E@std@@@std@@@Z) [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
interfacePYTHON_wrap.obj : error LNK2019: s┬Ãmbolo externo __imp_PyObject_IsInstance sin resolver al que se hace referencia en la funci¢n SwigPyClientData_New [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
C:\Users\user\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\Local\pypa\cibuildwheel\Cache\nuget-cpython\pythonx86.3.7.9\tools\libs\python37.lib : warning LNK4272: el tipo de m quina de biblioteca 'x86' est  en conflicto con el tipo de m quina de destino 'x64' [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\Release\_mylib..pyd : fatal error LNK1120: 78 externos sin resolver [C:\Users\user\AppData\Local\Temp\tmpcni3_olr\build\mylib.vcxproj]
*** CMake build failed
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for mylib
Failed to build mylib
ERROR: Failed to build one or more wheels
Using pipx run build innstead of cibuildwheel works fine, so it seems that CMake is not able to find python's C API headers.
Is there a way to configure cibuildwheel so it exposes those headers?
Build log
No response
CI config
No response