单目DM-vio-ros

文章描述了在编译dm-vio项目时遇到的CMake错误,特别是与Boost库中regex组件的链接问题。解决方案包括在CMakeLists.txt中添加find_package()调用来寻找Boost库。此外,还提到了在构建ROSdm-vio插件时需要设置环境变量以及添加依赖项以避免编译错误。最后,文章给出了在T265上运行DM-VIO的命令行参数和启动ROS节点的方法。

编译过程参考

编译报错一
CMake Error at CMakeLists.txt:198 (add_executable):
Target “dmvio_t265” links to target “Boost::regex” but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?

CMake Error at CMakeLists.txt:191 (add_executable):
Target “dmvio_dataset” links to target “Boost::regex” but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?

进入到CMakeLists.txt, 19行增加regex:

find_package(Boost COMPONENTS system thread filesystem chrono serialization date_time timer regex)<
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

飞同学

随时为您服务

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值