Netbeans, Ubuntu a GTK vývoj

2011/03/19

apt-get install libgtk2.0-dev
`pkg-config --cflags gtk+-2.0` `pkg-config --libs gtk+-2.0`

Nezabudnúť na spätné apostrofy (backticks). V prípade chyby skontrolujte, či pkg-config funguje z terminálu. Na Ubuntu 10.10 vráti napr.

-pthread -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/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 \ 
-I/usr/include/gio-unix-2.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  
/usr/include
>> Home