下载编译命令:
git clone https://github.com/strasdat/Sophus.git
cd Sophus
mkdir build
cd build
cmake ..
make
可能遇到的错误:
解决方案:
d Sophus/sophus/
vim so2.cpp
//注释掉下面两个函数
SO2::SO2()
{
//unit_complex_.real() = 1.;
//unit_complex_.imag() = 0.;
}
安装命令:
sudo make install