前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >Error: in triplet x64-windows: Unable to find a valid Visual Studio instance The following VS instan

Error: in triplet x64-windows: Unable to find a valid Visual Studio instance The following VS instan

作者头像
ccf19881030
发布2022-05-11 10:39:06
2.2K0
发布2022-05-11 10:39:06
举报
文章被收录于专栏:ccf19881030的博客

Error: in triplet x64-windows: Unable to find a valid Visual Studio instance The following VS instances were excluded because the English language pack is unavailable:

The following VS instances were excluded because the English language pack is unavailable:)

vcpkg install ***安装软件时报错

我的Win10系统上面安装了VS2017,由于最近想学习使用vcpkg安装软件,类似于C#中的Nuget和Node.js中的npm管理软件依赖包,于是从github上面下载了vcpkg的代码,安装libcurl软件时报错,如下图所示:

报错信息为:

代码语言:javascript
复制
Error: in triplet x64-windows: Unable to find a valid Visual Studio instance
The following VS instances were excluded because the English language pack is unavailable:
    C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional
    C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional
Could not locate a complete Visual Studio instance
The following paths were examined for Visual Studio instances:
    C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Auxiliary/Build\vcvarsall.bat
    C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools/MSVC\14.16.27023\bin/HostX86/x86\dumpbin.exe
    C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools/MSVC\14.14.26428\bin/HostX86/x86\dumpbin.exe
    C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools/MSVC\14.14.26405\bin/HostX86/x86\dumpbin.exe

解决方案为: vcpkg 按它上面描述所说的,少英文语言包,到VS2017安装向导即Vistall Studio installter,修改安装,点语言包,勾选英语;再去安装第三方库,发现OK了…; 重新打开VS2017的Vistall Studio installter,修改,找到语言包中的英文,勾选上再重新执行就成,如下图所示:

参考资料

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2022-01-28,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • Error: in triplet x64-windows: Unable to find a valid Visual Studio instance The following VS instances were excluded because the English language pack is unavailable:
  • vcpkg install ***安装软件时报错
    • 参考资料
    领券
    问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档