Re: gdk_threads_init()



Frank W. Miller wrote:
<skipped>

gcc -c -Wall `gnome-config --cflags gnome gnomeui` `pkg-config gthread-2.0 --cflags` -I../include -o main.o main.c

<skipped>

Can anyone see what I'm doing wrong here?

Forget about 'gnome-config'. If you use GTK+-2.0 (and so Gnome-2) you *HAVE TO USE* 'pkg-config'. When you using 'gnome-config' with 'pkg-config' you get a weird mix of old and new libraries. In your case 'pkg-config --cflags libgnome-2.0 libgnomeui-2.0 gthread-2.0' should be used.

   Olexiy





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