当前位置:网站首页>Installation of sophus package in slam14 lecture
Installation of sophus package in slam14 lecture
2022-06-24 08:57:00 【alex1801】
SLAM14 in ,useSophus.cpp An error is reported during project compilation :
CMake Error at CMakeLists.txt:5 (find_package):
By not providing "FindSophus.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Sophus", but
CMake did not find one.
Could not find a package configuration file provided by "Sophus" with any
of the following names:Error reason :makelist I can't find it in China. Sophus The header file . We deal with it in two steps :
1、 download Sophus package , And compile 、 install
Enter the source directory , compile , install .
cd slambook2/3rdparty/Sophus
mkdir build
cd build
cmake ..
make
sudo make install2、 stay CMakeLists.txt Add... To the file Sophus_INCLUDE_DIRS Variable
Viewing error messages , I just can't find Sophus Contents of libraries and header files :
set(Sophus_INCLUDE_DIRS " Place your Sophus Header file folder path ")
set(Sophus_LIBS " Place your Sophus Folder path of library file , Indicate the corresponding library file ")such as , Mine is like this :
set(Sophus_INCLUDE_DIRS "/usr/local/include/sophus")
# set(Sophus_LIBS "/usr/local/lib/libSophus.so")
include_directories(
${Sophus_INCLUDE_DIRS}
)Then link your execution file Sophus The library files . In this case , The above compilation errors should disappear .
边栏推荐
- 【牛客】把字符串转换成整数
- every()、map()、forEarch()方法。数组里面有对象的情况
- 1704. 判断字符串的两半是否相似
- uniapp 开发多端项目如何配置环境变量以及区分环境打包
- 剑指 Offer 55 - I. 二叉树的深度-dfs法
- How does the tunnel mobile inspection track robot monitor 24 hours to ensure the safety of tunnel construction?
- 基于单片机开发的酒精浓度测试仪方案
- 【MySQL从入门到精通】【高级篇】(一)字符集的修改与底层原理
- Prompt code when MySQL inserts Chinese data due to character set problems: 1366
- 陆奇:我现在最看好这四大技术趋势
猜你喜欢
随机推荐
MySQL | store notes of Master Kong MySQL from introduction to advanced
OpenCV每日函数 结构分析和形状描述符(7) 寻找多边形(轮廓)/旋转矩形交集
Summary of methods in numpy
mysql写的代码数据 增删查改等等
剑指 Offer 55 - I. 二叉树的深度-dfs法
项目部署相关
基于QingCloud的 “房地一体” 云解决方案
随笔-反思
等保备案是什么意思?应该去哪里办理备案?
关于 GIN 的路由树
Qingcloud based "real estate integration" cloud solution
Sword finger offer 55 - I. depth DFS method of binary tree
Opencv daily function structure analysis and shape descriptor (7) finding polygon (contour) / rotating rectangle intersection
MySQL | 存储《康师傅MySQL从入门到高级》笔记
One article explains in detail | those things about growth
110. 平衡二叉树-递归法
Analyze the meaning of Internet advertising terms CPM, CPC, CPA, CPS, CPL and CPR
基于单片机开发的酒精浓度测试仪方案
开源之夏中选名单已公示,基础软件领域成为今年的热门申请
工具类









