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! -- View this message in context: http://www.nabble.com/Boost-library-names-tf4431325.html#a12641735 Sent from the Boost - Users mailing list archive at Nabble.com.
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
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
Thank you so much. I was so concentrated in trying to find a library name that I overlooked that sentence. Fortunately RegEx is easy to locate (because is prefixed with "boost" unlike uBlas) Mark 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 _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- View this message in context: http://www.nabble.com/Boost-library-names-tf4431325.html#a12644120 Sent from the Boost - Users mailing list archive at Nabble.com.
On Mittwoch 12 September 2007, Mark B. wrote:
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
ublas is header-only. You don't need -lblas unless you (or some other library you're using) depends on *the* BLAS, which is the Fortran Basic Linear Algebra Subroutines, not ublas. Andreas
>>>>>> ublas is header-only. You don't need -lblas unless you (or some other
library you're using) depends on *the* BLAS, which is the Fortran Basic Linear Algebra Subroutines, not ublas.
>>>>>>
I see :-) Please pardon my ignorance, but with the mess of documentation of Boost it's easy to miss details (I know, I should collaborate in improving it, but I got not time now.) _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users -- View this message in context: http://www.nabble.com/Boost-library-names-tf4431325.html#a12647447 Sent from the Boost - Users mailing list archive at Nabble.com.
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?
I believe this is a header-only library. Just include the header. No library to link to.
Thanks!
on Wed Sep 12 2007, "Mark B."
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?
Please see http://www.boost.org/more/getting_started/unix-variants.html#library-naming or http://www.boost.org/more/getting_started/windows.html#library-naming depending on your platform. -- Dave Abrahams Boost Consulting http://www.boost-consulting.com The Astoria Seminar ==> http://www.astoriaseminar.com
participants (5)
-
Andreas Klöckner
-
David Abrahams
-
Deane Yang
-
Mark B.
-
Rush Manbert