ROS2 MacOS Missing Interactive Markers Package during colcon build

asked 2020-11-17 12:23:54 -0500

raghava13 gravatar image

updated 2020-11-18 13:42:36 -0500

I was able to build ROS2 packages using colcon build --symlink-install command on MacOS Catalina 10.15 all except for the rviz_default_plugins which I had to add a COLCON_IGNORE due to it not being able to find the cmake file for interactive markers.

This was the specific error message:

  CMake Error at CMakeLists.txt:62 (find_package):
  By not providing "Findinteractive_markers.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "interactive_markers", but CMake did not find one.

  Could not find a package configuration file provided by
  "interactive_markers" with any of the following names:


  Add the installation prefix of "interactive_markers" to CMAKE_PREFIX_PATH
  or set "interactive_markers_DIR" to a directory containing one of the above
  files.  If "interactive_markers" provides a separate development package or
  SDK, be sure it has been installed.

Failed   <<< rviz_default_plugins [33.3s, exited with code 1]

I tried searching for the cmake file on my computer to see if I can add the prefix, but that did not work. I believe I do not have it on my system. Being on mac, I can’t install via sudo apt install, so I am unsure what to do next.

Any assistance on this?

edit retag flag offensive close merge delete