title: How to build boost::fiber alongside other boost libraries?
body: <p>I'm trying to build <a href="https://github.com/boostorg/fiber" rel="nofollow">boost::fiber</a> alongside other boost libraries on Ubuntu. I downloaded boost version 1.61 from <a href="https://sourceforge.net/projects/boost/files/boost/1.61.0/" rel="nofollow">sourceforge</a>. And I downloaded version 1.0 of <strong>boost::fiber</strong> from github. I copied directory named <em>fiber</em> in <em>boost/libs</em> sub-directory in boost distribution. The command I used for building is:</p>
  
  <pre><code>sudo ./b2 cxxflags="-std=c++14" --build-type=minimal --build-dir=/home/bobeff/projects/build --layout=system install
  </code></pre>
  
  <p>The used version of g++ is:</p>
  
  <blockquote>
    <blockquote>
      <p>g++ (Ubuntu 5.4.0-6ubuntu1~16.04.2) 5.4.0 20160609</p>
    </blockquote>
  </blockquote>
  
  <p><strong>boost::fiber</strong> failed to compile and the first of many errors is:</p>
  
  <pre><code>gcc.compile.c++ /home/bobeff/projects/build/boost/bin.v2/libs/fiber/build/gcc-5.4.0/release/link-static/threading-multi/algorithm.o
  In file included from libs/fiber/src/algorithm.cpp:9:0:
  ./boost/fiber/fiber_context.hpp:91:5: error: invalid use of template-name ‘boost::context::execution_context’ without an argument list
       context::execution_context                      ctx_;
  </code></pre>