Recommended version (as of Dakota 6.13): Boost 1.69, minimum Boost 1.58. Make sure the CMake version you're using is newer than the Boost version to properly find Boost.

In addition to Boost development headers, Dakota requires the following compiled libraries: filesystem, program_options, regex, serialization, system

The Boost website has comprehensive information on acquiring and installing Boost.  We offer the following suggestions (in preferential order) for acquiring a suitable Boost in hopes they are helpful:

  1. Install using your system's software package manager or build system.  For example use yum on Redhat Linux, Fink or MacPorts on Mac, Synaptic on Ubuntu, etc. When doing so make sure to include all required headers, libraries, and development components.
  2. OR Acquire and install a binary distribution of Boost for your platform that includes the required libraries. For example a Linux rpm or a Windows installer.
  3. OR Download a source distribution and compile from source using bjam.  For example, the following will compile and install all Boost headers and libraries (optionally add the option --with-libraries=filesystem,program_options,regex,serialization,system to booststrap, b2, or bjam to build only those used by Dakota). Note that since Dakota requires C++11, it may be necessary to compile Boost with the same -std=c++11 options.
    1. Example process (Unix, in a console):
      tar xzf boost_1_49_0.tar.gz
      cd boost_1_49_0
      ./ --prefix=${HOME}/local/boost/1.49
      ./b2 -j4 install
    1. Example process (Windows, in a command prompt after unzipping to C:\src\boost1_52_0);
      cd C:\src\boost_1_49_0
      .\bjam --prefix=C:\local\boost\1.49 install