当前位置:网站首页>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 .
边栏推荐
- 關於ETL看這篇文章就够了,三分鐘讓你明白什麼是ETL
- MyCAT读写分离与MySQL主从同步
- MySQL | 视图《康师傅MySQL从入门到高级》笔记
- 华为路由器:ipsec技术
- IDEA另起一行快捷键
- 数据中台:数据治理概述
- leetcode 1642. Furthest building you can reach
- À propos de ETL il suffit de lire cet article, trois minutes pour vous faire comprendre ce qu'est ETL
- [MySQL from introduction to mastery] [advanced part] (I) character set modification and underlying principle
- 数据中台:国内大厂中台建设架构集锦
猜你喜欢

rpiplay实现树莓派AirPlay投屏器
![打印出来的对象是[object object],解决方法](/img/fc/9199e26b827a1c6304fcd250f2301e.png)
打印出来的对象是[object object],解决方法
![[pytoch basic tutorial 31] youtubednn model analysis](/img/18/dbeab69894583f6e5230772ce44652.png)
[pytoch basic tutorial 31] youtubednn model analysis

关于 GIN 的路由树

À propos de ETL il suffit de lire cet article, trois minutes pour vous faire comprendre ce qu'est ETL

Prompt code when MySQL inserts Chinese data due to character set problems: 1366

2022.06.23(LC_144,94,145_二叉树的前序、中序、后序遍历)

华为路由器:GRE技术

JS to find and update the specified value in the object through the key

How to configure environment variables and distinguish environment packaging for multi terminal project of uniapp development
随机推荐
偶然间得到的framework工具类 自用
Liunx change the port number of vsftpd
PM2 deploy nuxt3 JS project
216. 组合总和 III-枚举法
Data midrange: analysis of full stack technical architecture of data midrange, with industry solutions
数据中台:数据中台技术架构详解
What is graph neural network? Figure what is the use of neural networks?
Data middle office: middle office architecture and overview
YOLOX backbone——CSPDarknet的实现
【牛客】把字符串转换成整数
2022-06-23:给定一个非负数组,任意选择数字,使累加和最大且为7的倍数,返回最大累加和。 n比较大,10的5次方。 来自美团。3.26笔试。
Data middle office: overview of data governance
Data middle office: detailed explanation of technical architecture of data middle office
Distributed | how to make "secret calls" with dble
Deep learning and neural networks: the six most noteworthy trends
1528. 重新排列字符串
GradScaler MaxClipGradScaler
Solving linear equations with MATLAB ax=b
原生小程序用画布制作海报,等比例缩放,和uniapp差不多就是写法有点不同
2022 spring recruitment interview summary