|
我装了gtk-2.2.4,把glib,pango,atk的最新版也一齐装了.我把他们分别装在了/opt下的
gtk,glib,pango,atk目录下.但是当我执行pkg-config --cflags --libs gtk+-2.0
时,显示:
-I/opt/gtk/include/gtk-2.0 -I/opt/gtk/lib/gtk-2.0/include -I/usr/include/atk-1
.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/u
sr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wl,--export-dynamic -L/opt/g
tk/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1
.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
gtk起作用了,但是atk,pango,glib都还是原来的搜索路径,
请问,如何修改使起作用? |
|