cd进入GTK目录后
用./configure -prefix=/usr
最后出现***
Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error:
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.
因为是新手虽然看懂了但不理解该怎么做 希望高手指导 谢谢了
linux下安装wxGTK遇到的问题
答案:2 悬赏:0 手机版
解决时间 2021-03-20 23:04
- 提问者网友:了了无期
- 2021-03-20 20:12
最佳答案
- 五星知识达人网友:愁杀梦里人
- 2021-03-20 21:02
GTK没有安装,或者没有默认安装,如果确认安装了,需要修改/etc/ld.so.conf,把gtk的路径添加进去,然后ldconfig
全部回答
- 1楼网友:迟山
- 2021-03-20 21:54
gtk.window.move(x,y)
or用xlib的
xmoveresizewindow( display, window, 10, 10, 500, 300 );
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯