|
Boost Users : |
From: Andres Herrera (aherrera_at_[hidden])
Date: 2007-10-23 16:23:34
Thanks Raul, that worked like a charm. I feel really dumb now, I tried
including pthread in the code not the make file.
Thanks again,
Andres Herrera
-----Original Message-----
From: boost-users-bounces_at_[hidden]
[mailto:boost-users-bounces_at_[hidden]] On Behalf Of raulh39_at_[hidden]
Sent: Tuesday, October 23, 2007 1:17 PM
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] Thread Library Problem
On Tue, 23 Oct 2007 09:55:05 -0700
"Andres Herrera" <aherrera_at_[hidden]> wrote:
> Hi,
> ...
> g++ TestBoost.cpp -o listener -I
> /home/andresh/DVRTranslators/Boost/include/boost-1_34_1/
> /home/andresh/DVRTranslators/Boost/lib/libboost_thread-gcc41-mt-d.a
>
Try to add -pthread:
g++ -pthread TestBoost.cpp -o listener \
-I/home/andresh/DVRTranslators/Boost/include/boost-1_34_1 \
/home/andresh/DVRTranslators/Boost/lib/libboost_thread-gcc41-mt-d.a
HTH,
Raul.
_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net