The following VS instances were excluded because the English language pack is unavailable:)
我的Win10系统上面安装了VS2017,由于最近想学习使用vcpkg安装软件,类似于C#中的Nuget和Node.js中的npm管理软件依赖包,于是从github上面下载了vcpkg的代码,安装libcurl软件时报错,如下图所示:
报错信息为:
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,修改,找到语言包中的英文,勾选上再重新执行就成,如下图所示: