求助:
下载了一个wxWidgets-2.6.3(多线程图形界面下载工具)
在第一步(./configure)遇到如下问题:
The development files for GTK+ were not found. For GTK+ 2, please
ensure that pkg-config is in the path and that gtk+-2.0.pc is
installed. For GTK+ 1.2 please check that gtk-config is in the path,
and that the version is 1.2.3 or above. Also check that the
libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
--libs' are in the LD_LIBRARY_PATH or equivalent.
[报到][闲聊]configure: error
-
- 帖子: 70
- 注册时间: 2006-06-29 10:38
-
- 帖子: 70
- 注册时间: 2006-06-29 10:38
-
- 帖子: 21
- 注册时间: 2005-12-13 13:36
The development files for GTK+ were not found. For GTK+ 2, please
ensure that pkg-config is in the path and that gtk+-2.0.pc is
installed. For GTK+ 1.2 please check that gtk-config is in the path,
and that the version is 1.2.3 or above. Also check that the
libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
--libs' are in the LD_LIBRARY_PATH or equivalent.
都说得很清楚了,如果是gtk2 确定pkg-config的路径配置正确,使configure能找到库和头文件的路径。
如果是gtk1则要把gtk-config的目录放到PATH变量里。
ensure that pkg-config is in the path and that gtk+-2.0.pc is
installed. For GTK+ 1.2 please check that gtk-config is in the path,
and that the version is 1.2.3 or above. Also check that the
libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
--libs' are in the LD_LIBRARY_PATH or equivalent.
都说得很清楚了,如果是gtk2 确定pkg-config的路径配置正确,使configure能找到库和头文件的路径。
如果是gtk1则要把gtk-config的目录放到PATH变量里。