Difference between revisions of "Boost"
From HCL
(New page: http://www.boost.org/) |
|||
| Line 1: | Line 1: | ||
http://www.boost.org/ | http://www.boost.org/ | ||
| + | |||
| + | Installation from sources: | ||
| + | |||
| + | 1. Boost sould be configured with at least graph and serialization libraries (default: all) | ||
| + | <source lang="bash"> | ||
| + | $ ./configure --prefix=DIR --with-libraries=graph,serialization | ||
| + | </source> | ||
| + | 2. Default installation: | ||
| + | - DIR/include/boost_version/boost | ||
| + | - DIR/lib/libboost_library_versions.* | ||
| + | Create symbolic links: | ||
| + | <source lang="bash"> | ||
| + | $ 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 | ||
| + | </source> | ||
Revision as of 13:09, 29 January 2010
Installation from sources:
1. Boost sould be configured with at least graph and serialization libraries (default: all)
$ ./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