安装完最新版本的vs之后还是报错
src/winrand.c: fatal error C1083: ????????: "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\INCLUDE\stdint.h": No such file or directory
参考https://www.jianshu.com/p/fdc5a5854b04?utm_campaign=maleskine&utm_content=note&utm_medium=seo_notes&utm_source=recommendation
需要在用户变量里新增一个VCINSTALLDIR变量,路径因各自安装VS的路径来参考,总之需要通过这个变量找到stdint.h
然后就正常了