uzh-rpg / dslam_open

Public code for "Data-Efficient Decentralized Visual SLAM"
GNU General Public License v3.0
283 stars 73 forks source link

Project 'dslam' tried to find library 'orb_slam_2'. #7

Open liang-ry opened 4 years ago

liang-ry commented 4 years ago

when I catkin build,the error occurs. Errors << dslam:cmake /home/reinovo/my_ws/logs/dslam/build.cmake.005.log
CMake Error at /home/reinovo/my_ws/devel/share/orb_slam_2/cmake/orb_slam_2Config.cmake:148 (message): Project 'dslam' tried to find library 'orb_slam_2'. The library is neither a target nor built/installed properly. Did you compile project 'orb_slam_2'? Did you find_package() it before the subdirectory containing its code is included? Call Stack (most recent call first): /home/reinovo/my_ws/devel/share/catkin_simple/cmake/catkin_simple-extras.cmake:38 (find_package) CMakeLists.txt:28 (catkin_simple)

cd /home/reinovo/my_ws/build/dslam; catkin build --get-env dslam | catkin env -si /usr/bin/cmake /home/reinovo/my_ws/src/dslam_open/dslam --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/reinovo/my_ws/devel -DCMAKE_INSTALL_PREFIX=/home/reinovo/my_ws/install -DCMAKE_BUILD_TYPE=Release; cd - ...................................................................................... Failed << dslam:cmake [ Exited with code 1 ] Failed <<< dslam [ 0.6 seconds ]
[build] Summary: 20 of 21 packages succeeded.
[build] Ignored: None.
[build] Warnings: None.
[build] Abandoned: None.
[build] Failed: 1 packages failed.
[build] Runtime: 3.2 seconds total.

tcies commented 4 years ago

ORB SLAM should be imported here: https://github.com/uzh-rpg/dslam_open/blob/master/dependencies.yaml#L46-L49

Seems like you skipped some of the installation instructions ;)

MichaelJoker commented 4 years ago

I am wondering why the pangolin_catkin cannot be built in my system? #10