【问题标题】:Problems installing vcpkg for visual studio为 Visual Studio 安装 vcpkg 时出现问题
【发布时间】:2022-04-14 16:26:49
【问题描述】:

当我尝试启动 bootstrap-vcpkg.bat 时,它不会构建任何东西, 相反,我收到了这条消息

PS C:\dev\vcpkg> .\bootstrap-vcpkg.bat
Downloading https://github.com/microsoft/vcpkg-tool/releases/download/2021-02-24/vcpkg.exe -> C:\dev\vcpkg/vcpkg.exe
Done.
Telemetry
---------
vcpkg collects usage data in order to help us improve your experience.
The data collected by Microsoft is anonymous.
You can opt-out of telemetry by re-running the bootstrap-vcpkg script with -disableMetrics,
passing --disable-metrics to vcpkg on the command line,
or by setting the VCPKG_DISABLE_METRICS environment variable.

出了什么问题?

【问题讨论】:

  • 你有什么软件可以干扰它吗?比如防病毒或防火墙?
  • 谢谢你的回答,不,我不认为我有什么东西可以干扰它。我多次尝试安装它,但从未成功。我真的是这个东西的新手。
  • 我认为在github 上打开问题会更幸运。

标签: c visual-studio visual-c++ vcpkg


【解决方案1】:

没有出错。正如您在消息顶部看到的,最新版本的 vcpkg 可执行文件是从 github 下载的。

正在下载https://github.com/microsoft/vcpkg-tool/releases/download/2021-02-24/vcpkg.exe -> C:\dev\vcpkg/vcpkg.exe
完成。

消息的其余部分只是关于指标的常见免责声明(如果需要,它会告诉您如何禁用它们)

【讨论】: