build failed in Windows 10 with Python 3.7 and Visual Studio build tool 2019
Try to build in Windows 10 with Python 3.7 and Visual Studio build tool 2019
python setup.py build --openssl=D:\dev\OpenSSL-Win64\v1.1.1d
Get the following error:
...
SWIG/_m2crypto_wrap.c(9511): error C2037: left of 'num' specifies undefined struct/union 'stack_st'
SWIG/_m2crypto_wrap.c(9531): error C2037: left of 'num' specifies undefined struct/union 'stack_st'
SWIG/_m2crypto_wrap.c(9560): error C2037: left of 'data' specifies undefined struct/union 'stack_st'
...
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.24.28314\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2
Any hint, please.