Cmake error with ros melodic on jetson nano

asked 2022-11-05 01:52:00 -0600

chased11 gravatar image

I have installed ROS on a jetson nano which runs ubuntu 18.04. I have mostly used ROS2 and ROS noetic, though I am still a beginner. I am pretty sure I installed ros the same as I have multiple times before and created a workspace correctly. I am trying to install a package and am getting the following issue after using catkin_make to build the workspace:

-- ~~ traversing 1 packages in topological order: -- ~~ - robot_localization (plain cmake) -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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!

I have tried to delete and make new packages but haven't had any luck. Any ideas what could be going wrong here?

edit retag flag offensive close merge delete