当前位置:网站首页>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
边栏推荐
猜你喜欢

ZUCC_ Principles of compiling language and compilation_ Experiment 01 language analysis and introduction

Vscode install the remote -wsl plug-in to connect to the local WSL

MySQL 因字符集问题插入中文数据时提示代码 :1366

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

ZUCC_ Principles of compiling language and compilation_ Experiment 05 regular expression, finite automata, lexical analysis

Opencv实现图像的基本变换

Centos7安装jdk8以及mysql5.7以及Navicat连接虚拟机mysql的出错以及解决方法(附mysql下载出错解决办法)
![[micro services ~nacos] Nacos service providers and service consumers](/img/b7/47ecd6979ccfeb270261681d6130be.png)
[micro services ~nacos] Nacos service providers and service consumers

Introduction to RCNN, fast RCNN and fast RCNN

数据库迁移从PostgreSQL迁移到 MYSQL
随机推荐
lombok 使用
Qt源码分析--QObject(2)
Rsync for file backup
Ordinary token
leetcode 1268. Search Suggestions System(搜索推荐系统)
Shell array
MATLAB Camera Calibrator相机标定
单目双视三维坐标确定
There was an error checking the latest version of pip
App Startup
One development skill a day: how to establish P2P communication based on webrtc?
K8S部署高可用postgresql集群 —— 筑梦之路
Get screen width and height tool class
Tencent cloud ASR product PHP realizes real-time voice authentication request
Battle history between redis and me under billion level traffic
ZUCC_编译语言原理与编译_大作业
【团队管理】测试团队绩效管理的25点小建议
JUC个人简单笔记
Permission model DAC ACL RBAC ABAC
[life thinking] planning and self-discipline