Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency conflict while making TUM example #27

Open
kmfrick opened this issue Mar 22, 2020 · 1 comment
Open

Dependency conflict while making TUM example #27

kmfrick opened this issue Mar 22, 2020 · 1 comment

Comments

@kmfrick
Copy link

kmfrick commented Mar 22, 2020

The DS_SLAM_BUILD.sh file errors out while building the TUM example

CMake Warning at /opt/ros/kinetic/share/ros/core/rosbuild/public.cmake:509 (add_executable):
  Cannot generate a safe linker search path for target TUM because there is a
  cycle in the constraint graph:

    dir 0 is [/catkin_ws/devel/.private/tf/lib]
    dir 1 is [/catkin_ws/devel/.private/tf2_ros/lib]
    dir 2 is [/catkin_ws/devel/.private/tf2_py/lib]
    dir 3 is [/catkin_ws/devel/.private/tf2/lib]
    dir 4 is [/catkin_ws/devel/.private/tf2_msgs/lib]
    dir 5 is [/opt/ros/kinetic/lib]
    dir 6 is [/catkin_ws/src/DS-SLAM/Examples/ROS/ORB_SLAM2_PointMap_SegNetM/../../../Examples/ROS/ORB_SLAM2_PointMap_SegNetM/caffe-segnet-cudnn5/lib]
    dir 7 is [/opt/ros/kinetic/lib/x86_64-linux-gnu]
    dir 8 is [/catkin_ws/devel/lib]
    dir 9 is [/usr/lib/x86_64-linux-gnu/hdf5/serial/lib]
      dir 14 must precede it due to link library [libhdf5.so]
    dir 10 is [/catkin_ws/src/DS-SLAM/Examples/ROS/ORB_SLAM2_PointMap_SegNetM/../../../Thirdparty/DBoW2/lib]
    dir 11 is [/catkin_ws/src/DS-SLAM/Examples/ROS/ORB_SLAM2_PointMap_SegNetM/../../../Thirdparty/g2o/lib]
    dir 12 is [/catkin_ws/src/DS-SLAM/Examples/ROS/ORB_SLAM2_PointMap_SegNetM/../../../build]
    dir 13 is [/catkin_ws/src/DS-SLAM/Examples/ROS/ORB_SLAM2_PointMap_SegNetM/../../../Examples/ROS/ORB_SLAM2_PointMap_SegNetM/libsegmentation/build]
    dir 14 is [/usr/lib/x86_64-linux-gnu/hdf5/openmpi/lib]
      dir 9 must precede it due to link library [libhdf5.so]
    dir 15 is [/usr/lib/openmpi/lib]

It compiles anyway, but won't this cause problems down the line?

@zoeyuchao
Copy link

If it can compile successfully, you can omit that. Maybe I should rewrite the CMakeLists, or welcome to pull requests~~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants