解决vcpkg无法找到Visual Studio问题
解决vcpkg无法找到Visual Studio问题
安装Visual Studio 2022英文包
参考链接: https://github.com/microsoft/vcpkg/issues/22074#issuecomment-1007383829
Visua lStudio Installer->installed version->modify-> Language package->add English package, can resolve this problem
重置vcpkg
参考链接: https://github.com/microsoft/vcpkg/issues/22074#issuecomment-2139444395
@catid I also encountered this issue after updating to Visual Studio 17.10. By manually copying the latest vcpkg.exe (2024-04-23-d6945642ee5c3076addd1a42c331bbf4cfc97457) file into my submodule directory, the issue was fixed and the build runs through. The older version (2023-12-12-1c9ec1978a6b0c2b39c9e9554a96e3e275f7556e) that I pinned my repo to did not work, though.
So in order to fix it, you have to:
Update the vcpkg submodule to version 2024-04-23 (it may be that some earlier release also works)
Remove the older vcpkg.exe (or simply run git clean -dxf from the submodule directory)
Reconfigure/build your project
Though I have to say, it's annoying that you have to update vcpkg and thus pull in port changes that may cause issues with the code base.解决vcpkg无法找到Visual Studio问题
https://simonkimi.githubio.io/2024/08/14/解决vcpkg无法找到Visual-Studio问题/