首页 > 解决方案 > 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-codecairovcpkg

解决方案


我不得不检查两个选项Visual Studio Installer

1. MSVC C/C++ compiler and linker
2. English language pack

之后它工作了!:)


推荐阅读