Re: pb in compilation with threads...



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




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