Re: [gtkmm] can't run the threads example



On Mon, Oct 13, 2003 at 07:35:10PM -0400, Silviu D Minut wrote:
> 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`

add -pthread most likely.

> 
> 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!
> 
> 
> 
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
> 

-- 
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO



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