Can't install scispacy on Windows - nmslib build fails
See original GitHub issueOn Win 10, my pip install scispacy
tries to build the wheel for nmslib
(and fails), then tries to fall back to run setup.py - and fails again. I have Visual Studio Build Tools 2019 build tools installed, so there SHOULD be valid compiler/headers on the system… but something’s not matching.
BTW I had to downgrade to numpy 1.19.3 due to some error message about bugs in newer version.
Python version: 3.9.0
stderr from pip install scispacy
:
At line:1 char:1
+ pip install scispacy 2> failure.log.txt
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: ( ERROR: Comman... exit status 1::String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
command: 'c:\users\flgeorg\appdata\local\programs\python\python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] =
'"'"'C:\\Users\\flgeorg\\AppData\\Local\\Temp\\pip-install-rkjp_62d\\nmslib_0258cd9ee2574378b5024d6880a62727\\setup.py'"'"'; __file__='"'"
'C:\\Users\\flgeorg\\AppData\\Local\\Temp\\pip-install-rkjp_62d\\nmslib_0258cd9ee2574378b5024d6880a62727\\setup.py'"'"';f=getattr(tokenize
, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__,
'"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\flgeorg\AppData\Local\Temp\pip-wheel-wowbfk5b'
cwd: C:\Users\flgeorg\AppData\Local\Temp\pip-install-rkjp_62d\nmslib_0258cd9ee2574378b5024d6880a62727\
Complete output (483 lines):
Dependence list: ['pybind11>=2.2.3', 'psutil', 'numpy>=1.10.0']
running bdist_wheel
running build
running build_ext
Extra compilation arguments: ['/EHsc', '/openmp', '/O2', '/DVERSION_INFO=\\"2.0.6\\"']
building 'nmslib' extension
creating build
creating build\temp.win-amd64-3.9
creating build\temp.win-amd64-3.9\Release
creating build\temp.win-amd64-3.9\Release\similarity_search
creating build\temp.win-amd64-3.9\Release\similarity_search\src
creating build\temp.win-amd64-3.9\Release\similarity_search\src\method
creating build\temp.win-amd64-3.9\Release\similarity_search\src\space
creating build\temp.win-amd64-3.9\Release\tensorflow
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL
/DNDEBUG /MD -I.\similarity_search\include -Itensorflow
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\numpy\core\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\include -Ic:\users\flgeorg\appdata\local\programs\python\python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\cppwinrt /EHsc /Tp.\similarity_search\src\distcomp_bregman.cc
/Fobuild\temp.win-amd64-3.9\Release\.\similarity_search\src\distcomp_bregman.obj /EHsc /openmp /O2 /DVERSION_INFO=\"2.0.6\"
distcomp_bregman.cc
.\similarity_search\include\distcomp.h(260): warning C4244: 'initializing': conversion from 'size_t' to 'float', possible loss of data
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL
/DNDEBUG /MD -I.\similarity_search\include -Itensorflow
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\numpy\core\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\include -Ic:\users\flgeorg\appdata\local\programs\python\python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\cppwinrt /EHsc /Tp.\similarity_search\src\distcomp_diverg.cc
/Fobuild\temp.win-amd64-3.9\Release\.\similarity_search\src\distcomp_diverg.obj /EHsc /openmp /O2 /DVERSION_INFO=\"2.0.6\"
distcomp_diverg.cc
.\similarity_search\include\distcomp.h(260): warning C4244: 'initializing': conversion from 'size_t' to 'float', possible loss of data
.\similarity_search\src\distcomp_diverg.cc(61): warning C4244: '+=': conversion from 'double' to 'T', possible loss of data
with
[
T=float
]
.\similarity_search\src\distcomp_diverg.cc(66): note: see reference to function template instantiation 'float
similarity::alphaBetaDivergenceSlowProxy<float>(const float *,const float *,const int,float,float)' being compiled
.\similarity_search\src\distcomp_diverg.cc(74): warning C4244: '+=': conversion from 'double' to 'T', possible loss of data
with
[
T=float
]
.\similarity_search\src\distcomp_diverg.cc(79): note: see reference to function template instantiation 'float
similarity::alphaBetaDivergenceFastProxy<float>(const float *,const float *,const int,float,float)' being compiled
.\similarity_search\src\distcomp_diverg.cc(84): warning C4305: 'initializing': truncation from 'double' to 'T'
with
[
T=float
]
.\similarity_search\src\distcomp_diverg.cc(95): note: see reference to function template instantiation 'float
similarity::renyiDivergenceSlow<float>(const float *,const float *,const int,float)' being compiled
.\similarity_search\src\distcomp_diverg.cc(101): warning C4305: 'initializing': truncation from 'double' to 'T'
with
[
T=float
]
.\similarity_search\src\distcomp_diverg.cc(111): note: see reference to function template instantiation 'float
similarity::renyiDivergenceFast<float>(const float *,const float *,const int,float)' being compiled
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL
/DNDEBUG /MD -I.\similarity_search\include -Itensorflow
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\numpy\core\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\include -Ic:\users\flgeorg\appdata\local\programs\python\python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\cppwinrt /EHsc /Tp.\similarity_search\src\distcomp_edist.cc
/Fobuild\temp.win-amd64-3.9\Release\.\similarity_search\src\distcomp_edist.obj /EHsc /openmp /O2 /DVERSION_INFO=\"2.0.6\"
distcomp_edist.cc
.\similarity_search\include\distcomp.h(260): warning C4244: 'initializing': conversion from 'size_t' to 'float', possible loss of data
.\similarity_search\src\distcomp_edist.cc(39): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\src\distcomp_edist.cc(76): note: see reference to function template instantiation 'int
similarity::levenshtein<char>(const char *,size_t,const char *,size_t)' being compiled
.\similarity_search\src\distcomp_edist.cc(49): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\src\distcomp_edist.cc(57): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL
/DNDEBUG /MD -I.\similarity_search\include -Itensorflow
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\numpy\core\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\include -Ic:\users\flgeorg\appdata\local\programs\python\python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\cppwinrt /EHsc /Tp.\similarity_search\src\distcomp_js.cc
/Fobuild\temp.win-amd64-3.9\Release\.\similarity_search\src\distcomp_js.obj /EHsc /openmp /O2 /DVERSION_INFO=\"2.0.6\"
distcomp_js.cc
.\similarity_search\include\distcomp.h(260): warning C4244: 'initializing': conversion from 'size_t' to 'float', possible loss of data
.\similarity_search\src\distcomp_js.cc(226): warning C4244: 'return': conversion from 'double' to 'float', possible loss of data
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL
/DNDEBUG /MD -I.\similarity_search\include -Itensorflow
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\numpy\core\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\include -Ic:\users\flgeorg\appdata\local\programs\python\python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\cppwinrt /EHsc /Tp.\similarity_search\src\distcomp_l2sqr_sift.cc
/Fobuild\temp.win-amd64-3.9\Release\.\similarity_search\src\distcomp_l2sqr_sift.obj /EHsc /openmp /O2 /DVERSION_INFO=\"2.0.6\"
distcomp_l2sqr_sift.cc
.\similarity_search\include\distcomp.h(260): warning C4244: 'initializing': conversion from 'size_t' to 'float', possible loss of data
.\similarity_search\src\distcomp_l2sqr_sift.cc(89): warning C4267: 'initializing': conversion from 'size_t' to 'uint_fast32_t',
possible loss of data
.\similarity_search\src\distcomp_l2sqr_sift.cc(103) : WARNING: l2SqrSIFTPrecompAVX: AVX2 is not available
.\similarity_search\src\distcomp_l2sqr_sift.cc(105) : WARNING: l2SqrSIFTPrecompAVX: SSE4 is not available
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL
/DNDEBUG /MD -I.\similarity_search\include -Itensorflow
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\numpy\core\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\include -Ic:\users\flgeorg\appdata\local\programs\python\python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\cppwinrt /EHsc /Tp.\similarity_search\src\distcomp_lp.cc
/Fobuild\temp.win-amd64-3.9\Release\.\similarity_search\src\distcomp_lp.obj /EHsc /openmp /O2 /DVERSION_INFO=\"2.0.6\"
distcomp_lp.cc
.\similarity_search\include\distcomp.h(260): warning C4244: 'initializing': conversion from 'size_t' to 'float', possible loss of data
.\similarity_search\src\distcomp_lp.cc(249): warning C4244: 'return': conversion from 'double' to 'float', possible loss of data
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL
/DNDEBUG /MD -I.\similarity_search\include -Itensorflow
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\numpy\core\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\include -Ic:\users\flgeorg\appdata\local\programs\python\python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\cppwinrt /EHsc /Tp.\similarity_search\src\distcomp_overlap.cc
/Fobuild\temp.win-amd64-3.9\Release\.\similarity_search\src\distcomp_overlap.obj /EHsc /openmp /O2 /DVERSION_INFO=\"2.0.6\"
distcomp_overlap.cc
.\similarity_search\include\distcomp.h(260): warning C4244: 'initializing': conversion from 'size_t' to 'float', possible loss of data
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL
/DNDEBUG /MD -I.\similarity_search\include -Itensorflow
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\numpy\core\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\include -Ic:\users\flgeorg\appdata\local\programs\python\python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\cppwinrt /EHsc /Tp.\similarity_search\src\distcomp_rankcorr.cc
/Fobuild\temp.win-amd64-3.9\Release\.\similarity_search\src\distcomp_rankcorr.obj /EHsc /openmp /O2 /DVERSION_INFO=\"2.0.6\"
distcomp_rankcorr.cc
.\similarity_search\include\distcomp.h(260): warning C4244: 'initializing': conversion from 'size_t' to 'float', possible loss of data
.\similarity_search\src\distcomp_rankcorr.cc(40) : WARNING: SpearmanFootruleSIMD: SSE4.2 is not available, defaulting to pure C++
implementation!
.\similarity_search\src\distcomp_rankcorr.cc(112) : WARNING: SpearmanRhoSIMD: SSE4.2 is not available, defaulting to pure C++
implementation!
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL
/DNDEBUG /MD -I.\similarity_search\include -Itensorflow
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\numpy\core\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\include -Ic:\users\flgeorg\appdata\local\programs\python\python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\cppwinrt /EHsc /Tp.\similarity_search\src\distcomp_scalar.cc
/Fobuild\temp.win-amd64-3.9\Release\.\similarity_search\src\distcomp_scalar.obj /EHsc /openmp /O2 /DVERSION_INFO=\"2.0.6\"
distcomp_scalar.cc
.\similarity_search\include\distcomp.h(260): warning C4244: 'initializing': conversion from 'size_t' to 'float', possible loss of data
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL
/DNDEBUG /MD -I.\similarity_search\include -Itensorflow
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\numpy\core\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\include -Ic:\users\flgeorg\appdata\local\programs\python\python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\cppwinrt /EHsc /Tp.\similarity_search\src\distcomp_sparse_scalar_fast.cc
/Fobuild\temp.win-amd64-3.9\Release\.\similarity_search\src\distcomp_sparse_scalar_fast.obj /EHsc /openmp /O2 /DVERSION_INFO=\"2.0.6\"
distcomp_sparse_scalar_fast.cc
.\similarity_search\include\object.h(127): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\include\distcomp.h(260): warning C4244: 'initializing': conversion from 'size_t' to 'float', possible loss of data
.\similarity_search\src\distcomp_sparse_scalar_fast.cc(231) : WARNING: No SSE 4.2, defaulting to scalar implementation!
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL
/DNDEBUG /MD -I.\similarity_search\include -Itensorflow
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\numpy\core\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\include -Ic:\users\flgeorg\appdata\local\programs\python\python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\cppwinrt /EHsc /Tp.\similarity_search\src\experimentconf.cc
/Fobuild\temp.win-amd64-3.9\Release\.\similarity_search\src\experimentconf.obj /EHsc /openmp /O2 /DVERSION_INFO=\"2.0.6\"
experimentconf.cc
C:\Users\flgeorg\AppData\Local\Temp\pip-install-rkjp_62d\nmslib_0258cd9ee2574378b5024d6880a62727\similarity_search\include\object.h(127):
warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\src\experimentconf.cc(218): warning C4267: 'initializing': conversion from 'size_t' to 'unsigned int', possible
loss of data
.\similarity_search\src\experimentconf.cc(201): note: while compiling class template member function 'void
similarity::ExperimentConfig<float>::Write(std::ostream &,std::ostream &)'
.\similarity_search\src\experimentconf.cc(428): note: see reference to class template instantiation
'similarity::ExperimentConfig<float>' being compiled
.\similarity_search\src\experimentconf.cc(232): warning C4018: '>=': signed/unsigned mismatch
.\similarity_search\src\experimentconf.cc(241): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data
.\similarity_search\src\experimentconf.cc(388): warning C4267: '=': conversion from 'size_t' to '_Ty', possible loss of data
with
[
_Ty=similarity::IdType
]
.\similarity_search\src\experimentconf.cc(341): note: while compiling class template member function 'void
similarity::ExperimentConfig<float>::ReadDataset(void)'
.\similarity_search\src\experimentconf.cc(139): warning C4244: 'argument': conversion from 'float' to 'const T', possible loss of data
with
[
T=int
]
.\similarity_search\src\experimentconf.cc(50): note: while compiling class template member function 'void
similarity::ExperimentConfig<int>::Read(std::istream &,std::istream &,size_t &)'
.\similarity_search\src\experimentconf.cc(139): warning C4244: 'argument': conversion from 'float' to 'const T', possible loss of data
with
[
T=int
]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL
/DNDEBUG /MD -I.\similarity_search\include -Itensorflow
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\numpy\core\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\include -Ic:\users\flgeorg\appdata\local\programs\python\python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\cppwinrt /EHsc /Tp.\similarity_search\src\global.cc
/Fobuild\temp.win-amd64-3.9\Release\.\similarity_search\src\global.obj /EHsc /openmp /O2 /DVERSION_INFO=\"2.0.6\"
global.cc
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL
/DNDEBUG /MD -I.\similarity_search\include -Itensorflow
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\numpy\core\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\include -Ic:\users\flgeorg\appdata\local\programs\python\python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\cppwinrt /EHsc /Tp.\similarity_search\src\init.cc
/Fobuild\temp.win-amd64-3.9\Release\.\similarity_search\src\init.obj /EHsc /openmp /O2 /DVERSION_INFO=\"2.0.6\"
init.cc
C:\Users\flgeorg\AppData\Local\Temp\pip-install-rkjp_62d\nmslib_0258cd9ee2574378b5024d6880a62727\similarity_search\include\object.h(127):
warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\include\permutation_utils.h(175): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was
64-bit shift intended?)
.\similarity_search\include\method/pivot_neighb_common.h(57): warning C4267: 'argument': conversion from 'size_t' to 'int', possible
loss of data
.\similarity_search\include\method/small_world_rand.h(90): warning C4267: 'initializing': conversion from 'size_t' to
'similarity::IdType', possible loss of data
.\similarity_search\include\distcomp.h(260): warning C4244: 'initializing': conversion from 'size_t' to 'float', possible loss of data
C:\Users\flgeorg\AppData\Local\Temp\pip-install-rkjp_62d\nmslib_0258cd9ee2574378b5024d6880a62727\similarity_search\include\space\space_b
it_vector.h(143): warning C4267: 'argument': conversion from 'size_t' to '_Ty', possible loss of data
with
[
_Ty=std::seed_seq::result_type
]
C:\Users\flgeorg\AppData\Local\Temp\pip-install-rkjp_62d\nmslib_0258cd9ee2574378b5024d6880a62727\similarity_search\include\space\space_b
it_vector.h(142): note: while compiling class template member function 'similarity::Object *similarity::SpaceBitVector<dist_t,dist_uint_t>
::CreateObjFromVect(similarity::IdType,similarity::LabelType,std::vector<std::seed_seq::result_type,std::allocator<std::seed_seq::result_t
ype>> &) const'
with
[
dist_t=float,
dist_uint_t=uint32_t
]
.\similarity_search\include\space/space_bit_jaccard.h(35): note: see reference to class template instantiation
'similarity::SpaceBitVector<dist_t,dist_uint_t>' being compiled
with
[
dist_t=float,
dist_uint_t=uint32_t
]
.\similarity_search\include\factory/space/space_bit_jaccard.h(28): note: see reference to class template instantiation
'similarity::SpaceBitJaccard<dist_t,dist_uint_t>' being compiled
with
[
dist_t=float,
dist_uint_t=uint32_t
]
.\similarity_search\include\factory/init_spaces.h(48): note: see reference to function template instantiation 'similarity::Space<float>
*similarity::CreateBitJaccard<float,uint32_t>(const similarity::AnyParams &)' being compiled
C:\Users\flgeorg\AppData\Local\Temp\pip-install-rkjp_62d\nmslib_0258cd9ee2574378b5024d6880a62727\similarity_search\include\space\space_b
it_vector.h(60): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data
C:\Users\flgeorg\AppData\Local\Temp\pip-install-rkjp_62d\nmslib_0258cd9ee2574378b5024d6880a62727\similarity_search\include\space\space_b
it_vector.h(47): note: while compiling class template member function
'std::unique_ptr<similarity::Object,std::default_delete<similarity::Object>>
similarity::SpaceBitVector<dist_t,dist_uint_t>::CreateObjFromStr(similarity::IdType,similarity::LabelType,const std::string
&,similarity::DataFileInputState *) const'
with
[
dist_t=float,
dist_uint_t=uint32_t
]
C:\Users\flgeorg\AppData\Local\Temp\pip-install-rkjp_62d\nmslib_0258cd9ee2574378b5024d6880a62727\similarity_search\include\space\space_b
it_vector.h(201): warning C4267: 'argument': conversion from 'size_t' to '_Ty', possible loss of data
with
[
_Ty=std::seed_seq::result_type
]
C:\Users\flgeorg\AppData\Local\Temp\pip-install-rkjp_62d\nmslib_0258cd9ee2574378b5024d6880a62727\similarity_search\include\space\space_b
it_vector.h(156): note: while compiling class template member function 'void
similarity::SpaceBitVector<dist_t,dist_uint_t>::ReadBitMaskVect(std::string,similarity::LabelType
&,std::vector<std::seed_seq::result_type,std::allocator<std::seed_seq::result_type>> &) const'
with
[
dist_t=float,
dist_uint_t=uint32_t
]
C:\Users\flgeorg\AppData\Local\Temp\pip-install-rkjp_62d\nmslib_0258cd9ee2574378b5024d6880a62727\similarity_search\include\space\space_b
it_vector.h(57): note: see reference to function template instantiation 'void
similarity::SpaceBitVector<dist_t,dist_uint_t>::ReadBitMaskVect(std::string,similarity::LabelType
&,std::vector<std::seed_seq::result_type,std::allocator<std::seed_seq::result_type>> &) const' being compiled
with
[
dist_t=float,
dist_uint_t=uint32_t
]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL
/DNDEBUG /MD -I.\similarity_search\include -Itensorflow
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\numpy\core\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\include -Ic:\users\flgeorg\appdata\local\programs\python\python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\cppwinrt /EHsc /Tp.\similarity_search\src\knnquery.cc
/Fobuild\temp.win-amd64-3.9\Release\.\similarity_search\src\knnquery.obj /EHsc /openmp /O2 /DVERSION_INFO=\"2.0.6\"
knnquery.cc
C:\Users\flgeorg\AppData\Local\Temp\pip-install-rkjp_62d\nmslib_0258cd9ee2574378b5024d6880a62727\similarity_search\include\object.h(127):
warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\src\knnquery.cc(63): warning C4267: 'return': conversion from 'size_t' to 'unsigned int', possible loss of data
.\similarity_search\src\knnquery.cc(62): note: while compiling class template member function 'unsigned int
similarity::KNNQuery<float>::ResultSize(void) const'
.\similarity_search\src\knnquery.cc(134): note: see reference to class template instantiation 'similarity::KNNQuery<float>' being
compiled
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL
/DNDEBUG /MD -I.\similarity_search\include -Itensorflow
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\numpy\core\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\include -Ic:\users\flgeorg\appdata\local\programs\python\python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\cppwinrt /EHsc /Tp.\similarity_search\src\logging.cc
/Fobuild\temp.win-amd64-3.9\Release\.\similarity_search\src\logging.obj /EHsc /openmp /O2 /DVERSION_INFO=\"2.0.6\"
logging.cc
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL
/DNDEBUG /MD -I.\similarity_search\include -Itensorflow
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\numpy\core\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\include -Ic:\users\flgeorg\appdata\local\programs\python\python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\cppwinrt /EHsc /Tp.\similarity_search\src\memory.cc
/Fobuild\temp.win-amd64-3.9\Release\.\similarity_search\src\memory.obj /EHsc /openmp /O2 /DVERSION_INFO=\"2.0.6\"
memory.cc
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL
/DNDEBUG /MD -I.\similarity_search\include -Itensorflow
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\numpy\core\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\include -Ic:\users\flgeorg\appdata\local\programs\python\python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\cppwinrt /EHsc /Tp.\similarity_search\src\method\dummy.cc
/Fobuild\temp.win-amd64-3.9\Release\.\similarity_search\src\method\dummy.obj /EHsc /openmp /O2 /DVERSION_INFO=\"2.0.6\"
dummy.cc
C:\Users\flgeorg\AppData\Local\Temp\pip-install-rkjp_62d\nmslib_0258cd9ee2574378b5024d6880a62727\similarity_search\include\object.h(127):
warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL
/DNDEBUG /MD -I.\similarity_search\include -Itensorflow
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\numpy\core\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\include -Ic:\users\flgeorg\appdata\local\programs\python\python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\cppwinrt /EHsc /Tp.\similarity_search\src\method\hnsw.cc
/Fobuild\temp.win-amd64-3.9\Release\.\similarity_search\src\method\hnsw.obj /EHsc /openmp /O2 /DVERSION_INFO=\"2.0.6\"
hnsw.cc
C:\Users\flgeorg\AppData\Local\Temp\pip-install-rkjp_62d\nmslib_0258cd9ee2574378b5024d6880a62727\similarity_search\include\object.h(127):
warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\include\distcomp.h(260): warning C4244: 'initializing': conversion from 'size_t' to 'float', possible loss of data
.\similarity_search\include\method/hnsw.h(484): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of
data
.\similarity_search\include\method/hnsw.h(482): note: while compiling class template member function 'int
similarity::Hnsw<int>::getRandomLevel(double)'
.\similarity_search\src\method\hnsw.cc(1422): note: see reference to class template instantiation 'similarity::Hnsw<int>' being compiled
.\similarity_search\src\method\hnsw.cc(199): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\src\method\hnsw.cc(156): note: while compiling class template member function 'void
similarity::Hnsw<float>::CreateIndex(const similarity::AnyParams &)'
.\similarity_search\src\method\hnsw.cc(204): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\src\method\hnsw.cc(206): warning C4267: 'argument': conversion from 'size_t' to 'unsigned long', possible loss of
data
.\similarity_search\src\method\hnsw.cc(226): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\src\method\hnsw.cc(231): warning C4267: 'argument': conversion from 'size_t' to 'unsigned long', possible loss of
data
.\similarity_search\src\method\hnsw.cc(236): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\src\method\hnsw.cc(264): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\src\method\hnsw.cc(269): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\src\method\hnsw.cc(281): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of data
.\similarity_search\src\method\hnsw.cc(284): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of data
.\similarity_search\src\method\hnsw.cc(294): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\src\method\hnsw.cc(315): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data
.\similarity_search\src\method\hnsw.cc(323): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\src\method\hnsw.cc(329): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\src\method\hnsw.cc(425): warning C4267: 'initializing': conversion from 'size_t' to 'similarity::SIZEMASS_TYPE',
possible loss of data
.\similarity_search\src\method\hnsw.cc(1221): warning C4267: 'initializing': conversion from 'size_t' to 'similarity::IdType', possible
loss of data
.\similarity_search\src\method\hnsw.cc(1153): note: while compiling class template member function 'void
similarity::Hnsw<float>::baseSearchAlgorithmV1Merge(similarity::KNNQuery<dist_t> *)'
with
[
dist_t=float
]
.\similarity_search\src\method\hnsw.cc(701): note: see reference to function template instantiation 'void
similarity::Hnsw<float>::baseSearchAlgorithmV1Merge(similarity::KNNQuery<dist_t> *)' being compiled
with
[
dist_t=float
]
.\similarity_search\src\method\hnsw.cc(1253): warning C4267: '=': conversion from 'size_t' to 'int_fast32_t', possible loss of data
.\similarity_search\src\method\hnsw.cc(1261): warning C4267: '=': conversion from 'size_t' to 'int_fast32_t', possible loss of data
.\similarity_search\src\method\hnsw.cc(754): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data
.\similarity_search\src\method\hnsw.cc(753): note: while compiling class template member function 'void
similarity::Hnsw<float>::SaveOptimizedIndex(std::ostream &)'
.\similarity_search\src\method\hnsw.cc(745): note: see reference to function template instantiation 'void
similarity::Hnsw<float>::SaveOptimizedIndex(std::ostream &)' being compiled
.\similarity_search\src\method\hnsw.cc(777): warning C4267: 'initializing': conversion from 'size_t' to 'similarity::SIZEMASS_TYPE',
possible loss of data
.\similarity_search\src\method\hnsw.cc(788): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data
.\similarity_search\src\method\hnsw.cc(787): note: while compiling class template member function 'void
similarity::Hnsw<float>::SaveRegularIndexBin(std::ostream &)'
.\similarity_search\src\method\hnsw.cc(741): note: see reference to function template instantiation 'void
similarity::Hnsw<float>::SaveRegularIndexBin(std::ostream &)' being compiled
.\similarity_search\src\method\hnsw.cc(809): warning C4267: 'initializing': conversion from 'size_t' to 'unsigned int', possible loss
of data
.\similarity_search\src\method\hnsw.cc(812): warning C4267: 'initializing': conversion from 'size_t' to 'similarity::IdType', possible
loss of data
.\similarity_search\src\method\hnsw.cc(960): warning C4018: '<': signed/unsigned mismatch
.\similarity_search\src\method\hnsw.cc(920): note: while compiling class template member function 'void
similarity::Hnsw<float>::LoadRegularIndexBin(std::istream &)'
.\similarity_search\src\method\hnsw.cc(986): note: see reference to function template instantiation 'void
similarity::Hnsw<float>::LoadRegularIndexBin(std::istream &)' being compiled
.\similarity_search\src\method\hnsw.cc(825): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data
.\similarity_search\src\method\hnsw.cc(821): note: while compiling class template member function 'void
similarity::Hnsw<float>::SaveRegularIndexText(std::ostream &)'
.\similarity_search\src\method\hnsw.cc(848): warning C4267: 'initializing': conversion from 'size_t' to 'unsigned int', possible loss
of data
.\similarity_search\src\method\hnsw.cc(852): warning C4267: '=': conversion from 'size_t' to '_Ty', possible loss of data
with
[
_Ty=similarity::IdType
]
.\similarity_search\src\method\hnsw.cc(898): warning C4267: 'initializing': conversion from 'size_t' to 'unsigned int', possible loss
of data
.\similarity_search\src\method\hnsw.cc(863): note: while compiling class template member function 'void
similarity::Hnsw<float>::LoadRegularIndexText(std::istream &)'
.\similarity_search\src\method\hnsw.cc(904): warning C4018: '<': signed/unsigned mismatch
.\similarity_search\src\method\hnsw.cc(509): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\src\method\hnsw.cc(503): note: while compiling class template member function 'void
similarity::Hnsw<float>::add(const similarity::Space<dist_t> *,similarity::HnswNode *)'
with
[
dist_t=float
]
.\similarity_search\src\method\hnsw.cc(210): note: see reference to function template instantiation 'void
similarity::Hnsw<float>::add(const similarity::Space<dist_t> *,similarity::HnswNode *)' being compiled
with
[
dist_t=float
]
.\similarity_search\src\method\hnsw.cc(525): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\src\method\hnsw.cc(554): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of data
.\similarity_search\src\method\hnsw.cc(557): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of data
.\similarity_search\src\method\hnsw.cc(560): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of data
.\similarity_search\include\method/hnsw.h(290): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of
data
.\similarity_search\include\method/hnsw.h(509): note: see reference to function template instantiation 'void
similarity::HnswNode::addFriendlevel<dist_t>(int,similarity::HnswNode *,const similarity::Space<dist_t> *,int)' being compiled
with
[
dist_t=int
]
.\similarity_search\include\method/hnsw.h(506): note: while compiling class template member function 'void
similarity::Hnsw<int>::link(similarity::HnswNode *,similarity::HnswNode *,int,const similarity::Space<dist_t> *,int)'
with
[
dist_t=int
]
.\similarity_search\include\method/hnsw.h(292): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of
data
.\similarity_search\include\method/hnsw.h(294): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of
data
.\similarity_search\include\thread_pool.h(69): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\src\method\hnsw.cc(217): note: see reference to function template instantiation 'void
similarity::ParallelFor<similarity::Hnsw<float>::CreateIndex::<lambda_db106ab6d3eac06c068368bc9886428f>>(size_t,size_t,size_t,Function)'
being compiled
with
[
Function=similarity::Hnsw<float>::CreateIndex::<lambda_db106ab6d3eac06c068368bc9886428f>
]
.\similarity_search\src\method\hnsw.cc(156): note: while compiling class template member function 'void
similarity::Hnsw<float>::CreateIndex(const similarity::AnyParams &)'
.\similarity_search\include\thread_pool.h(90): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\include\method/hnsw.h(175): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\src\method\hnsw.cc(284): note: see reference to function template instantiation 'void similarity::HnswNode::getNeigh
borsByHeuristic3<dist_t>(std::priority_queue<similarity::HnswNodeDistCloser<dist_t>,std::vector<similarity::HnswNodeDistCloser<dist_t>,std
::allocator<similarity::HnswNodeDistCloser<dist_t>>>,std::less<_Ty>> &,const int,const similarity::Space<dist_t> *,int)' being compiled
with
[
dist_t=float,
_Ty=similarity::HnswNodeDistCloser<float>
]
.\similarity_search\include\method/hnsw.h(195): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL
/DNDEBUG /MD -I.\similarity_search\include -Itensorflow
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\numpy\core\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\include -Ic:\users\flgeorg\appdata\local\programs\python\python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\cppwinrt /EHsc /Tp.\similarity_search\src\method\hnsw_distfunc_opt.cc
/Fobuild\temp.win-amd64-3.9\Release\.\similarity_search\src\method\hnsw_distfunc_opt.obj /EHsc /openmp /O2 /DVERSION_INFO=\"2.0.6\"
hnsw_distfunc_opt.cc
C:\Users\flgeorg\AppData\Local\Temp\pip-install-rkjp_62d\nmslib_0258cd9ee2574378b5024d6880a62727\similarity_search\include\object.h(127):
warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\include\method/hnsw.h(484): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of
data
.\similarity_search\include\method/hnsw.h(482): note: while compiling class template member function 'int
similarity::Hnsw<int>::getRandomLevel(double)'
.\similarity_search\src\method\hnsw_distfunc_opt.cc(871): note: see reference to class template instantiation 'similarity::Hnsw<int>'
being compiled
.\similarity_search\src\method\hnsw_distfunc_opt.cc(583): warning C4267: '=': conversion from 'size_t' to 'int_fast32_t', possible loss
of data
.\similarity_search\src\method\hnsw_distfunc_opt.cc(485): note: while compiling class template member function 'void
similarity::Hnsw<float>::SearchL2CustomV1Merge(similarity::KNNQuery<dist_t> *)'
with
[
dist_t=float
]
.\similarity_search\src\method\hnsw_distfunc_opt.cc(589): warning C4267: '=': conversion from 'size_t' to 'int_fast32_t', possible loss
of data
.\similarity_search\src\method\hnsw_distfunc_opt.cc(601): warning C4018: '<': signed/unsigned mismatch
.\similarity_search\src\method\hnsw_distfunc_opt.cc(843): warning C4267: '=': conversion from 'size_t' to 'int_fast32_t', possible loss
of data
.\similarity_search\src\method\hnsw_distfunc_opt.cc(732): note: while compiling class template member function 'void
similarity::Hnsw<float>::SearchCosineNormalizedV1Merge(similarity::KNNQuery<dist_t> *)'
with
[
dist_t=float
]
.\similarity_search\src\method\hnsw_distfunc_opt.cc(849): warning C4267: '=': conversion from 'size_t' to 'int_fast32_t', possible loss
of data
.\similarity_search\src\method\hnsw_distfunc_opt.cc(861): warning C4018: '<': signed/unsigned mismatch
.\similarity_search\src\method\hnsw_distfunc_opt.cc(496): warning C4244: 'initializing': conversion from 'float' to 'dist_t', possible
loss of data
with
[
dist_t=int
]
.\similarity_search\src\method\hnsw_distfunc_opt.cc(485): note: while compiling class template member function 'void
similarity::Hnsw<int>::SearchL2CustomV1Merge(similarity::KNNQuery<dist_t> *)'
with
[
dist_t=int
]
.\similarity_search\src\method\hnsw_distfunc_opt.cc(515): warning C4244: 'initializing': conversion from 'float' to 'dist_t', possible
loss of data
with
[
dist_t=int
]
.\similarity_search\src\method\hnsw_distfunc_opt.cc(564): warning C4244: 'initializing': conversion from 'float' to 'dist_t', possible
loss of data
with
[
dist_t=int
]
.\similarity_search\src\method\hnsw_distfunc_opt.cc(394): warning C4244: 'initializing': conversion from 'float' to 'dist_t', possible
loss of data
with
[
dist_t=int
]
.\similarity_search\src\method\hnsw_distfunc_opt.cc(383): note: while compiling class template member function 'void
similarity::Hnsw<int>::SearchL2CustomOld(similarity::KNNQuery<dist_t> *)'
with
[
dist_t=int
]
.\similarity_search\src\method\hnsw_distfunc_opt.cc(413): warning C4244: 'initializing': conversion from 'float' to 'dist_t', possible
loss of data
with
[
dist_t=int
]
.\similarity_search\src\method\hnsw_distfunc_opt.cc(463): warning C4244: 'initializing': conversion from 'float' to 'dist_t', possible
loss of data
with
[
dist_t=int
]
.\similarity_search\src\method\hnsw_distfunc_opt.cc(641): warning C4244: 'initializing': conversion from 'float' to 'dist_t', possible
loss of data
with
[
dist_t=int
]
.\similarity_search\src\method\hnsw_distfunc_opt.cc(618): note: while compiling class template member function 'void
similarity::Hnsw<int>::SearchCosineNormalizedOld(similarity::KNNQuery<dist_t> *)'
with
[
dist_t=int
]
.\similarity_search\src\method\hnsw_distfunc_opt.cc(660): warning C4244: 'initializing': conversion from 'float' to 'dist_t', possible
loss of data
with
[
dist_t=int
]
.\similarity_search\src\method\hnsw_distfunc_opt.cc(710): warning C4244: 'initializing': conversion from 'float' to 'dist_t', possible
loss of data
with
[
dist_t=int
]
.\similarity_search\src\method\hnsw_distfunc_opt.cc(755): warning C4244: 'initializing': conversion from 'float' to 'dist_t', possible
loss of data
with
[
dist_t=int
]
.\similarity_search\src\method\hnsw_distfunc_opt.cc(732): note: while compiling class template member function 'void
similarity::Hnsw<int>::SearchCosineNormalizedV1Merge(similarity::KNNQuery<dist_t> *)'
with
[
dist_t=int
]
.\similarity_search\src\method\hnsw_distfunc_opt.cc(774): warning C4244: 'initializing': conversion from 'float' to 'dist_t', possible
loss of data
with
[
dist_t=int
]
.\similarity_search\src\method\hnsw_distfunc_opt.cc(823): warning C4244: 'initializing': conversion from 'float' to 'dist_t', possible
loss of data
with
[
dist_t=int
]
.\similarity_search\include\method/hnsw.h(290): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of
data
.\similarity_search\include\method/hnsw.h(509): note: see reference to function template instantiation 'void
similarity::HnswNode::addFriendlevel<dist_t>(int,similarity::HnswNode *,const similarity::Space<dist_t> *,int)' being compiled
with
[
dist_t=int
]
.\similarity_search\include\method/hnsw.h(506): note: while compiling class template member function 'void
similarity::Hnsw<int>::link(similarity::HnswNode *,similarity::HnswNode *,int,const similarity::Space<dist_t> *,int)'
with
[
dist_t=int
]
.\similarity_search\include\method/hnsw.h(292): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of
data
.\similarity_search\include\method/hnsw.h(294): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of
data
.\similarity_search\include\method/hnsw.h(175): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\include\method/hnsw.h(294): note: see reference to function template instantiation 'void similarity::HnswNode::getNe
ighborsByHeuristic3<dist_t>(std::priority_queue<similarity::HnswNodeDistCloser<dist_t>,std::vector<similarity::HnswNodeDistCloser<dist_t>,
std::allocator<similarity::HnswNodeDistCloser<dist_t>>>,std::less<_Ty>> &,const int,const similarity::Space<dist_t> *,int)' being compiled
with
[
dist_t=int,
_Ty=similarity::HnswNodeDistCloser<int>
]
.\similarity_search\include\method/hnsw.h(509): note: see reference to function template instantiation 'void
similarity::HnswNode::addFriendlevel<dist_t>(int,similarity::HnswNode *,const similarity::Space<dist_t> *,int)' being compiled
with
[
dist_t=int
]
.\similarity_search\include\method/hnsw.h(195): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL
/DNDEBUG /MD -I.\similarity_search\include -Itensorflow
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\numpy\core\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\include -Ic:\users\flgeorg\appdata\local\programs\python\python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\cppwinrt /EHsc /Tp.\similarity_search\src\method\pivot_neighb_invindx.cc
/Fobuild\temp.win-amd64-3.9\Release\.\similarity_search\src\method\pivot_neighb_invindx.obj /EHsc /openmp /O2 /DVERSION_INFO=\"2.0.6\"
pivot_neighb_invindx.cc
C:\Users\flgeorg\AppData\Local\Temp\pip-install-rkjp_62d\nmslib_0258cd9ee2574378b5024d6880a62727\similarity_search\include\object.h(127):
warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\include\permutation_utils.h(175): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was
64-bit shift intended?)
.\similarity_search\include\method/pivot_neighb_common.h(57): warning C4267: 'argument': conversion from 'size_t' to 'int', possible
loss of data
.\similarity_search\src\method\pivot_neighb_invindx.cc(140): warning C4267: 'argument': conversion from 'size_t' to 'const
similarity::IdTypeUnsign', possible loss of data
.\similarity_search\src\method\pivot_neighb_invindx.cc(93): note: while compiling class template member function 'void
similarity::PivotNeighbInvertedIndex<float>::CreateIndex(const similarity::AnyParams &)'
.\similarity_search\src\method\pivot_neighb_invindx.cc(794): note: see reference to class template instantiation
'similarity::PivotNeighbInvertedIndex<float>' being compiled
.\similarity_search\src\method\pivot_neighb_invindx.cc(167): warning C4267: 'argument': conversion from 'size_t' to 'unsigned long',
possible loss of data
.\similarity_search\src\method\pivot_neighb_invindx.cc(183): warning C4267: 'argument': conversion from 'size_t' to 'unsigned long',
possible loss of data
.\similarity_search\src\method\pivot_neighb_invindx.cc(480): warning C4267: 'argument': conversion from 'size_t' to 'const
similarity::IdTypeUnsign', possible loss of data
.\similarity_search\src\method\pivot_neighb_invindx.cc(414): note: while compiling class template member function 'void
similarity::PivotNeighbInvertedIndex<float>::LoadIndex(const std::string &)'
.\similarity_search\src\method\pivot_neighb_invindx.cc(276): warning C4267: 'argument': conversion from 'size_t' to 'const _Ty',
possible loss of data
with
[
_Ty=std::seed_seq::result_type
]
.\similarity_search\src\method\pivot_neighb_invindx.cc(255): note: while compiling class template member function 'void
similarity::PivotNeighbInvertedIndex<float>::IndexChunk(size_t,similarity::ProgressDisplay *,std::mutex &)'
.\similarity_search\src\method\pivot_neighb_invindx.cc(169): note: see reference to function template instantiation 'void
similarity::PivotNeighbInvertedIndex<float>::IndexChunk(size_t,similarity::ProgressDisplay *,std::mutex &)' being compiled
.\similarity_search\src\method\pivot_neighb_invindx.cc(651): error C2065: '_MM_HINT_T0': undeclared identifier
.\similarity_search\src\method\pivot_neighb_invindx.cc(791): note: see reference to function template instantiation 'void
similarity::PivotNeighbInvertedIndex<float>::GenSearch<similarity::KNNQuery<dist_t>>(QueryType *,size_t) const' being compiled
with
[
dist_t=float,
QueryType=similarity::KNNQuery<float>
]
.\similarity_search\src\method\pivot_neighb_invindx.cc(791): note: see reference to function template instantiation 'void
similarity::PivotNeighbInvertedIndex<float>::GenSearch<similarity::KNNQuery<dist_t>>(QueryType *,size_t) const' being compiled
with
[
dist_t=float,
QueryType=similarity::KNNQuery<float>
]
.\similarity_search\src\method\pivot_neighb_invindx.cc(790): note: while compiling class template member function 'void
similarity::PivotNeighbInvertedIndex<float>::Search(similarity::KNNQuery<dist_t> *,similarity::IdType) const'
with
[
dist_t=float
]
.\similarity_search\src\method\pivot_neighb_invindx.cc(651): error C3861: '_mm_prefetch': identifier not found
.\similarity_search\src\method\pivot_neighb_invindx.cc(652): error C2065: '_MM_HINT_T0': undeclared identifier
.\similarity_search\src\method\pivot_neighb_invindx.cc(652): error C3861: '_mm_prefetch': identifier not found
.\similarity_search\src\method\pivot_neighb_invindx.cc(653): error C2065: '_MM_HINT_T0': undeclared identifier
.\similarity_search\src\method\pivot_neighb_invindx.cc(653): error C3861: '_mm_prefetch': identifier not found
.\similarity_search\src\method\pivot_neighb_invindx.cc(666): warning C4146: unary minus operator applied to unsigned type, result still
unsigned
.\similarity_search\src\method\pivot_neighb_invindx.cc(697): warning C4018: '<=': signed/unsigned mismatch
.\similarity_search\src\method\pivot_neighb_invindx.cc(700): warning C4146: unary minus operator applied to unsigned type, result still
unsigned
.\similarity_search\src\method\pivot_neighb_invindx.cc(709): error C2065: '_MM_HINT_T0': undeclared identifier
.\similarity_search\src\method\pivot_neighb_invindx.cc(709): error C3861: '_mm_prefetch': identifier not found
.\similarity_search\src\method\pivot_neighb_invindx.cc(710): error C2065: '_MM_HINT_T0': undeclared identifier
.\similarity_search\src\method\pivot_neighb_invindx.cc(710): error C3861: '_mm_prefetch': identifier not found
.\similarity_search\src\method\pivot_neighb_invindx.cc(711): error C2065: '_MM_HINT_T0': undeclared identifier
.\similarity_search\src\method\pivot_neighb_invindx.cc(711): error C3861: '_mm_prefetch': identifier not found
.\similarity_search\src\method\pivot_neighb_invindx.cc(726): warning C4146: unary minus operator applied to unsigned type, result still
unsigned
.\similarity_search\src\method\pivot_neighb_invindx.cc(741): warning C4146: unary minus operator applied to unsigned type, result still
unsigned
.\similarity_search\src\method\pivot_neighb_invindx.cc(756): error C2065: '_MM_HINT_T0': undeclared identifier
.\similarity_search\src\method\pivot_neighb_invindx.cc(756): error C3861: '_mm_prefetch': identifier not found
.\similarity_search\src\method\pivot_neighb_invindx.cc(757): error C2065: '_MM_HINT_T0': undeclared identifier
.\similarity_search\src\method\pivot_neighb_invindx.cc(757): error C3861: '_mm_prefetch': identifier not found
.\similarity_search\src\method\pivot_neighb_invindx.cc(758): error C2065: '_MM_HINT_T0': undeclared identifier
.\similarity_search\src\method\pivot_neighb_invindx.cc(758): error C3861: '_mm_prefetch': identifier not found
C:\Users\flgeorg\AppData\Local\Temp\pip-install-rkjp_62d\nmslib_0258cd9ee2574378b5024d6880a62727\similarity_search\include\params.h(188):
warning C4244: '=': conversion from 'const DefaultType' to 'ParamType', possible loss of data
with
[
DefaultType=double
]
and
[
ParamType=float
]
.\similarity_search\src\method\pivot_neighb_invindx.cc(340): note: see reference to function template instantiation 'void
similarity::AnyParamManager::GetParamOptional<float,double>(const std::string &,ParamType &,const DefaultType &)' being compiled
with
[
ParamType=float,
DefaultType=double
]
.\similarity_search\src\method\pivot_neighb_invindx.cc(296): note: while compiling class template member function 'void
similarity::PivotNeighbInvertedIndex<float>::SetQueryTimeParams(const similarity::AnyParams &)'
error: command 'C:\\Program Files (x86)\\Microsoft Visual
Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29333\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
----------------------------------------
ERROR: Failed building wheel for nmslib
ERROR: Command errored out with exit status 1:
command: 'c:\users\flgeorg\appdata\local\programs\python\python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] =
'"'"'C:\\Users\\flgeorg\\AppData\\Local\\Temp\\pip-install-rkjp_62d\\nmslib_0258cd9ee2574378b5024d6880a62727\\setup.py'"'"'; __file__='"'"
'C:\\Users\\flgeorg\\AppData\\Local\\Temp\\pip-install-rkjp_62d\\nmslib_0258cd9ee2574378b5024d6880a62727\\setup.py'"'"';f=getattr(tokenize
, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__,
'"'"'exec'"'"'))' install --record 'C:\Users\flgeorg\AppData\Local\Temp\pip-record-i1d0av5n\install-record.txt'
--single-version-externally-managed --compile --install-headers 'c:\users\flgeorg\appdata\local\programs\python\python39\Include\nmslib'
cwd: C:\Users\flgeorg\AppData\Local\Temp\pip-install-rkjp_62d\nmslib_0258cd9ee2574378b5024d6880a62727\
Complete output (483 lines):
Dependence list: ['pybind11>=2.2.3', 'psutil', 'numpy>=1.10.0']
running install
running build
running build_ext
Extra compilation arguments: ['/EHsc', '/openmp', '/O2', '/DVERSION_INFO=\\"2.0.6\\"']
building 'nmslib' extension
creating build
creating build\temp.win-amd64-3.9
creating build\temp.win-amd64-3.9\Release
creating build\temp.win-amd64-3.9\Release\similarity_search
creating build\temp.win-amd64-3.9\Release\similarity_search\src
creating build\temp.win-amd64-3.9\Release\similarity_search\src\method
creating build\temp.win-amd64-3.9\Release\similarity_search\src\space
creating build\temp.win-amd64-3.9\Release\tensorflow
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL
/DNDEBUG /MD -I.\similarity_search\include -Itensorflow
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\numpy\core\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\include -Ic:\users\flgeorg\appdata\local\programs\python\python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\cppwinrt /EHsc /Tp.\similarity_search\src\distcomp_bregman.cc
/Fobuild\temp.win-amd64-3.9\Release\.\similarity_search\src\distcomp_bregman.obj /EHsc /openmp /O2 /DVERSION_INFO=\"2.0.6\"
distcomp_bregman.cc
.\similarity_search\include\distcomp.h(260): warning C4244: 'initializing': conversion from 'size_t' to 'float', possible loss of data
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL
/DNDEBUG /MD -I.\similarity_search\include -Itensorflow
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\numpy\core\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\include -Ic:\users\flgeorg\appdata\local\programs\python\python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\cppwinrt /EHsc /Tp.\similarity_search\src\distcomp_diverg.cc
/Fobuild\temp.win-amd64-3.9\Release\.\similarity_search\src\distcomp_diverg.obj /EHsc /openmp /O2 /DVERSION_INFO=\"2.0.6\"
distcomp_diverg.cc
.\similarity_search\include\distcomp.h(260): warning C4244: 'initializing': conversion from 'size_t' to 'float', possible loss of data
.\similarity_search\src\distcomp_diverg.cc(61): warning C4244: '+=': conversion from 'double' to 'T', possible loss of data
with
[
T=float
]
.\similarity_search\src\distcomp_diverg.cc(66): note: see reference to function template instantiation 'float
similarity::alphaBetaDivergenceSlowProxy<float>(const float *,const float *,const int,float,float)' being compiled
.\similarity_search\src\distcomp_diverg.cc(74): warning C4244: '+=': conversion from 'double' to 'T', possible loss of data
with
[
T=float
]
.\similarity_search\src\distcomp_diverg.cc(79): note: see reference to function template instantiation 'float
similarity::alphaBetaDivergenceFastProxy<float>(const float *,const float *,const int,float,float)' being compiled
.\similarity_search\src\distcomp_diverg.cc(84): warning C4305: 'initializing': truncation from 'double' to 'T'
with
[
T=float
]
.\similarity_search\src\distcomp_diverg.cc(95): note: see reference to function template instantiation 'float
similarity::renyiDivergenceSlow<float>(const float *,const float *,const int,float)' being compiled
.\similarity_search\src\distcomp_diverg.cc(101): warning C4305: 'initializing': truncation from 'double' to 'T'
with
[
T=float
]
.\similarity_search\src\distcomp_diverg.cc(111): note: see reference to function template instantiation 'float
similarity::renyiDivergenceFast<float>(const float *,const float *,const int,float)' being compiled
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL
/DNDEBUG /MD -I.\similarity_search\include -Itensorflow
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\numpy\core\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\include -Ic:\users\flgeorg\appdata\local\programs\python\python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\cppwinrt /EHsc /Tp.\similarity_search\src\distcomp_edist.cc
/Fobuild\temp.win-amd64-3.9\Release\.\similarity_search\src\distcomp_edist.obj /EHsc /openmp /O2 /DVERSION_INFO=\"2.0.6\"
distcomp_edist.cc
.\similarity_search\include\distcomp.h(260): warning C4244: 'initializing': conversion from 'size_t' to 'float', possible loss of data
.\similarity_search\src\distcomp_edist.cc(39): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\src\distcomp_edist.cc(76): note: see reference to function template instantiation 'int
similarity::levenshtein<char>(const char *,size_t,const char *,size_t)' being compiled
.\similarity_search\src\distcomp_edist.cc(49): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\src\distcomp_edist.cc(57): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL
/DNDEBUG /MD -I.\similarity_search\include -Itensorflow
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\numpy\core\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\include -Ic:\users\flgeorg\appdata\local\programs\python\python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\cppwinrt /EHsc /Tp.\similarity_search\src\distcomp_js.cc
/Fobuild\temp.win-amd64-3.9\Release\.\similarity_search\src\distcomp_js.obj /EHsc /openmp /O2 /DVERSION_INFO=\"2.0.6\"
distcomp_js.cc
.\similarity_search\include\distcomp.h(260): warning C4244: 'initializing': conversion from 'size_t' to 'float', possible loss of data
.\similarity_search\src\distcomp_js.cc(226): warning C4244: 'return': conversion from 'double' to 'float', possible loss of data
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL
/DNDEBUG /MD -I.\similarity_search\include -Itensorflow
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\numpy\core\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\include -Ic:\users\flgeorg\appdata\local\programs\python\python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\cppwinrt /EHsc /Tp.\similarity_search\src\distcomp_l2sqr_sift.cc
/Fobuild\temp.win-amd64-3.9\Release\.\similarity_search\src\distcomp_l2sqr_sift.obj /EHsc /openmp /O2 /DVERSION_INFO=\"2.0.6\"
distcomp_l2sqr_sift.cc
.\similarity_search\include\distcomp.h(260): warning C4244: 'initializing': conversion from 'size_t' to 'float', possible loss of data
.\similarity_search\src\distcomp_l2sqr_sift.cc(89): warning C4267: 'initializing': conversion from 'size_t' to 'uint_fast32_t',
possible loss of data
.\similarity_search\src\distcomp_l2sqr_sift.cc(103) : WARNING: l2SqrSIFTPrecompAVX: AVX2 is not available
.\similarity_search\src\distcomp_l2sqr_sift.cc(105) : WARNING: l2SqrSIFTPrecompAVX: SSE4 is not available
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL
/DNDEBUG /MD -I.\similarity_search\include -Itensorflow
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\numpy\core\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\include -Ic:\users\flgeorg\appdata\local\programs\python\python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\cppwinrt /EHsc /Tp.\similarity_search\src\distcomp_lp.cc
/Fobuild\temp.win-amd64-3.9\Release\.\similarity_search\src\distcomp_lp.obj /EHsc /openmp /O2 /DVERSION_INFO=\"2.0.6\"
distcomp_lp.cc
.\similarity_search\include\distcomp.h(260): warning C4244: 'initializing': conversion from 'size_t' to 'float', possible loss of data
.\similarity_search\src\distcomp_lp.cc(249): warning C4244: 'return': conversion from 'double' to 'float', possible loss of data
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL
/DNDEBUG /MD -I.\similarity_search\include -Itensorflow
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\numpy\core\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\include -Ic:\users\flgeorg\appdata\local\programs\python\python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\cppwinrt /EHsc /Tp.\similarity_search\src\distcomp_overlap.cc
/Fobuild\temp.win-amd64-3.9\Release\.\similarity_search\src\distcomp_overlap.obj /EHsc /openmp /O2 /DVERSION_INFO=\"2.0.6\"
distcomp_overlap.cc
.\similarity_search\include\distcomp.h(260): warning C4244: 'initializing': conversion from 'size_t' to 'float', possible loss of data
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL
/DNDEBUG /MD -I.\similarity_search\include -Itensorflow
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\numpy\core\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\include -Ic:\users\flgeorg\appdata\local\programs\python\python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\cppwinrt /EHsc /Tp.\similarity_search\src\distcomp_rankcorr.cc
/Fobuild\temp.win-amd64-3.9\Release\.\similarity_search\src\distcomp_rankcorr.obj /EHsc /openmp /O2 /DVERSION_INFO=\"2.0.6\"
distcomp_rankcorr.cc
.\similarity_search\include\distcomp.h(260): warning C4244: 'initializing': conversion from 'size_t' to 'float', possible loss of data
.\similarity_search\src\distcomp_rankcorr.cc(40) : WARNING: SpearmanFootruleSIMD: SSE4.2 is not available, defaulting to pure C++
implementation!
.\similarity_search\src\distcomp_rankcorr.cc(112) : WARNING: SpearmanRhoSIMD: SSE4.2 is not available, defaulting to pure C++
implementation!
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL
/DNDEBUG /MD -I.\similarity_search\include -Itensorflow
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\numpy\core\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\include -Ic:\users\flgeorg\appdata\local\programs\python\python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\cppwinrt /EHsc /Tp.\similarity_search\src\distcomp_scalar.cc
/Fobuild\temp.win-amd64-3.9\Release\.\similarity_search\src\distcomp_scalar.obj /EHsc /openmp /O2 /DVERSION_INFO=\"2.0.6\"
distcomp_scalar.cc
.\similarity_search\include\distcomp.h(260): warning C4244: 'initializing': conversion from 'size_t' to 'float', possible loss of data
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL
/DNDEBUG /MD -I.\similarity_search\include -Itensorflow
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\numpy\core\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\include -Ic:\users\flgeorg\appdata\local\programs\python\python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\cppwinrt /EHsc /Tp.\similarity_search\src\distcomp_sparse_scalar_fast.cc
/Fobuild\temp.win-amd64-3.9\Release\.\similarity_search\src\distcomp_sparse_scalar_fast.obj /EHsc /openmp /O2 /DVERSION_INFO=\"2.0.6\"
distcomp_sparse_scalar_fast.cc
.\similarity_search\include\object.h(127): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\include\distcomp.h(260): warning C4244: 'initializing': conversion from 'size_t' to 'float', possible loss of data
.\similarity_search\src\distcomp_sparse_scalar_fast.cc(231) : WARNING: No SSE 4.2, defaulting to scalar implementation!
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL
/DNDEBUG /MD -I.\similarity_search\include -Itensorflow
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\numpy\core\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\include -Ic:\users\flgeorg\appdata\local\programs\python\python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\cppwinrt /EHsc /Tp.\similarity_search\src\experimentconf.cc
/Fobuild\temp.win-amd64-3.9\Release\.\similarity_search\src\experimentconf.obj /EHsc /openmp /O2 /DVERSION_INFO=\"2.0.6\"
experimentconf.cc
C:\Users\flgeorg\AppData\Local\Temp\pip-install-rkjp_62d\nmslib_0258cd9ee2574378b5024d6880a62727\similarity_search\include\object.h(127):
warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\src\experimentconf.cc(218): warning C4267: 'initializing': conversion from 'size_t' to 'unsigned int', possible
loss of data
.\similarity_search\src\experimentconf.cc(201): note: while compiling class template member function 'void
similarity::ExperimentConfig<float>::Write(std::ostream &,std::ostream &)'
.\similarity_search\src\experimentconf.cc(428): note: see reference to class template instantiation
'similarity::ExperimentConfig<float>' being compiled
.\similarity_search\src\experimentconf.cc(232): warning C4018: '>=': signed/unsigned mismatch
.\similarity_search\src\experimentconf.cc(241): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data
.\similarity_search\src\experimentconf.cc(388): warning C4267: '=': conversion from 'size_t' to '_Ty', possible loss of data
with
[
_Ty=similarity::IdType
]
.\similarity_search\src\experimentconf.cc(341): note: while compiling class template member function 'void
similarity::ExperimentConfig<float>::ReadDataset(void)'
.\similarity_search\src\experimentconf.cc(139): warning C4244: 'argument': conversion from 'float' to 'const T', possible loss of data
with
[
T=int
]
.\similarity_search\src\experimentconf.cc(50): note: while compiling class template member function 'void
similarity::ExperimentConfig<int>::Read(std::istream &,std::istream &,size_t &)'
.\similarity_search\src\experimentconf.cc(139): warning C4244: 'argument': conversion from 'float' to 'const T', possible loss of data
with
[
T=int
]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL
/DNDEBUG /MD -I.\similarity_search\include -Itensorflow
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\numpy\core\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\include -Ic:\users\flgeorg\appdata\local\programs\python\python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\cppwinrt /EHsc /Tp.\similarity_search\src\global.cc
/Fobuild\temp.win-amd64-3.9\Release\.\similarity_search\src\global.obj /EHsc /openmp /O2 /DVERSION_INFO=\"2.0.6\"
global.cc
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL
/DNDEBUG /MD -I.\similarity_search\include -Itensorflow
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\numpy\core\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\include -Ic:\users\flgeorg\appdata\local\programs\python\python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\cppwinrt /EHsc /Tp.\similarity_search\src\init.cc
/Fobuild\temp.win-amd64-3.9\Release\.\similarity_search\src\init.obj /EHsc /openmp /O2 /DVERSION_INFO=\"2.0.6\"
init.cc
C:\Users\flgeorg\AppData\Local\Temp\pip-install-rkjp_62d\nmslib_0258cd9ee2574378b5024d6880a62727\similarity_search\include\object.h(127):
warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\include\permutation_utils.h(175): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits
(was 64-bit shift intended?)
.\similarity_search\include\method/pivot_neighb_common.h(57): warning C4267: 'argument': conversion from 'size_t' to 'int', possible
loss of data
.\similarity_search\include\method/small_world_rand.h(90): warning C4267: 'initializing': conversion from 'size_t' to
'similarity::IdType', possible loss of data
.\similarity_search\include\distcomp.h(260): warning C4244: 'initializing': conversion from 'size_t' to 'float', possible loss of data
C:\Users\flgeorg\AppData\Local\Temp\pip-install-rkjp_62d\nmslib_0258cd9ee2574378b5024d6880a62727\similarity_search\include\space\space
_bit_vector.h(143): warning C4267: 'argument': conversion from 'size_t' to '_Ty', possible loss of data
with
[
_Ty=std::seed_seq::result_type
]
C:\Users\flgeorg\AppData\Local\Temp\pip-install-rkjp_62d\nmslib_0258cd9ee2574378b5024d6880a62727\similarity_search\include\space\space
_bit_vector.h(142): note: while compiling class template member function 'similarity::Object *similarity::SpaceBitVector<dist_t,dist_uint_
t>::CreateObjFromVect(similarity::IdType,similarity::LabelType,std::vector<std::seed_seq::result_type,std::allocator<std::seed_seq::result
_type>> &) const'
with
[
dist_t=float,
dist_uint_t=uint32_t
]
.\similarity_search\include\space/space_bit_jaccard.h(35): note: see reference to class template instantiation
'similarity::SpaceBitVector<dist_t,dist_uint_t>' being compiled
with
[
dist_t=float,
dist_uint_t=uint32_t
]
.\similarity_search\include\factory/space/space_bit_jaccard.h(28): note: see reference to class template instantiation
'similarity::SpaceBitJaccard<dist_t,dist_uint_t>' being compiled
with
[
dist_t=float,
dist_uint_t=uint32_t
]
.\similarity_search\include\factory/init_spaces.h(48): note: see reference to function template instantiation
'similarity::Space<float> *similarity::CreateBitJaccard<float,uint32_t>(const similarity::AnyParams &)' being compiled
C:\Users\flgeorg\AppData\Local\Temp\pip-install-rkjp_62d\nmslib_0258cd9ee2574378b5024d6880a62727\similarity_search\include\space\space
_bit_vector.h(60): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data
C:\Users\flgeorg\AppData\Local\Temp\pip-install-rkjp_62d\nmslib_0258cd9ee2574378b5024d6880a62727\similarity_search\include\space\space
_bit_vector.h(47): note: while compiling class template member function
'std::unique_ptr<similarity::Object,std::default_delete<similarity::Object>>
similarity::SpaceBitVector<dist_t,dist_uint_t>::CreateObjFromStr(similarity::IdType,similarity::LabelType,const std::string
&,similarity::DataFileInputState *) const'
with
[
dist_t=float,
dist_uint_t=uint32_t
]
C:\Users\flgeorg\AppData\Local\Temp\pip-install-rkjp_62d\nmslib_0258cd9ee2574378b5024d6880a62727\similarity_search\include\space\space
_bit_vector.h(201): warning C4267: 'argument': conversion from 'size_t' to '_Ty', possible loss of data
with
[
_Ty=std::seed_seq::result_type
]
C:\Users\flgeorg\AppData\Local\Temp\pip-install-rkjp_62d\nmslib_0258cd9ee2574378b5024d6880a62727\similarity_search\include\space\space
_bit_vector.h(156): note: while compiling class template member function 'void
similarity::SpaceBitVector<dist_t,dist_uint_t>::ReadBitMaskVect(std::string,similarity::LabelType
&,std::vector<std::seed_seq::result_type,std::allocator<std::seed_seq::result_type>> &) const'
with
[
dist_t=float,
dist_uint_t=uint32_t
]
C:\Users\flgeorg\AppData\Local\Temp\pip-install-rkjp_62d\nmslib_0258cd9ee2574378b5024d6880a62727\similarity_search\include\space\space
_bit_vector.h(57): note: see reference to function template instantiation 'void
similarity::SpaceBitVector<dist_t,dist_uint_t>::ReadBitMaskVect(std::string,similarity::LabelType
&,std::vector<std::seed_seq::result_type,std::allocator<std::seed_seq::result_type>> &) const' being compiled
with
[
dist_t=float,
dist_uint_t=uint32_t
]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL
/DNDEBUG /MD -I.\similarity_search\include -Itensorflow
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\numpy\core\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\include -Ic:\users\flgeorg\appdata\local\programs\python\python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\cppwinrt /EHsc /Tp.\similarity_search\src\knnquery.cc
/Fobuild\temp.win-amd64-3.9\Release\.\similarity_search\src\knnquery.obj /EHsc /openmp /O2 /DVERSION_INFO=\"2.0.6\"
knnquery.cc
C:\Users\flgeorg\AppData\Local\Temp\pip-install-rkjp_62d\nmslib_0258cd9ee2574378b5024d6880a62727\similarity_search\include\object.h(127):
warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\src\knnquery.cc(63): warning C4267: 'return': conversion from 'size_t' to 'unsigned int', possible loss of data
.\similarity_search\src\knnquery.cc(62): note: while compiling class template member function 'unsigned int
similarity::KNNQuery<float>::ResultSize(void) const'
.\similarity_search\src\knnquery.cc(134): note: see reference to class template instantiation 'similarity::KNNQuery<float>' being
compiled
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL
/DNDEBUG /MD -I.\similarity_search\include -Itensorflow
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\numpy\core\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\include -Ic:\users\flgeorg\appdata\local\programs\python\python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\cppwinrt /EHsc /Tp.\similarity_search\src\logging.cc
/Fobuild\temp.win-amd64-3.9\Release\.\similarity_search\src\logging.obj /EHsc /openmp /O2 /DVERSION_INFO=\"2.0.6\"
logging.cc
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL
/DNDEBUG /MD -I.\similarity_search\include -Itensorflow
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\numpy\core\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\include -Ic:\users\flgeorg\appdata\local\programs\python\python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\cppwinrt /EHsc /Tp.\similarity_search\src\memory.cc
/Fobuild\temp.win-amd64-3.9\Release\.\similarity_search\src\memory.obj /EHsc /openmp /O2 /DVERSION_INFO=\"2.0.6\"
memory.cc
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL
/DNDEBUG /MD -I.\similarity_search\include -Itensorflow
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\numpy\core\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\include -Ic:\users\flgeorg\appdata\local\programs\python\python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\cppwinrt /EHsc /Tp.\similarity_search\src\method\dummy.cc
/Fobuild\temp.win-amd64-3.9\Release\.\similarity_search\src\method\dummy.obj /EHsc /openmp /O2 /DVERSION_INFO=\"2.0.6\"
dummy.cc
C:\Users\flgeorg\AppData\Local\Temp\pip-install-rkjp_62d\nmslib_0258cd9ee2574378b5024d6880a62727\similarity_search\include\object.h(127):
warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL
/DNDEBUG /MD -I.\similarity_search\include -Itensorflow
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\numpy\core\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\include -Ic:\users\flgeorg\appdata\local\programs\python\python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\cppwinrt /EHsc /Tp.\similarity_search\src\method\hnsw.cc
/Fobuild\temp.win-amd64-3.9\Release\.\similarity_search\src\method\hnsw.obj /EHsc /openmp /O2 /DVERSION_INFO=\"2.0.6\"
hnsw.cc
C:\Users\flgeorg\AppData\Local\Temp\pip-install-rkjp_62d\nmslib_0258cd9ee2574378b5024d6880a62727\similarity_search\include\object.h(127):
warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\include\distcomp.h(260): warning C4244: 'initializing': conversion from 'size_t' to 'float', possible loss of data
.\similarity_search\include\method/hnsw.h(484): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of
data
.\similarity_search\include\method/hnsw.h(482): note: while compiling class template member function 'int
similarity::Hnsw<int>::getRandomLevel(double)'
.\similarity_search\src\method\hnsw.cc(1422): note: see reference to class template instantiation 'similarity::Hnsw<int>' being
compiled
.\similarity_search\src\method\hnsw.cc(199): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\src\method\hnsw.cc(156): note: while compiling class template member function 'void
similarity::Hnsw<float>::CreateIndex(const similarity::AnyParams &)'
.\similarity_search\src\method\hnsw.cc(204): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\src\method\hnsw.cc(206): warning C4267: 'argument': conversion from 'size_t' to 'unsigned long', possible loss of
data
.\similarity_search\src\method\hnsw.cc(226): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\src\method\hnsw.cc(231): warning C4267: 'argument': conversion from 'size_t' to 'unsigned long', possible loss of
data
.\similarity_search\src\method\hnsw.cc(236): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\src\method\hnsw.cc(264): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\src\method\hnsw.cc(269): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\src\method\hnsw.cc(281): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of data
.\similarity_search\src\method\hnsw.cc(284): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of data
.\similarity_search\src\method\hnsw.cc(294): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\src\method\hnsw.cc(315): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data
.\similarity_search\src\method\hnsw.cc(323): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\src\method\hnsw.cc(329): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\src\method\hnsw.cc(425): warning C4267: 'initializing': conversion from 'size_t' to 'similarity::SIZEMASS_TYPE',
possible loss of data
.\similarity_search\src\method\hnsw.cc(1221): warning C4267: 'initializing': conversion from 'size_t' to 'similarity::IdType',
possible loss of data
.\similarity_search\src\method\hnsw.cc(1153): note: while compiling class template member function 'void
similarity::Hnsw<float>::baseSearchAlgorithmV1Merge(similarity::KNNQuery<dist_t> *)'
with
[
dist_t=float
]
.\similarity_search\src\method\hnsw.cc(701): note: see reference to function template instantiation 'void
similarity::Hnsw<float>::baseSearchAlgorithmV1Merge(similarity::KNNQuery<dist_t> *)' being compiled
with
[
dist_t=float
]
.\similarity_search\src\method\hnsw.cc(1253): warning C4267: '=': conversion from 'size_t' to 'int_fast32_t', possible loss of data
.\similarity_search\src\method\hnsw.cc(1261): warning C4267: '=': conversion from 'size_t' to 'int_fast32_t', possible loss of data
.\similarity_search\src\method\hnsw.cc(754): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data
.\similarity_search\src\method\hnsw.cc(753): note: while compiling class template member function 'void
similarity::Hnsw<float>::SaveOptimizedIndex(std::ostream &)'
.\similarity_search\src\method\hnsw.cc(745): note: see reference to function template instantiation 'void
similarity::Hnsw<float>::SaveOptimizedIndex(std::ostream &)' being compiled
.\similarity_search\src\method\hnsw.cc(777): warning C4267: 'initializing': conversion from 'size_t' to 'similarity::SIZEMASS_TYPE',
possible loss of data
.\similarity_search\src\method\hnsw.cc(788): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data
.\similarity_search\src\method\hnsw.cc(787): note: while compiling class template member function 'void
similarity::Hnsw<float>::SaveRegularIndexBin(std::ostream &)'
.\similarity_search\src\method\hnsw.cc(741): note: see reference to function template instantiation 'void
similarity::Hnsw<float>::SaveRegularIndexBin(std::ostream &)' being compiled
.\similarity_search\src\method\hnsw.cc(809): warning C4267: 'initializing': conversion from 'size_t' to 'unsigned int', possible loss
of data
.\similarity_search\src\method\hnsw.cc(812): warning C4267: 'initializing': conversion from 'size_t' to 'similarity::IdType',
possible loss of data
.\similarity_search\src\method\hnsw.cc(960): warning C4018: '<': signed/unsigned mismatch
.\similarity_search\src\method\hnsw.cc(920): note: while compiling class template member function 'void
similarity::Hnsw<float>::LoadRegularIndexBin(std::istream &)'
.\similarity_search\src\method\hnsw.cc(986): note: see reference to function template instantiation 'void
similarity::Hnsw<float>::LoadRegularIndexBin(std::istream &)' being compiled
.\similarity_search\src\method\hnsw.cc(825): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data
.\similarity_search\src\method\hnsw.cc(821): note: while compiling class template member function 'void
similarity::Hnsw<float>::SaveRegularIndexText(std::ostream &)'
.\similarity_search\src\method\hnsw.cc(848): warning C4267: 'initializing': conversion from 'size_t' to 'unsigned int', possible loss
of data
.\similarity_search\src\method\hnsw.cc(852): warning C4267: '=': conversion from 'size_t' to '_Ty', possible loss of data
with
[
_Ty=similarity::IdType
]
.\similarity_search\src\method\hnsw.cc(898): warning C4267: 'initializing': conversion from 'size_t' to 'unsigned int', possible loss
of data
.\similarity_search\src\method\hnsw.cc(863): note: while compiling class template member function 'void
similarity::Hnsw<float>::LoadRegularIndexText(std::istream &)'
.\similarity_search\src\method\hnsw.cc(904): warning C4018: '<': signed/unsigned mismatch
.\similarity_search\src\method\hnsw.cc(509): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\src\method\hnsw.cc(503): note: while compiling class template member function 'void
similarity::Hnsw<float>::add(const similarity::Space<dist_t> *,similarity::HnswNode *)'
with
[
dist_t=float
]
.\similarity_search\src\method\hnsw.cc(210): note: see reference to function template instantiation 'void
similarity::Hnsw<float>::add(const similarity::Space<dist_t> *,similarity::HnswNode *)' being compiled
with
[
dist_t=float
]
.\similarity_search\src\method\hnsw.cc(525): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\src\method\hnsw.cc(554): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of data
.\similarity_search\src\method\hnsw.cc(557): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of data
.\similarity_search\src\method\hnsw.cc(560): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of data
.\similarity_search\include\method/hnsw.h(290): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of
data
.\similarity_search\include\method/hnsw.h(509): note: see reference to function template instantiation 'void
similarity::HnswNode::addFriendlevel<dist_t>(int,similarity::HnswNode *,const similarity::Space<dist_t> *,int)' being compiled
with
[
dist_t=int
]
.\similarity_search\include\method/hnsw.h(506): note: while compiling class template member function 'void
similarity::Hnsw<int>::link(similarity::HnswNode *,similarity::HnswNode *,int,const similarity::Space<dist_t> *,int)'
with
[
dist_t=int
]
.\similarity_search\include\method/hnsw.h(292): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of
data
.\similarity_search\include\method/hnsw.h(294): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of
data
.\similarity_search\include\thread_pool.h(69): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\src\method\hnsw.cc(217): note: see reference to function template instantiation 'void
similarity::ParallelFor<similarity::Hnsw<float>::CreateIndex::<lambda_db106ab6d3eac06c068368bc9886428f>>(size_t,size_t,size_t,Function)'
being compiled
with
[
Function=similarity::Hnsw<float>::CreateIndex::<lambda_db106ab6d3eac06c068368bc9886428f>
]
.\similarity_search\src\method\hnsw.cc(156): note: while compiling class template member function 'void
similarity::Hnsw<float>::CreateIndex(const similarity::AnyParams &)'
.\similarity_search\include\thread_pool.h(90): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\include\method/hnsw.h(175): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of
data
.\similarity_search\src\method\hnsw.cc(284): note: see reference to function template instantiation 'void similarity::HnswNode::getNei
ghborsByHeuristic3<dist_t>(std::priority_queue<similarity::HnswNodeDistCloser<dist_t>,std::vector<similarity::HnswNodeDistCloser<dist_t>,s
td::allocator<similarity::HnswNodeDistCloser<dist_t>>>,std::less<_Ty>> &,const int,const similarity::Space<dist_t> *,int)' being compiled
with
[
dist_t=float,
_Ty=similarity::HnswNodeDistCloser<float>
]
.\similarity_search\include\method/hnsw.h(195): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of
data
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL
/DNDEBUG /MD -I.\similarity_search\include -Itensorflow
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\numpy\core\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\include -Ic:\users\flgeorg\appdata\local\programs\python\python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\cppwinrt /EHsc /Tp.\similarity_search\src\method\hnsw_distfunc_opt.cc
/Fobuild\temp.win-amd64-3.9\Release\.\similarity_search\src\method\hnsw_distfunc_opt.obj /EHsc /openmp /O2 /DVERSION_INFO=\"2.0.6\"
hnsw_distfunc_opt.cc
C:\Users\flgeorg\AppData\Local\Temp\pip-install-rkjp_62d\nmslib_0258cd9ee2574378b5024d6880a62727\similarity_search\include\object.h(127):
warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\include\method/hnsw.h(484): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of
data
.\similarity_search\include\method/hnsw.h(482): note: while compiling class template member function 'int
similarity::Hnsw<int>::getRandomLevel(double)'
.\similarity_search\src\method\hnsw_distfunc_opt.cc(871): note: see reference to class template instantiation 'similarity::Hnsw<int>'
being compiled
.\similarity_search\src\method\hnsw_distfunc_opt.cc(583): warning C4267: '=': conversion from 'size_t' to 'int_fast32_t', possible
loss of data
.\similarity_search\src\method\hnsw_distfunc_opt.cc(485): note: while compiling class template member function 'void
similarity::Hnsw<float>::SearchL2CustomV1Merge(similarity::KNNQuery<dist_t> *)'
with
[
dist_t=float
]
.\similarity_search\src\method\hnsw_distfunc_opt.cc(589): warning C4267: '=': conversion from 'size_t' to 'int_fast32_t', possible
loss of data
.\similarity_search\src\method\hnsw_distfunc_opt.cc(601): warning C4018: '<': signed/unsigned mismatch
.\similarity_search\src\method\hnsw_distfunc_opt.cc(843): warning C4267: '=': conversion from 'size_t' to 'int_fast32_t', possible
loss of data
.\similarity_search\src\method\hnsw_distfunc_opt.cc(732): note: while compiling class template member function 'void
similarity::Hnsw<float>::SearchCosineNormalizedV1Merge(similarity::KNNQuery<dist_t> *)'
with
[
dist_t=float
]
.\similarity_search\src\method\hnsw_distfunc_opt.cc(849): warning C4267: '=': conversion from 'size_t' to 'int_fast32_t', possible
loss of data
.\similarity_search\src\method\hnsw_distfunc_opt.cc(861): warning C4018: '<': signed/unsigned mismatch
.\similarity_search\src\method\hnsw_distfunc_opt.cc(496): warning C4244: 'initializing': conversion from 'float' to 'dist_t',
possible loss of data
with
[
dist_t=int
]
.\similarity_search\src\method\hnsw_distfunc_opt.cc(485): note: while compiling class template member function 'void
similarity::Hnsw<int>::SearchL2CustomV1Merge(similarity::KNNQuery<dist_t> *)'
with
[
dist_t=int
]
.\similarity_search\src\method\hnsw_distfunc_opt.cc(515): warning C4244: 'initializing': conversion from 'float' to 'dist_t',
possible loss of data
with
[
dist_t=int
]
.\similarity_search\src\method\hnsw_distfunc_opt.cc(564): warning C4244: 'initializing': conversion from 'float' to 'dist_t',
possible loss of data
with
[
dist_t=int
]
.\similarity_search\src\method\hnsw_distfunc_opt.cc(394): warning C4244: 'initializing': conversion from 'float' to 'dist_t',
possible loss of data
with
[
dist_t=int
]
.\similarity_search\src\method\hnsw_distfunc_opt.cc(383): note: while compiling class template member function 'void
similarity::Hnsw<int>::SearchL2CustomOld(similarity::KNNQuery<dist_t> *)'
with
[
dist_t=int
]
.\similarity_search\src\method\hnsw_distfunc_opt.cc(413): warning C4244: 'initializing': conversion from 'float' to 'dist_t',
possible loss of data
with
[
dist_t=int
]
.\similarity_search\src\method\hnsw_distfunc_opt.cc(463): warning C4244: 'initializing': conversion from 'float' to 'dist_t',
possible loss of data
with
[
dist_t=int
]
.\similarity_search\src\method\hnsw_distfunc_opt.cc(641): warning C4244: 'initializing': conversion from 'float' to 'dist_t',
possible loss of data
with
[
dist_t=int
]
.\similarity_search\src\method\hnsw_distfunc_opt.cc(618): note: while compiling class template member function 'void
similarity::Hnsw<int>::SearchCosineNormalizedOld(similarity::KNNQuery<dist_t> *)'
with
[
dist_t=int
]
.\similarity_search\src\method\hnsw_distfunc_opt.cc(660): warning C4244: 'initializing': conversion from 'float' to 'dist_t',
possible loss of data
with
[
dist_t=int
]
.\similarity_search\src\method\hnsw_distfunc_opt.cc(710): warning C4244: 'initializing': conversion from 'float' to 'dist_t',
possible loss of data
with
[
dist_t=int
]
.\similarity_search\src\method\hnsw_distfunc_opt.cc(755): warning C4244: 'initializing': conversion from 'float' to 'dist_t',
possible loss of data
with
[
dist_t=int
]
.\similarity_search\src\method\hnsw_distfunc_opt.cc(732): note: while compiling class template member function 'void
similarity::Hnsw<int>::SearchCosineNormalizedV1Merge(similarity::KNNQuery<dist_t> *)'
with
[
dist_t=int
]
.\similarity_search\src\method\hnsw_distfunc_opt.cc(774): warning C4244: 'initializing': conversion from 'float' to 'dist_t',
possible loss of data
with
[
dist_t=int
]
.\similarity_search\src\method\hnsw_distfunc_opt.cc(823): warning C4244: 'initializing': conversion from 'float' to 'dist_t',
possible loss of data
with
[
dist_t=int
]
.\similarity_search\include\method/hnsw.h(290): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of
data
.\similarity_search\include\method/hnsw.h(509): note: see reference to function template instantiation 'void
similarity::HnswNode::addFriendlevel<dist_t>(int,similarity::HnswNode *,const similarity::Space<dist_t> *,int)' being compiled
with
[
dist_t=int
]
.\similarity_search\include\method/hnsw.h(506): note: while compiling class template member function 'void
similarity::Hnsw<int>::link(similarity::HnswNode *,similarity::HnswNode *,int,const similarity::Space<dist_t> *,int)'
with
[
dist_t=int
]
.\similarity_search\include\method/hnsw.h(292): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of
data
.\similarity_search\include\method/hnsw.h(294): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of
data
.\similarity_search\include\method/hnsw.h(175): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of
data
.\similarity_search\include\method/hnsw.h(294): note: see reference to function template instantiation 'void similarity::HnswNode::get
NeighborsByHeuristic3<dist_t>(std::priority_queue<similarity::HnswNodeDistCloser<dist_t>,std::vector<similarity::HnswNodeDistCloser<dist_t
>,std::allocator<similarity::HnswNodeDistCloser<dist_t>>>,std::less<_Ty>> &,const int,const similarity::Space<dist_t> *,int)' being
compiled
with
[
dist_t=int,
_Ty=similarity::HnswNodeDistCloser<int>
]
.\similarity_search\include\method/hnsw.h(509): note: see reference to function template instantiation 'void
similarity::HnswNode::addFriendlevel<dist_t>(int,similarity::HnswNode *,const similarity::Space<dist_t> *,int)' being compiled
with
[
dist_t=int
]
.\similarity_search\include\method/hnsw.h(195): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of
data
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL
/DNDEBUG /MD -I.\similarity_search\include -Itensorflow
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\pybind11\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\lib\site-packages\numpy\core\include
-Ic:\users\flgeorg\appdata\local\programs\python\python39\include -Ic:\users\flgeorg\appdata\local\programs\python\python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\cppwinrt /EHsc /Tp.\similarity_search\src\method\pivot_neighb_invindx.cc
/Fobuild\temp.win-amd64-3.9\Release\.\similarity_search\src\method\pivot_neighb_invindx.obj /EHsc /openmp /O2 /DVERSION_INFO=\"2.0.6\"
pivot_neighb_invindx.cc
C:\Users\flgeorg\AppData\Local\Temp\pip-install-rkjp_62d\nmslib_0258cd9ee2574378b5024d6880a62727\similarity_search\include\object.h(127):
warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
.\similarity_search\include\permutation_utils.h(175): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits
(was 64-bit shift intended?)
.\similarity_search\include\method/pivot_neighb_common.h(57): warning C4267: 'argument': conversion from 'size_t' to 'int', possible
loss of data
.\similarity_search\src\method\pivot_neighb_invindx.cc(140): warning C4267: 'argument': conversion from 'size_t' to 'const
similarity::IdTypeUnsign', possible loss of data
.\similarity_search\src\method\pivot_neighb_invindx.cc(93): note: while compiling class template member function 'void
similarity::PivotNeighbInvertedIndex<float>::CreateIndex(const similarity::AnyParams &)'
.\similarity_search\src\method\pivot_neighb_invindx.cc(794): note: see reference to class template instantiation
'similarity::PivotNeighbInvertedIndex<float>' being compiled
.\similarity_search\src\method\pivot_neighb_invindx.cc(167): warning C4267: 'argument': conversion from 'size_t' to 'unsigned long',
possible loss of data
.\similarity_search\src\method\pivot_neighb_invindx.cc(183): warning C4267: 'argument': conversion from 'size_t' to 'unsigned long',
possible loss of data
.\similarity_search\src\method\pivot_neighb_invindx.cc(480): warning C4267: 'argument': conversion from 'size_t' to 'const
similarity::IdTypeUnsign', possible loss of data
.\similarity_search\src\method\pivot_neighb_invindx.cc(414): note: while compiling class template member function 'void
similarity::PivotNeighbInvertedIndex<float>::LoadIndex(const std::string &)'
.\similarity_search\src\method\pivot_neighb_invindx.cc(276): warning C4267: 'argument': conversion from 'size_t' to 'const _Ty',
possible loss of data
with
[
_Ty=std::seed_seq::result_type
]
.\similarity_search\src\method\pivot_neighb_invindx.cc(255): note: while compiling class template member function 'void
similarity::PivotNeighbInvertedIndex<float>::IndexChunk(size_t,similarity::ProgressDisplay *,std::mutex &)'
.\similarity_search\src\method\pivot_neighb_invindx.cc(169): note: see reference to function template instantiation 'void
similarity::PivotNeighbInvertedIndex<float>::IndexChunk(size_t,similarity::ProgressDisplay *,std::mutex &)' being compiled
.\similarity_search\src\method\pivot_neighb_invindx.cc(651): error C2065: '_MM_HINT_T0': undeclared identifier
.\similarity_search\src\method\pivot_neighb_invindx.cc(791): note: see reference to function template instantiation 'void
similarity::PivotNeighbInvertedIndex<float>::GenSearch<similarity::KNNQuery<dist_t>>(QueryType *,size_t) const' being compiled
with
[
dist_t=float,
QueryType=similarity::KNNQuery<float>
]
.\similarity_search\src\method\pivot_neighb_invindx.cc(791): note: see reference to function template instantiation 'void
similarity::PivotNeighbInvertedIndex<float>::GenSearch<similarity::KNNQuery<dist_t>>(QueryType *,size_t) const' being compiled
with
[
dist_t=float,
QueryType=similarity::KNNQuery<float>
]
.\similarity_search\src\method\pivot_neighb_invindx.cc(790): note: while compiling class template member function 'void
similarity::PivotNeighbInvertedIndex<float>::Search(similarity::KNNQuery<dist_t> *,similarity::IdType) const'
with
[
dist_t=float
]
.\similarity_search\src\method\pivot_neighb_invindx.cc(651): error C3861: '_mm_prefetch': identifier not found
.\similarity_search\src\method\pivot_neighb_invindx.cc(652): error C2065: '_MM_HINT_T0': undeclared identifier
.\similarity_search\src\method\pivot_neighb_invindx.cc(652): error C3861: '_mm_prefetch': identifier not found
.\similarity_search\src\method\pivot_neighb_invindx.cc(653): error C2065: '_MM_HINT_T0': undeclared identifier
.\similarity_search\src\method\pivot_neighb_invindx.cc(653): error C3861: '_mm_prefetch': identifier not found
.\similarity_search\src\method\pivot_neighb_invindx.cc(666): warning C4146: unary minus operator applied to unsigned type, result
still unsigned
.\similarity_search\src\method\pivot_neighb_invindx.cc(697): warning C4018: '<=': signed/unsigned mismatch
.\similarity_search\src\method\pivot_neighb_invindx.cc(700): warning C4146: unary minus operator applied to unsigned type, result
still unsigned
.\similarity_search\src\method\pivot_neighb_invindx.cc(709): error C2065: '_MM_HINT_T0': undeclared identifier
.\similarity_search\src\method\pivot_neighb_invindx.cc(709): error C3861: '_mm_prefetch': identifier not found
.\similarity_search\src\method\pivot_neighb_invindx.cc(710): error C2065: '_MM_HINT_T0': undeclared identifier
.\similarity_search\src\method\pivot_neighb_invindx.cc(710): error C3861: '_mm_prefetch': identifier not found
.\similarity_search\src\method\pivot_neighb_invindx.cc(711): error C2065: '_MM_HINT_T0': undeclared identifier
.\similarity_search\src\method\pivot_neighb_invindx.cc(711): error C3861: '_mm_prefetch': identifier not found
.\similarity_search\src\method\pivot_neighb_invindx.cc(726): warning C4146: unary minus operator applied to unsigned type, result
still unsigned
.\similarity_search\src\method\pivot_neighb_invindx.cc(741): warning C4146: unary minus operator applied to unsigned type, result
still unsigned
.\similarity_search\src\method\pivot_neighb_invindx.cc(756): error C2065: '_MM_HINT_T0': undeclared identifier
.\similarity_search\src\method\pivot_neighb_invindx.cc(756): error C3861: '_mm_prefetch': identifier not found
.\similarity_search\src\method\pivot_neighb_invindx.cc(757): error C2065: '_MM_HINT_T0': undeclared identifier
.\similarity_search\src\method\pivot_neighb_invindx.cc(757): error C3861: '_mm_prefetch': identifier not found
.\similarity_search\src\method\pivot_neighb_invindx.cc(758): error C2065: '_MM_HINT_T0': undeclared identifier
.\similarity_search\src\method\pivot_neighb_invindx.cc(758): error C3861: '_mm_prefetch': identifier not found
C:\Users\flgeorg\AppData\Local\Temp\pip-install-rkjp_62d\nmslib_0258cd9ee2574378b5024d6880a62727\similarity_search\include\params.h(188):
warning C4244: '=': conversion from 'const DefaultType' to 'ParamType', possible loss of data
with
[
DefaultType=double
]
and
[
ParamType=float
]
.\similarity_search\src\method\pivot_neighb_invindx.cc(340): note: see reference to function template instantiation 'void
similarity::AnyParamManager::GetParamOptional<float,double>(const std::string &,ParamType &,const DefaultType &)' being compiled
with
[
ParamType=float,
DefaultType=double
]
.\similarity_search\src\method\pivot_neighb_invindx.cc(296): note: while compiling class template member function 'void
similarity::PivotNeighbInvertedIndex<float>::SetQueryTimeParams(const similarity::AnyParams &)'
error: command 'C:\\Program Files (x86)\\Microsoft Visual
Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29333\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\flgeorg\appdata\local\programs\python\python39\python.exe' -u -c 'import sys,
setuptools, tokenize; sys.argv[0] =
'"'"'C:\\Users\\flgeorg\\AppData\\Local\\Temp\\pip-install-rkjp_62d\\nmslib_0258cd9ee2574378b5024d6880a62727\\setup.py'"'"'; __file__='"'"
'C:\\Users\\flgeorg\\AppData\\Local\\Temp\\pip-install-rkjp_62d\\nmslib_0258cd9ee2574378b5024d6880a62727\\setup.py'"'"';f=getattr(tokenize
, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__,
'"'"'exec'"'"'))' install --record 'C:\Users\flgeorg\AppData\Local\Temp\pip-record-i1d0av5n\install-record.txt'
--single-version-externally-managed --compile --install-headers 'c:\users\flgeorg\appdata\local\programs\python\python39\Include\nmslib'
Check the logs for full command output.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (1 by maintainers)
Top Results From Across the Web
How can I install nmslib on Windows 10 - pip - Stack Overflow
nmslib is a python wrapper over a c++ library. ... Though the above steps may throw a VC++ error, the scispacy module will...
Read more >running setup.py install for nmslib did not run successfully
I tried to install scispacy in a conda env on a mac mini with m1 chip but had problems with dependencies related to...
Read more >scispacy | SpaCy models for biomedical text processing
scispaCy is a Python package containing spaCy models for processing biomedical, scientific or clinical text ... pip install scispacy pip install <Model URL> ......
Read more >Installing SciSpacy on Apple M1 Laptops - DEV Community
txt ** failed with lot of errors while installing a dependency ** nmslib ** with an error ** clang compiler does not support...
Read more >scispacy - PyPI
Installation. Installing scispacy requires two steps: installing the library and intalling the models. To install the library, run: pip install scispacy. to ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sorry - I know this is closed. I ran into a similar issue but it’s all fixed now and I wanted to share my experience incase anybody runs into the same issue.
Currently, nmslib only supports python < 3.9. I’ve tried 3.9, 3.91, and 3.85. Only 3.85 worked. Here’s an image showing that their latest python binary is 3.8:
Once I had Python 3.85 64-bit (nmslib does not support 32-bit - atleast on windows) - nmslib installed fine. I then installed scispacy and it seems to be working right.
@alexbellin I can confirm that this is the case. In my case I used 3.8.7. I am not really sure why installing 3.9.1 creates a syntax error in the code but it is what it is.