1.安装Sophus库 安装非模板类的Sophus库需要回滚一下 git clone https://github.com/strasdat/Sophus.git cd Sophus git checkout a621ff mkdir build cd build cmake .. make