vcpkg install报错Could not locate a complete toolset.

版权声明:本文为博主原创文章,转载时须注明出处 https://blog.csdn.net/KID_yuan/article/details/88374864

vcpkg install安装libraries文件一些错误:
最后发现提示居然是我的visual studio 2017 community没有安装英语语言包。
最后去
在这里插入图片描述
点击修改,选择
在这里插入图片描述
然后再安装
在这里插入图片描述
居然就好了。。。不知道是什么原理。


安装之前报错:
PS F:\githubCode\projectGit\vcpkg> ./vcpkg install sdl2 curl
The following packages will be built and installed:
curl[core,ssl,winssl]:x64-windows
sdl2[core]:x64-windows
** zlib[core]:x64-windows
Additional packages (*) will be modified to complete this operation.
Starting package 1/3: sdl2:x64-windows
Building package sdl2[core]:x64-windows…
Warning: The following VS instances are excluded because the English language pack is unavailable.
E:\VisualStudio
Please install the English language pack.
Could not locate a complete toolset.
The following paths were examined:
E:\VisualStudio\VC\Auxiliary\Build\vcvarsall.bat
E:\VisualStudio\VC\Tools\MSVC\14.16.27023\bin\HostX86\x86\dumpbin.exe

安装英语语言包之后再安装想要的libraries文件程序包就好了…而且不再报错
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/KID_yuan/article/details/88374864