DSO_ROS编译提示“dso_live”SET TO NOTFOUND

1 在安装完成DSO之后,如果需要用到自己的设备跑DSO的话,需要安装DSO_ROS,https://github.com/JakobEngel/dso_ros,下载

2 在编译过程中提示

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
DSO_LIBRARY
    linked by target "dso_live" in directory /home/peter/catkin_ws_dso_ros/src/dso_ros-catkin

3 提示“dso_live”这个库文件找不到。打开dso ros的camkelist,下图最后一行发现要对已经装好的DSO进行路径设置,这样dso ros才可以找到dso的库文件。

4 根据cmakelist的提示,DSO_PATH是dso编译文件中,build的上级所有目录,即export DSO_PATH=/home/peter/catkin_ws_DSO/dso-master

5 再次catkin_make成功,如图

 

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值