- Download the latest version of CMake from the official CMake website.
- Run the installer and follow the instruction. After installation, add CMake to the environment PATH.
- Install Visual Studio with C++ workload. This includes the C++ compiler (MSVC) and the Windows SDK.
You can use MinGW instead of MSVC.
Please see the below
mkdir build
cd build
cmake -G "Visual Studio 16 2019" ..
cmake --build . --config Release
sudo apt install -y build-essential cmake
(Optional) Eigen
Eigen library is optional. If you want to use Eigen vector, install eigen library and just include header file
before rbpodo
header file. Detail installation guide can be found in this page.
sudo apt install -y wget
wget https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.tar.bz2
tar xvf eigen-3.4.0.tar.bz2
cd eigen-3.4.0
mkdir build
cd build && cmake .. && sudo cmake --build . --target install
mkdir build
cd build
cmake -D CMAKE_BUILD_TYPE=Release ..
make
BUILD_EXAMPLES
BUILD_EIGEN_EXAMPLES
cd build
sudo make install