当前位置:网站首页>orb slam build bug: undefined reference to symbol ‘_ ZN5boost6system15system_ categoryEv‘
orb slam build bug: undefined reference to symbol ‘_ ZN5boost6system15system_ categoryEv‘
2022-06-24 08:43:00 【Blue feather bird】
build_ros.sh The following error was encountered in the process :
/usr/bin/ld: CMakeFiles/RGBD.dir/src/ros_rgbd.cc.o: undefined reference to symbol '_ZN5boost6system15system_categoryEv'
/usr/lib/x86_64-linux-gnu/libboost_system.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
CMakeFiles/RGBD.dir/build.make:220: recipe for target '../RGBD' failed
make[2]: *** [../RGBD] Error 1
CMakeFiles/Makefile2:709: recipe for target 'CMakeFiles/RGBD.dir/all' failed
make[1]: *** [CMakeFiles/RGBD.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
hold ORB_SLAM2/Examples/ROS/ORB_SLAM2 Under the CmakeLists.txt Make the following changes :
stay LIBS Medium plus -lboost_system
set(LIBS
${OpenCV_LIBS}
${EIGEN3_LIBS}
${Pangolin_LIBRARIES}
${PROJECT_SOURCE_DIR}/../../../Thirdparty/DBoW2/lib/libDBoW2.so
${PROJECT_SOURCE_DIR}/../../../Thirdparty/g2o/lib/libg2o.so
${PROJECT_SOURCE_DIR}/../../../lib/libORB_SLAM2.so
-lboost_system #added
)
solve
边栏推荐
- Cloudbase database migration scheme
- 深度学习与神经网络:最值得关注的6大趋势
- 小黑ai4code代码baseline啃食1
- 单目双视三维坐标确定
- Fundamentals of 3D mathematics [17] inverse square theorem
- 定时备份数据库脚本
- QT writing security video monitoring system 36 onvif continuous movement
- 数据平台简介
- Smart power plant: how to make use of easycvr to build a safe, stable, green and environment-friendly intelligent inspection platform
- RuntimeError: Missing dependencies:XXX
猜你喜欢

【关于运维和网工的差别,一文说透】

【微服务~Nacos】Nacos服务提供者和服务消费者

ZUCC_编译语言原理与编译_实验04 语言与文法

Introduction to RCNN, fast RCNN and fast RCNN

Permission model DAC ACL RBAC ABAC

数据库迁移从PostgreSQL迁移到 MYSQL

Maya re deployment

Detailed explanation of Base64 coding and its variants (to solve the problem that the plus sign changes into a space in the URL)

New technology practice, encapsulating the permission application library step by step with the activity results API
![[explain the difference between operation and maintenance and network engineering]](/img/2b/945f468588e729336e2e973e777623.jpg)
[explain the difference between operation and maintenance and network engineering]
随机推荐
MATLAB Camera Calibrator相机标定
ZUCC_ Principles of compiling language and compilation_ Experiment 05 regular expression, finite automata, lexical analysis
Base64编码详解及其变种(解决加号在URL变空格问题)
Using ngrok for intranet penetration
相机投影矩阵计算
解析互联网广告术语 CPM、CPC、CPA、CPS、CPL、CPR 是什么意思
数据库迁移从PostgreSQL迁移到 MYSQL
Easydss anonymous live channel data volume instability optimization scheme sharing
Maya re deployment
The JS macro of WPS implements the separation method of picture text in the same paragraph
RuntimeError: Missing dependencies:XXX
liunx服务器 telnet 带用户名 端口登陆方法
leetcode 1642. Furthest Building You Can Reach(能到达的最远的建筑)
ZUCC_编译语言原理与编译_实验04 语言与文法
Video Fusion communication has become an inevitable trend of emergency command communication. How to realize it based on easyrtc?
mysql组合索引的有序性
OpenCV to realize the basic transformation of image
Use cpulimit to free up your CPU
【生活思考】计划与自律
How to implement approval function in Tekton