visual-studio-code - vcpkg 不安装 cairo
问题描述
按照https://github.com/Microsoft/vcpkg/blob/master/README.md中的说明执行命令
.\vcpkg install cairo --triplet x64-windows
生产
Computing installation plan...
The following packages will be built and installed:
* brotli[core]:x64-windows -> 1.0.9#1
* bzip2[core]:x64-windows -> 1.0.8#1
cairo[core,freetype]:x64-windows -> 1.16.0#9
* dirent[core]:x64-windows -> 1.23.2
* expat[core]:x64-windows -> 2020-08-18
* fontconfig[core]:x64-windows -> 2.13.1#3
* freetype[brotli,bzip2,core,png,zlib]:x64-windows -> 2.10.4
* gettext[core]:x64-windows -> 0.21
* json-c[core]:x64-windows -> 2019-09-10#1
* libiconv[core]:x64-windows -> 1.16#8
* libpng[core]:x64-windows -> 1.6.37#14
* pixman[core]:x64-windows -> 0.38.4#2
* pthread[core]:x64-windows -> 3.0.0
* pthreads[core]:x64-windows -> 3.0.0-6
* zlib[core]:x64-windows -> 1.2.11#9
Additional packages (*) will be modified to complete this operation.
No suitable Visual Studio instances were found
进一步检查
.\vcpkg 列表
结果是
No packages are installed. Did you mean `search`?
我究竟做错了什么?非常感谢您的帮助
解决方案
我不得不检查两个选项Visual Studio Installer
1. MSVC C/C++ compiler and linker
2. English language pack
之后它工作了!:)
推荐阅读
- api - MailChimp 是如何超过 2000 年对自定义标签的要求的?
- exception - 我可以在 Psychopy 控制台窗口中收听 Ctrl+C 吗?
- javascript - js导入模块再次修改导出
- docusignapi - 用户的 DocuSign 文档 uri
- python - 如果知道非常大的整数 N 的因式分解,则快速计算浮点 1/N
- python - 使用 updatemenus 修改 plotly express sunburst 中的值和路径
- android - 42.0.0 不是有效的 SDK 版本。选项是 33.0.0 UNVERSIONED
- asp.net - 为什么在引入嵌套布局时父布局无法访问注册服务(Using Asp.NET Core 5 using MVC)
- java - 在 Java 中访问文本文件
- javascript - JS Array:过滤掉表中的列