Boost

From HCL
Revision as of 15:17, 17 February 2010 by Root (talk | contribs)

Jump to: navigation, search

http://www.boost.org/

Installation from sources

1. By default, boost is configured with all libraries. To save time on building boost, you can configure it ony with the libraries you need:

$ ./configure --prefix=DIR --with-libraries=graph,serialization

2. Default installation:

- DIR/include/boost_version/boost
- DIR/lib/libboost_library_versions.*

Create symbolic links:

$ cd DIR/include; ln -s boost_version/boost
$ cd DIR/lib; ln -s libboost_[library]_[version].[a/so] libboost_[library].[a/so]
$ export LD_LIBRARY_PATH=DIR/lib:$LD_LIBRARY_PATH

Documentation