Rate This Document
Findability
Accuracy
Completeness
Readability

Installing yaml-cpp

Procedure

  1. Download the installation package.
    cd /path/to
    wget https://github.com/jbeder/yaml-cpp/archive/yaml-cpp-0.6.2.zip
    unzip yaml-cpp-0.6.2.zip
    cd yaml-cpp-yaml-cpp-0.6.2
  2. Create a build directory.
    mkdir build
    cd build
    cmake .. -DCMAKE_INSTALL_PREFIX=/path/to/yaml-cpp-install -DBUILD_SHARED_LIBS=ON
  3. Perform the installation.
    make
    make install
  4. Set the environment variable.
    export LD_LIBRARY_PATH=/path/to/yaml-cpp-install/lib:$LD_LIBRARY_PATH