Sophus github上下载Sophus库(现行版本是带模板的库) 解压,进入目录,然后 mkdir build cmake .. make sudo make install # 注意,带模板的库是需要安装的,不然找不到相应头文件