Is windows supported ? I got some weird syntax errors when trying to compile the project.
Collecting SymSpellCppPy
Downloading SymSpellCppPy-0.0.14.tar.gz (5.4 MB)
|████████████████████████████████| 5.4 MB 2.2 MB/s
Building wheels for collected packages: SymSpellCppPy
Building wheel for SymSpellCppPy (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'c:\python\python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\samay\\AppData\\Local\\Temp\\pip-install-gb6opody\\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\\setup.py'"'"'; __file__='"'"'C:\\Users\\samay\\AppData\\Local\\Temp\\pip-install-gb6opody\\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\samay\AppData\Local\Temp\pip-wheel-16d25zg7'
cwd: C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\
Complete output (132 lines):
running bdist_wheel
running build
running build_ext
-- Building for: Visual Studio 16 2019
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19043.
-- The C compiler identification is MSVC 19.29.30038.1
-- The CXX compiler identification is MSVC 19.29.30038.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30037/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30037/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: C:/Python/Python39/python.exe (found version "3.9")
-- Found PythonLibs: C:/Python/Python39/libs/Python39.lib
-- pybind11 v2.5.0
-- Performing Test HAS_MSVC_GL_LTCG
-- Performing Test HAS_MSVC_GL_LTCG - Success
-- LTO enabled
-- Build for Python = ON
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/samay/AppData/Local/Temp/pip-install-gb6opody/symspellcpppy_266364465cfe44a594e0ab6bf7b8be21/build/temp.win-amd64-3.9/Release
Microsoft (R) Build Engine version 16.10.2+857e5a733 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(517,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\ZERO_CHECK.vcxproj]
Checking Build System
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(517,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
Building Custom Rule C:/Users/samay/AppData/Local/Temp/pip-install-gb6opody/symspellcpppy_266364465cfe44a594e0ab6bf7b8be21/CMakeLists.txt
library.cpp
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(40,1): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(41,1): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(49,1): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(50,1): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(137,33): error C2146: syntax error: missing ')' before identifier 'or' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(137,33): error C3861: 'or': identifier not found [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(137,1): error C2059: syntax error: ')' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(138,25): error C2059: syntax error: 'if' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(138,1): error C2143: syntax error: missing ';' before '{' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(140,1): error C2181: illegal else without matching if [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(143,1): error C2181: illegal else without matching if [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(151,17): error C2046: illegal case [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(153,17): error C2046: illegal case [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(160,1): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(176,17): error C2046: illegal case [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(182,9): error C2059: syntax error: 'return' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(183,5): error C2059: syntax error: '}' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(183,1): error C2143: syntax error: missing ';' before '}' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(187,18): error C2143: syntax error: missing ';' before '{' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(187,18): error C2447: '{': missing function header (old-style formal list?) [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(252,15): error C2143: syntax error: missing ';' before '<' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(252,15): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(252,27): error C2238: unexpected token(s) preceding ';' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(257,9): error C2065: 'Nodes': undeclared identifier [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(260,23): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(262,36): error C2065: 'Nodes': undeclared identifier [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(266,9): error C2065: 'Nodes': undeclared identifier [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(277,23): error C2065: 'Nodes': undeclared identifier [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(282,9): error C2065: 'Nodes': undeclared identifier [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(293,1): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(307,29): error C2065: 'Nodes': undeclared identifier [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(308,1): error C3536: 'node': cannot be used before it is initialized [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(348,1): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\DamerauOSA.h(30,49): warning C4244: 'return': conversion from 'unsigned __int64' to 'double', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\DamerauOSA.h(31,49): warning C4244: 'return': conversion from 'unsigned __int64' to 'double', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\DamerauOSA.h(88,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\DamerauOSA.h(99,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\DamerauOSA.h(114,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\DamerauOSA.h(117,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\Levenshtein.h(30,49): warning C4244: 'return': conversion from 'unsigned __int64' to 'double', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\Levenshtein.h(31,49): warning C4244: 'return': conversion from 'unsigned __int64' to 'double', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\Levenshtein.h(85,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\Levenshtein.h(96,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\Levenshtein.h(108,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\Levenshtein.h(114,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(26,28): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(30,56): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(66,54): warning C4244: '=': conversion from '_Ty2' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
with
[
_Ty2=int64_t
]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(75,40): warning C4244: '=': conversion from '_Ty2' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
with
[
_Ty2=int64_t
]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(86,87): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(304,36): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(335,52): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(348,62): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(504,27): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(659,82): warning C4305: 'argument': truncation from '__int64' to 'double' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(697,37): warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(700,37): warning C4267: '-=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(720,41): warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\setup.py", line 79, in <module>
setup(
File "c:\python\python39\lib\site-packages\setuptools\__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
File "c:\python\python39\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "c:\python\python39\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "c:\python\python39\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "c:\python\python39\lib\site-packages\wheel\bdist_wheel.py", line 299, in run
self.run_command('build')
File "c:\python\python39\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "c:\python\python39\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "c:\python\python39\lib\distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "c:\python\python39\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "c:\python\python39\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\setup.py", line 40, in run
self.build_extension(ext)
File "C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\setup.py", line 75, in build_extension
subprocess.check_call(['cmake', '--build', '.', '--target', os.path.basename(ext.name)] + build_args,
File "c:\python\python39\lib\subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--target', 'SymSpellCppPy', '--config', 'Release', '--', '/m']' returned non-zero exit status 1.
----------------------------------------
ERROR: Failed building wheel for SymSpellCppPy
Running setup.py clean for SymSpellCppPy
Failed to build SymSpellCppPy
Installing collected packages: SymSpellCppPy
Running setup.py install for SymSpellCppPy ... error
ERROR: Command errored out with exit status 1:
command: 'c:\python\python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\samay\\AppData\\Local\\Temp\\pip-install-gb6opody\\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\\setup.py'"'"'; __file__='"'"'C:\\Users\\samay\\AppData\\Local\\Temp\\pip-install-gb6opody\\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\samay\AppData\Local\Temp\pip-record-8cwxam2l\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\python\python39\Include\SymSpellCppPy'
cwd: C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\
Complete output (134 lines):
running install
running build
running build_ext
-- Building for: Visual Studio 16 2019
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19043.
-- The C compiler identification is MSVC 19.29.30038.1
-- The CXX compiler identification is MSVC 19.29.30038.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30037/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30037/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: C:/Python/Python39/python.exe (found version "3.9")
-- Found PythonLibs: C:/Python/Python39/libs/Python39.lib
-- pybind11 v2.5.0
-- Performing Test HAS_MSVC_GL_LTCG
-- Performing Test HAS_MSVC_GL_LTCG - Success
-- LTO enabled
-- Build for Python = ON
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/samay/AppData/Local/Temp/pip-install-gb6opody/symspellcpppy_266364465cfe44a594e0ab6bf7b8be21/build/temp.win-amd64-3.9/Release
Microsoft (R) Build Engine version 16.10.2+857e5a733 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(517,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\ZERO_CHECK.vcxproj]
Checking Build System
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(517,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
Building Custom Rule C:/Users/samay/AppData/Local/Temp/pip-install-gb6opody/symspellcpppy_266364465cfe44a594e0ab6bf7b8be21/CMakeLists.txt
library.cpp
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(40,1): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(41,1): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(49,1): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(50,1): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(137,33): error C2146: syntax error: missing ')' before identifier 'or' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(137,33): error C3861: 'or': identifier not found [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(137,1): error C2059: syntax error: ')' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(138,25): error C2059: syntax error: 'if' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(138,1): error C2143: syntax error: missing ';' before '{' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(140,1): error C2181: illegal else without matching if [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(143,1): error C2181: illegal else without matching if [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(151,17): error C2046: illegal case [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(153,17): error C2046: illegal case [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(160,1): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(176,17): error C2046: illegal case [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(182,9): error C2059: syntax error: 'return' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(183,5): error C2059: syntax error: '}' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(183,1): error C2143: syntax error: missing ';' before '}' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(187,18): error C2143: syntax error: missing ';' before '{' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(187,18): error C2447: '{': missing function header (old-style formal list?) [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(252,15): error C2143: syntax error: missing ';' before '<' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(252,15): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(252,27): error C2238: unexpected token(s) preceding ';' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(257,9): error C2065: 'Nodes': undeclared identifier [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(260,23): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(262,36): error C2065: 'Nodes': undeclared identifier [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(266,9): error C2065: 'Nodes': undeclared identifier [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(277,23): error C2065: 'Nodes': undeclared identifier [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(282,9): error C2065: 'Nodes': undeclared identifier [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(293,1): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(307,29): error C2065: 'Nodes': undeclared identifier [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(308,1): error C3536: 'node': cannot be used before it is initialized [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(348,1): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\DamerauOSA.h(30,49): warning C4244: 'return': conversion from 'unsigned __int64' to 'double', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\DamerauOSA.h(31,49): warning C4244: 'return': conversion from 'unsigned __int64' to 'double', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\DamerauOSA.h(88,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\DamerauOSA.h(99,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\DamerauOSA.h(114,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\DamerauOSA.h(117,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\Levenshtein.h(30,49): warning C4244: 'return': conversion from 'unsigned __int64' to 'double', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\Levenshtein.h(31,49): warning C4244: 'return': conversion from 'unsigned __int64' to 'double', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\Levenshtein.h(85,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\Levenshtein.h(96,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\Levenshtein.h(108,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\Levenshtein.h(114,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(26,28): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(30,56): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(66,54): warning C4244: '=': conversion from '_Ty2' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
with
[
_Ty2=int64_t
]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(75,40): warning C4244: '=': conversion from '_Ty2' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
with
[
_Ty2=int64_t
]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(86,87): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(304,36): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(335,52): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(348,62): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(504,27): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(659,82): warning C4305: 'argument': truncation from '__int64' to 'double' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(697,37): warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(700,37): warning C4267: '-=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(720,41): warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\setup.py", line 79, in <module>
setup(
File "c:\python\python39\lib\site-packages\setuptools\__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
File "c:\python\python39\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "c:\python\python39\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "c:\python\python39\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "c:\python\python39\lib\site-packages\setuptools\command\install.py", line 61, in run
return orig.install.run(self)
File "c:\python\python39\lib\distutils\command\install.py", line 546, in run
self.run_command('build')
File "c:\python\python39\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "c:\python\python39\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "c:\python\python39\lib\distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "c:\python\python39\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "c:\python\python39\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\setup.py", line 40, in run
self.build_extension(ext)
File "C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\setup.py", line 75, in build_extension
subprocess.check_call(['cmake', '--build', '.', '--target', os.path.basename(ext.name)] + build_args,
File "c:\python\python39\lib\subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--target', 'SymSpellCppPy', '--config', 'Release', '--', '/m']' returned non-zero exit status 1.
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\python\python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\samay\\AppData\\Local\\Temp\\pip-install-gb6opody\\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\\setup.py'"'"'; __file__='"'"'C:\\Users\\samay\\AppData\\Local\\Temp\\pip-install-gb6opody\\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\samay\AppData\Local\Temp\pip-record-8cwxam2l\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\python\python39\Include\SymSpellCppPy' Check the logs for full command output.