ssl_slam2
ssl_slam2 copied to clipboard
unable to build realsense-ros
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".

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

Any idea how to resolve this issue ?