Visual Studio and Python versions
09williamsad opened this issue · comments
What are the VS and Python versions that are needed for compiling?
There are a number of errors and warnings with 2019 which suggest it is not the right version;
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30037\include\stdint.h(45): error C2632: '__int64' followed by 'long' is illegal C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30037\include\stdint.h(45): warning C4091: 'typedef ': ignored on left of '__int64' when no variable is declared C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30037\include\stdint.h(46): warning C4114: same type qualifier used more than once C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30037\include\stdint.h(46): error C2632: '__int64' followed by 'long' is illegal C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30037\include\stdint.h(46): warning C4091: 'typedef ': ignored on left of 'unsigned __int64' when no variable is declared C:\Users\Adam\Downloads\rein-kuro-0.2.1\ReinKuro\_clibs\kuromodule.c(40): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int32_t', possible loss of data
Upgrading to Visual Studio 2022 fixed it.