在vcpkg安装gtk库是总是出现如下错误是怎么回事啊

zxyue_ 2019-05-18 08:55:53

PS C:\vcpkg-master> .\vcpkg install gtk:x64-windows
The following packages will be built and installed:
gtk[core]:x64-windows
* pango[core]:x64-windows
Additional packages (*) will be modified to complete this operation.
Starting package 1/2: pango:x64-windows
Building package pango[core]:x64-windows...
-- Using cached C:/vcpkg-master/downloads/pango-1.40.11.tar.xz
-- Using source at C:/vcpkg-master/buildtrees/pango/src/1.40.11-f997ae867d
-- Configuring x64-windows
-- Building x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_build_cmake.cmake:202 (message):
Command failed: C:/Program Files/CMake/bin/cmake.exe;--build;.;--config;Debug;--target;install;--;-v
Working Directory: C:/vcpkg-master/buildtrees/pango/x64-windows-dbg
See logs for more information:
C:\vcpkg-master\buildtrees\pango\install-x64-windows-dbg-out.log

Call Stack (most recent call first):
scripts/cmake/vcpkg_install_cmake.cmake:24 (vcpkg_build_cmake)
ports/pango/portfile.cmake:25 (vcpkg_install_cmake)
scripts/ports.cmake:71 (include)


Error: Building package pango:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: pango:x64-windows
Vcpkg version: 2018.11.23-nohash

Additionally, attach any relevant sections from the log files above.
PS C:\vcpkg-master>



...全文
1239 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
杜喵喵 2019-05-31
  • 打赏
  • 举报
回复
杜喵喵 2019-05-31
  • 打赏
  • 举报
回复
已经被fixed了,https://github.com/microsoft/vcpkg/issues/6622 不过我安装x64集成到全局vs2019里面引用不了,然后装了x86的可以用,vcpkg只安装了gtk。 跑起来了,不过有问题。 控制台消息: (gtk_first.exe:10964): Gtk-WARNING **: Could not find the icon 'window-minimize-symbolic-ltr'. The 'hicolor' theme was not found either, perhaps you need to install it. You can get a copy from: http://icon-theme.freedesktop.org/releases 正在解决~ https://www.gtk.org/download/windows.php

24,854

社区成员

发帖
与我相关
我的任务
社区描述
C/C++ 工具平台和程序库
社区管理员
  • 工具平台和程序库社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧