Boost logo

Boost Users :

Subject: Re: [Boost-users] boost:thread compiling problem
From: Rush Manbert (rush_at_[hidden])
Date: 2009-08-21 12:35:21


On Aug 21, 2009, at 9:03 AM, Shaolin wrote:

> Ok, I have managed to compile and install the libs but I dont know
> how to include it in the commandline. The regex example works fine
> but how do I do it for thread ?
>
> $ c++ -I path/to/boost_1_39_0 example.cpp -o example \
>
> ~/boost/stage/lib/libboost_regex-gcc34-mt-d-1_36.a
>
>

The library naming all follows a pattern, so:

  ~/boost/stage/lib/libboost_thread-gcc34-mt-d-1_36.a

which should work if you actually built the library.

- Rush





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