Re: [gtkmm] glib::thread_init() segfault at startup [solved]



> My issue is I get a segfault as soon as I call Glib::thread_init(). I do believe
> I am passing the correct libs and cflags to g++, as I used:
> pkg-config gtkmm-2.0 --cflags --libs gthread

Solved my own question!

The correct string for pkg-config is:

pkg-config gtkmm-2.0 gthread-2.0 --cflags --libs

Using this string with g++ works.  I think there should be a note about this
somewhere in the gtkmm documentation.

-- 
Gene Ruebsamen


-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/



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