vcpkg不安装cairo [英] vcpkg does not install cairo

查看:305
本文介绍了vcpkg不安装cairo的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

按照> https://github.com/Microsoft/vcpkg中的说明进行操作/blob/master/README.md 命令

.\ vcpkg安装cairo --triplet x64-windows

.\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列表

.\vcpkg list

产生

No packages are installed. Did you mean `search`?

我做错了什么?非常感谢您的帮助

What am I doing wrong? Thank you very much for your help

推荐答案

问题-您是否安装了使用C ++进行桌面开发"??如果是这样,请创建直接指向IDE位置的用户/系统变量VCPKG_VISUAL_STUDIO_PATH.如果不是这样,则可以解决此问题.

Question- did you install "Desktop Development with C++" ? If so, create a user/system variable VCPKG_VISUAL_STUDIO_PATH that points directly to the IDE location. If not, do that and that may fix the issue.

这篇关于vcpkg不安装cairo的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆