Boost logo

Boost Users :

From: Richard Dingwall (rdingwall_at_[hidden])
Date: 2007-01-03 02:23:04


On 1/3/07, Hugo Vinicius Alves Soares <hvasoares_at_[hidden]> wrote:
>
> Hey everybody,
>
> I'm a newbie on Boost Libraies, I'm starting with the thread library.
> I'm using Ubuntu and a install it using apt-get, the headers are in
> /usr/include/boost/ but when I use g++ to compile my test codes an error
> message is returned: undefined reference to methods of the library classes.
> I know this errors are link errors, what option I must pass to g++?
> Thanks for everyone that answer my ask.
>

Try: -lboost_thread

Richard

> Hugo Vinícius
>
> __________________________________________________
> Fale com seus amigos de graça com o novo Yahoo! Messenger
> http://br.messenger.yahoo.com/
> _______________________________________________
> 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