Trying to install this package on Windows10. the pip install is trying to use vsStudio2019 to compile and link the cpp extensions and is failing. Here are the relevant build commands:
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 -IC:\ProgramData\Anaconda3\include -IC:\ProgramData\Anaconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-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 /Tppysurvival/cpp_extensions/non_parametric.cpp /Fobuild\temp.win-amd64-3.7\Release\pysurvival/cpp_extensions/non_parametric.obj -std=c++11 -O3
cl : Command line warning D9002 : ignoring unknown option '-std=c++11'
cl : Command line warning D9002 : ignoring unknown option '-O3'
non_parametric.cpp
pysurvival/cpp_extensions/non_parametric.cpp(152): warning C4554: '&': check operator precedence for possible error; use parentheses to clarify precedence
pysurvival/cpp_extensions/non_parametric.cpp(284): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
pysurvival/cpp_extensions/non_parametric.cpp(303): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
pysurvival/cpp_extensions/non_parametric.cpp(308): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
pysurvival/cpp_extensions/non_parametric.cpp(317): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
pysurvival/cpp_extensions/non_parametric.cpp(318): warning C4554: '&': check operator precedence for possible error; use parentheses to clarify precedence
pysurvival/cpp_extensions/non_parametric.cpp(349): error C2065: 'M_PI': undeclared identifier
pysurvival/cpp_extensions/non_parametric.cpp(364): error C2065: 'M_PI': undeclared identifier
pysurvival/cpp_extensions/non_parametric.cpp(364): error C2065: 'M_PI': undeclared identifier
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 status 2
Trying to install this package on Windows10. the pip install is trying to use vsStudio2019 to compile and link the cpp extensions and is failing. Here are the relevant build commands:
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 -IC:\ProgramData\Anaconda3\include -IC:\ProgramData\Anaconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-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 /Tppysurvival/cpp_extensions/non_parametric.cpp /Fobuild\temp.win-amd64-3.7\Release\pysurvival/cpp_extensions/non_parametric.obj -std=c++11 -O3 cl : Command line warning D9002 : ignoring unknown option '-std=c++11' cl : Command line warning D9002 : ignoring unknown option '-O3' non_parametric.cpp pysurvival/cpp_extensions/non_parametric.cpp(152): warning C4554: '&': check operator precedence for possible error; use parentheses to clarify precedence pysurvival/cpp_extensions/non_parametric.cpp(284): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data pysurvival/cpp_extensions/non_parametric.cpp(303): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data pysurvival/cpp_extensions/non_parametric.cpp(308): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data pysurvival/cpp_extensions/non_parametric.cpp(317): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data pysurvival/cpp_extensions/non_parametric.cpp(318): warning C4554: '&': check operator precedence for possible error; use parentheses to clarify precedence pysurvival/cpp_extensions/non_parametric.cpp(349): error C2065: 'M_PI': undeclared identifier pysurvival/cpp_extensions/non_parametric.cpp(364): error C2065: 'M_PI': undeclared identifier pysurvival/cpp_extensions/non_parametric.cpp(364): error C2065: 'M_PI': undeclared identifier 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 status 2