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



On Tue, 2003-10-14 at 05:10, bert hubert wrote:
> 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.

try:

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


-- 
Peter Gasper <pgasper designadvantage com>




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