On Fri, 25 Mar 2005 18:58:11 +0800, Reed Lai <reed aga-inst com> wrote:
and comprehensive reference! Then additional question, I write Gtk program
in Fedora C3. The "gtk-config --version" shows 1.2.10, so I think I am
writing with Gtk 1.2. But the gtk-2.0 can also be found in the /usr/include
directory. How do I write with 2.0?
You need
gcc mything.c `pkg-config gtk+-2.0 --cflags --libs`
It works! This problem bothered me days, and I gave up after some
search on internet.