Re: pb in compilation with threads...
- From: <segv-tomate freesurf fr>
- To: <gtk-app-devel-list gnome org>
- Subject: Re: pb in compilation with threads...
- Date: Thu, 21 Nov 2002 11:59:21 +0100 (CET)
segv-tomate freesurf fr wrote:
hi,
i would like to use threads, but i have this error during compilation:
main.c:19: undefined reference to `g_thread_init'
In case of gtk+-2.0 use following pkg-config call:
'pkg-config --cflags --libs gtk+-2.0 gthread-2.0'
In case of gtk+-1.2:
'gtk-config --cflags --libs gtk gthread'
Olexiy
thx it s working fine
but when threads are active, i've got this error when i press the quit
button :
sniffy:523): Gtk-CRITICAL **: file gtkwidget.c: line 6044
(gtk_widget_unref): assertion `GTK_IS_WIDGET (widget)' failed
(sniffy:523): Gtk-CRITICAL **: file gtkwidget.c: line 6044
(gtk_widget_unref): assertion `GTK_IS_WIDGET (widget)' failed
(sniffy:523): Gtk-CRITICAL **: file gtkwidget.c: line 6044
(gtk_widget_unref): assertion `GTK_IS_WIDGET (widget)' failed
...
Segmentation fault
but me program works fine!!
why???
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]