ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
4

Has anyone actually got ROS working on Mac OS X Sierra?

asked 2017-08-03 21:13:52 -0500

Cataphract gravatar image

updated 2017-08-04 05:39:56 -0500

gvdhoorn gravatar image

I understand that ROS Kinetic or Lunar are "experimental" on OS X (Homebrew), but what does that mean? Does it mean that someone has actually been able to get it installed and simulate a simple robot on Mac? I have been following the steps at https://gist.github.com/jmtatsch/44e7... "ROS Kinetic on Sierra Work in Progress" on a FRESH install (system completely wiped and reinstalled) Mac OS X Sierra, but I am running into some difficulties:

When I perform the step rosdep install --from-paths src --ignore-src --rosdistro kinetic -y, I get an error message robot: Missing resource robot, which I find interesting because presumably it should find the robot metapackage easily within the src/metapackages folder. Under the assumption that "maybe this isn't that big of a deal", I continued with the installation steps outlined in the Github, but I am having issues with the step:

catkin build \
  -DCMAKE_BUILD_TYPE=Release \
  -DPYTHON_LIBRARY=/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib \
  -DPYTHON_INCLUDE_DIR=/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/include/python2.7

It fails almost immediately on:

Failed     << cpp_common:cmake                                [ Exited with code 1 ]                    
Failed    <<< cpp_common                                      [ 0.2 seconds ]

Errors     << cpp_common:cmake /Users/karl/ros_catkin_ws/logs/cpp_common/build.cmake.000.log            
CMake Error at /Users/karl/ros_catkin_ws/src/roscpp_core/cpp_common/CMakeLists.txt:5 (find_package):
  By not providing "Findconsole_bridge.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "console_bridge", but CMake did not find one.

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

    console_bridgeConfig.cmake
    console_bridge-config.cmake

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

Why is it even looking for console_bridge in Kinetic? I thought console_bridge was replaced with rosconsole_bridge? Why would there still be a dependency?

The reasons I can't just install ROS on a Linux box natively are (1) all I have are Mac systems, (2) I can't afford a Linux workstation with suitable performance right now, and (3) I can use a Linux VPS remotely, but applications like Gazebo do not seem to graphically perform well remotely through VNC (I tried this before). What would you recommend?

edit retag flag offensive close merge delete

Comments

1

Has anyone actually got ROS working on Mac OS X Sierra?

If #q267326 is any indication it doesn't seem like this is easy.

gvdhoorn gravatar image gvdhoorn  ( 2017-08-04 05:41:09 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
2

answered 2017-08-19 23:36:41 -0500

Cataphract gravatar image

I eventually gave up on running ROS under Homebrew, and instead decided to dual boot my Mac with Ubuntu 16.04 LTS. This wasn't very difficult to do with the guides on using ReEFIt.

edit flag offensive delete link more
0

answered 2020-11-19 13:29:10 -0500

kirill.klimuk gravatar image

I got ROS working on macos, but had to use Docker to get it done.

If someone is looking for how to do it in 2020, here's your solution: https://github.com/nebocleaning/mac-ros

edit flag offensive delete link more

Question Tools

3 followers

Stats

Asked: 2017-08-03 21:13:52 -0500

Seen: 7,714 times

Last updated: Aug 19 '17