Question regarding the dependency of GDK on other libraries



Hi,

My application uses GTK and GDK (Layer isolating GTK from the details of the
windowing system).

I am using Ubuntu 8.04. When I run "pkg-config --libs gdk-x11-2.0" on it I
get the following result :

-lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0

whereas when i run the same command on another ubuntu machine I get some
extra dependencies on libXcomposite, libXdamage etc.

Can somebody please explain me this discrepancy. Does my application need to
link to these libraries?

Thanks



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]