wh200720041 / ssl_slam2

SSL_SLAM2: Lightweight 3-D Localization and Mapping for Solid-State LiDAR (mapping and localization separated) ICRA 2021
GNU General Public License v3.0
392 stars 71 forks source link

unable to build realsense-ros #24

Open ender-1 opened 1 year ago

ender-1 commented 1 year ago

When I use the catkin_make command and run it after cloning the realsense repository I get this error:

-- ~~~~~~~~~~~~~ -- ~~ traversing 4 packages in topological order: -- ~~ - realsense2_camera_msgs (plain cmake) -- ~~ - realsense2_description (plain cmake) -- ~~ - realsense2_camera (plain cmake) -- ~~ - ssl_slam2 -- ~~~~~~~~~~~~~ CMake Error at /opt/ros/melodic/share/catkin/cmake/catkin_workspace.cmake:100 (message): This workspace contains non-catkin packages in it, and catkin cannot build a non-homogeneous workspace without isolation. Try the 'catkin_make_isolated' command instead. Call Stack (most recent call first): CMakeLists.txt:69 (catkin_workspace)

-- Configuring incomplete, errors occurred! See also "/home/third/catkin_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/third/catkin_ws/build/CMakeFiles/CMakeError.log".

realsense-ros

I also tried it after running the catkin_make_isolated command I got this error:

third@ender:~/catkin_ws$ catkin_make_isolated Base path: /home/third/catkin_ws Source space: /home/third/catkin_ws/src Build space: /home/third/catkin_ws/build_isolated Devel space: /home/third/catkin_ws/devel_isolated Install space: /home/third/catkin_ws/install_isolated

~~  traversing 4 packages in topological order:
~~  - realsense2_camera_msgs (unknown)
~~  - realsense2_camera (unknown)
~~  - realsense2_description (unknown)
~~  - ssl_slam2

Error: Packages with unknown build types exist Can not build workspace with packages of unknown build_type

catkin_make_isolated

Any idea how to resolve this issue ?