当前位置:网站首页>Common library installation
Common library installation
2022-07-26 11:21:00 【AutoGalaxy】
One . DBoW2
github Of DBoW2 There is no substitute for ORBSLAM2 Internal library ,ORBSLAM2 More functions are implemented internally , Don't try again , Try the dynamic source code again .
Why download this library , Because you want to write a ORBSLAM2, Who knows ,ORBSLAM2 The built-in word bag model is only applicable to DBoW2, It doesn't apply DBoW3, therefore , You have to introduce yourself DBoW2, Here we need to compare ORBSLAM2 Inside DBoW2 Of CMakeLists The file !
1. Delivered first github Download address :dorian3d/DBoW2: Enhanced hierarchical bag-of-word library for C++ (github.com)
https://github.com/dorian3d/DBoW2
Here is github Of CMakeList file

Here is ORBSLAM2 Inside DBoW2 Of CMakeLists file

You can see orbslam2 Of dbow2 Code follows github There are some differences in
2. Start the formal migration
First , Transplantation should focus on :
(1)add_library What files does the generated library contain
(2) What is the generated library name , Generated library type ( static state / share )
(3) What libraries are linked to
For (1) spot
ORBSLAM2 Include the following files


and github It contains the following documents
![]()
Can see The first point is different , So if the compilation goes wrong , Consider whether there is less DUtils The contents of the library
For (2) spot
ORBSLAM2 Yes. DBoW2
github Yes. ${PROJECT_NAME}, and ${PROJECT_NAME} The value of is again DBoW2, So they are the same
For (3) spot
ORBSLAM2 The link is as follows

The library type is SHARED
github There are links as follows
The library type is SHARED
From the overview , Only the first point is different , So if something goes wrong , The probability is due to the (1) A little less DUtils Library LED .
3. Last but not least , Since you didn't choose to install this library , that ORBSLAM2 How to include header files ?
We all know that referencing a library involves the following two steps
(1) Contains the header file directory
(2) Link library files
orbslam2 It's cruel , It is directly quoted below

边栏推荐
- 由浅入深搭建神经网络
- easyui05
- There is an unhandled exception at 0x003b66c3 in MFC: 0xc000041d: unhandled exception encountered during user callback
- Classified by the number of 1 in binary number
- Scrapy shell出现的一个错误
- Interview knowledge points
- Can SAIC mingjue get out of the haze if its products are unable to sell and decline
- MySQL transaction details
- SCADA and three industrial control systems PLC, DCS and FCS
- MySQL锁机制
猜你喜欢
随机推荐
logging基本使用
[开发工具] IEDA报红
Mysql database advanced
Cmake常用命令总结
List ascending and descending
1837. Sum of digits under k-ary representation
MySql基础知识汇总
看源码之LinkedList
MySQL locking mechanism
Can SAIC mingjue get out of the haze if its products are unable to sell and decline
Visual conversion of nmap vulnerability scanning results
加载ORB词典
[vscode]如何远程连接服务器
logging 学习最终版-配置的不同级别日志打印的颜色
Fragment 懒加载
【转载】多元高斯分布(The Multivariate normal distribution)
easyui04
Simple use of MFC multithreading
mother
1748. Sum of unique elements
https://github.com/dorian3d/DBoW2







