[gtkmm] can't run the threads example



I'm messing with threads and I'm trying to run the examples in
/usr/share/doc/gtkmm2-devel-2.2.3/examples/thread/. I compiled thread.cc
like so:

g++ -g -Wall -o thread thread.cc `pkg-config --cflags --libs glibmm-2.0
gthread`

and it compiled with no complaints whatsoever. When I run it, it segfaults
upon Glib::thread_init().

Does anybody see what am I doing wrong?

Thanks!






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