Joined: 18 May 2008 Posts: 4824 Location: Kingwood, TX
Posted: Mon 20 Sep 2010, 00:33 Post subject:
you missed the ` surrounding the pkg-config command (shift + ~ ... top left on most keyboards)
this returns the output inline
gcc prog.c -o prog `pkg-config --cflags --libs gtk-unix-print-2.0`
I trust the linker more than pkg-config for libs so I use this instead:
gcc -Os prog.c -o prog `pkg-config --cflags gtk-unix-print-2.0` -lgtk-unix-print-2.0 _________________ Check out my github repositories. I may eventually get around to updating my blogspot.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum