Boost.hpp File Reference

Documentation on how to build and use Boost. More...

Go to the source code of this file.

Detailed Description

Documentation on how to build and use Boost.

Installing and using Boost

On the purpose of Boost

Boost is the main C++ library besides the standard library, for all purposes, and in general of the highest standard.

What the installation yields

  • The boost header files and the corresponding link libraries XXX
  • Documentation XXX
  • A specific version to be used with gcc-4.1.2 XXX
  • The bzip2-library is needed to build Boost; we provide a (patched) local installation by using oklib bzip2. This is installed by default when installing the full package, while otherwise it needs to be installed before installing Boost.


  • To include a boost-header use for example
    #include <boost/iostreams/categories.hpp>
    together with "${boost_include_option_okl}" XXX XXX).
  • To link with Boost, use "${boost_link_option_okl}" XXX for each sub-library separately XXX.
  • When linking to the Boost Graph-library via -lboost_graph, where Graphviz is involved (reading or writing of this specific graph-format), then also -lboost_regex is to be used.

Current state of installation

  • Recommended version = 1_53_0
  • boost include option = -I /home/csoliver/OKplatform/ExternalSources/Installations/Boost/4.1.2/1_53_0/include XXX
  • boost link option = -L /home/csoliver/OKplatform/ExternalSources/Installations/Boost/4.1.2/1_53_0/lib -Wl,-rpath,/home/csoliver/OKplatform/ExternalSources/Installations/Boost/4.1.2/1_53_0/lib XXX
  • ready:
    • mode =
    • version =
  • documentation:
  • list of supported versions XXX

How to install

Some general remarks:

  • Currently only local installation is provided, using the local gcc.


  • If the required local installation of gcc is not available, then it needs to be built first (by oklib gcc); currently this is not handled by the build system).
  • Another prerequisite is the locally installed bzip2-library (install by oklib bzip2).

Make targets

boost Build the recommended Boost-version, using the local gcc.


Definition in file Boost.hpp.