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
DSO_ROS编译提示“dso_live”SET TO NOTFOUND

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

DSO_ROS编译提示“dso_live”SET TO NOTFOUND

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

5 再次catkin_make成功,如图

DSO_ROS编译提示“dso_live”SET TO NOTFOUND