c++ - gtk 配置错误 - 找不到包 'atk-bridge-2.0'

标签 c++ c gtk configure

我正在尝试安装 gtk+-3.6.4

我的配置因以下错误而中断:

checking Pango flags... -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -L/usr/local/lib -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0  
checking for GDK_DEP... yes
checking for ATK... no
configure: error: Package requirements (atk atk-bridge-2.0) were not met:

No package 'atk-bridge-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables ATK_CFLAGS
and ATK_LIBS to avoid the need to call pkg-config.

我已经安装了

sudo apt-get install libatk1.0*

知道如何解决这个问题吗?

最佳答案

我有完全相同的错误,在我的例子中我使用了

sudo apt-get install libatk-bridge2.0

请注意,我使用的是 Ubuntu,无论如何,如果我是正确的话,你想要的包是 libatk-bridge2.0

关于c++ - gtk 配置错误 - 找不到包 'atk-bridge-2.0',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16887942/

相关文章:

c++ - 如何找到给定 C++ 代码行周围的所有 #if 条件?

python - 对于 Project Euler,C++ 似乎比 Python Ruby 慢得多

c - 使用省略号的宏中的变量参数

gtk - 是否可以在不使用 GObject 样式构造的情况下扩展基本 Gtk 小部件?

webkit - 如何在 Webkit GTK 中处理自定义 URL 方案?

c++ - 在 OpenCV 中隐藏鼠标光标

c++ - 如何使用 visual studio c 在 win32 中拉伸(stretch)背景图像

CS50 pset1 贪婪不起作用

c - 将 int16_t 存储在 uint64_t 中

python - 配置错误 --- gobject ---- 找不到 python header