yaml-cpp
last modified: 2024-03-21 by Kodai OkawaCurrent version of the artemis use yaml-cpp-0.7 or higher.
The sudo dnf install yaml-cpp-devel
or sudo apt install libyaml-cpp-dev
will work.
If you want to install from the source, please check Github repo and README of the artemis
cd hoge
git clone https://github.com/jbeder/yaml-cpp.git
cd yaml-cpp
mkdir build && cd build
cmake -DYAML_BUILD_SHARED_LIBS=ON -DBUILD_TESTING=OFF ..
make
sudo make install
Default install path is /usr/local/lib
or /usr/local/lib64
.
If you do not want to pollute the general environment, specify CMAKE_INSTALL_PREFIX
and set PATH environment variable.
cmake -DCMAKE_INSTALL_PREFIX=/foo/bar -DYAML_BUILD_SHARED_LIBS=ON -DBUILD_TESTING=OFF ..