View Single Post
Posts: 235 | Thanked: 339 times | Joined on Nov 2010
#22
Originally Posted by d-iivil View Post
Thanks! Could you please do me one more favour since I'm pretty n00b with compiling non-qt stuff; how do I compile this in scratchbox?
I've been using the command gcc file.c -o program $(pkg-config --cflags --libs gtk+-2.0) -Wall to compile it. You can optionally add "x11 gdk-x11-2.0" before gtk+2.0 in the pkg-config line but it's not technically required as gtk+2.0 will automatically include them
 

The Following User Says Thank You to jstokes For This Useful Post: