Boost logo

Boost Users :

From: Rush Manbert (rush_at_[hidden])
Date: 2007-09-12 16:38:54


Rush Manbert wrote:
> Mark B. wrote:
>
>>Hi,
>>
>>I am trying to use string_algo (specifically split) in my program but I have
>>no idea about which Boost library I have to link to. Library naming in Boost
>>is not very regular. For example, to link to the filesystem classes I have
>>to use -lboost_filesystem, but for linking to uBlas, I have to use -lblas.
>>Thus, the substring "boost" is not necessarily in the library's filename
>>
>>Can somebody help me?
>>
>>Thanks!
>
>
> Hi Mark,
>
> The string_algo library is headers only, there's nothing to link
> against. (Most of the libraries are header-only.)
>
> It says so here:
> http://www.boost.org/doc/html/string_algo/env.html#id1709621
>
> which isn't right at the top, sadly.
>
> I can't speak to the naming conventions part of the question.
>
> - Rush

Sorry, it also says there that some algorithms depend on the regex
library, which is NOT header only. I believe the regex library is
libboost_regex.a.

- 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