【环境配置】解决Microsoft Visual C++ 14.0 or greater is required.

1 报错信息为

Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/

2 解决方案

  • 首先进入 https://visualstudio.microsoft.com/zh-hans/visual-cpp-build-tools/
  • 然后点击 下载生成工具
  • 运行下载之后的 vs_BuildTools.exe
  • Win+R ,输入winver 查看系统版本

    我这里写的是1904
  • 选择 使用C++的桌面开发
  • 勾选win10,1904这个
  • 点击安装
    需要等待一定的时间
    安装完成后,重启计算机
相关推荐
樱木Plus1 天前
深拷贝(Deep Copy)和浅拷贝(Shallow Copy)
c++
blasit3 天前
笔记:Qt C++建立子线程做一个socket TCP常连接通信
c++·qt·tcp/ip
阿白的白日梦3 天前
winget基础管理---更新/修改源为国内源
windows
肆忆_4 天前
# 用 5 个问题学懂 C++ 虚函数(入门级)
c++
不想写代码的星星4 天前
虚函数表:C++ 多态背后的那个男人
c++
端平入洛6 天前
delete又未完全delete
c++
端平入洛7 天前
auto有时不auto
c++
埃博拉酱7 天前
VS Code Remote SSH 连接 Windows 服务器卡在"下载 VS Code 服务器":prcdn DNS 解析失败的诊断与 BITS 断点续传
windows·ssh·visual studio code
唐宋元明清21888 天前
.NET 本地Db数据库-技术方案选型
windows·c#
加号38 天前
windows系统下mysql多源数据库同步部署
数据库·windows·mysql