- Prison Code Breaker Diary -

=> aka: Nhật Kí Code Tù

Categories

Well, there's a tool in Linux call pkg-config, which helps us here.

Simple sample:

~ ] $ pkg-config --cflags gtk+-2.0

It will return this:

-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12

So you can check dependencies for your libraries.

Have fun!@

0 comments

Post a Comment