You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have build annoy project with VS2022 x86 native tools command prompt. But some errors were reported. Does Annoy not support x86 architecture? can you guys help me take a look? Thanks in advance!!!
build steps:
Open x86 native tools command prompt for vs2022
python.exe -m pip install numpy h5py pytest 2>&1
set CL=/D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR
python setup.py build
Error msg:
Line 300: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyExc_Exception
Line 301: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyErr_WarnEx
Line 302: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyErr_Occurred
Line 303: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyEval_SaveThread
Line 304: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyExc_IOError
Line 305: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyLong_FromLong
Line 306: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyFloat_AsDouble
Line 307: annoymodule.obj : error LNK2001: unresolved external symbol __imp___Py_NoneStruct
Line 308: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyFloat_FromDouble
Line 309: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyErr_SetString
Line 310: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyExc_ValueError
Line 311: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyErr_Format
Line 312: annoymodule.obj : error LNK2001: unresolved external symbol __imp___Py_Dealloc
Line 313: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyModule_AddObject
Line 314: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyList_New
Line 315: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyModule_Create2
Line 316: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyType_Ready
Line 317: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyExc_FutureWarning
Line 318: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyObject_GetItem
Line 319: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyArg_ParseTupleAndKeywords
Line 320: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyTuple_Pack
Line 321: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyExc_IndexError
Line 322: annoymodule.obj : error LNK2001: unresolved external symbol __imp___Py_TrueStruct
Line 323: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyList_SetItem
Line 324: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyObject_Size
Line 325: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyArg_ParseTuple
Line 326: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyEval_RestoreThread
Line 327: build\lib.win32-3.9\annoy\annoylib.cp39-win_amd64.pyd : fatal error LNK1120: 27 unresolved externals
The text was updated successfully, but these errors were encountered:
Hi all,
I have build annoy project with VS2022 x86 native tools command prompt. But some errors were reported. Does Annoy not support x86 architecture? can you guys help me take a look? Thanks in advance!!!
build steps:
Error msg:
Line 300: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyExc_Exception
Line 301: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyErr_WarnEx
Line 302: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyErr_Occurred
Line 303: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyEval_SaveThread
Line 304: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyExc_IOError
Line 305: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyLong_FromLong
Line 306: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyFloat_AsDouble
Line 307: annoymodule.obj : error LNK2001: unresolved external symbol __imp___Py_NoneStruct
Line 308: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyFloat_FromDouble
Line 309: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyErr_SetString
Line 310: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyExc_ValueError
Line 311: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyErr_Format
Line 312: annoymodule.obj : error LNK2001: unresolved external symbol __imp___Py_Dealloc
Line 313: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyModule_AddObject
Line 314: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyList_New
Line 315: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyModule_Create2
Line 316: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyType_Ready
Line 317: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyExc_FutureWarning
Line 318: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyObject_GetItem
Line 319: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyArg_ParseTupleAndKeywords
Line 320: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyTuple_Pack
Line 321: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyExc_IndexError
Line 322: annoymodule.obj : error LNK2001: unresolved external symbol __imp___Py_TrueStruct
Line 323: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyList_SetItem
Line 324: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyObject_Size
Line 325: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyArg_ParseTuple
Line 326: annoymodule.obj : error LNK2001: unresolved external symbol __imp__PyEval_RestoreThread
Line 327: build\lib.win32-3.9\annoy\annoylib.cp39-win_amd64.pyd : fatal error LNK1120: 27 unresolved externals
The text was updated successfully, but these errors were encountered: