编译报错一
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)<

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

5809

被折叠的 条评论
为什么被折叠?



