Re: gdk_threads_init()



Thanks for your help on this.  I have had mixed results...


Use exactly:
'pkg-config --cflags libgnome-2.0 libgnomeui-2.0 gthread-2.0'
'pkg-config --libs libgnome-2.0 libgnomeui-2.0 gthread-2.0'
And all will be OK for GTK+2.0 and Gnome2.


Here is the output of the first command:

[fwmiller localhost gnome]$ pkg-config --cflags libgnome-2.0 libgnomeui-2.0 gthread-2.0
Package libgnome-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libgnome-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libgnome-2.0' found

I tried several combinations:

pkg-config --cflags gnome-2.0 libgnomeui-2.0 gthread-2.0
pkg-config --cflags gnome-2.0 gnomeui-2.0 gthread-2.0
pkg-config gnome-2.0 gnomeui-2.0 gthread-2.0 --cflags

These produce the same output.  The same thing happens for the --libs flag.

This is all under Red Hat 9. The good news is that it works! for Fedora Core 1. So, I'm assuming that I need to upgrade my Red Hat 9 installation. Are there RPMs somewhere or should I build from scratch?

FM






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]