Skip to content

Instantly share code, notes, and snippets.

@NikolausDemmel
Last active August 29, 2015 14:01
Show Gist options
  • Save NikolausDemmel/cb8a30231a66efd5b07b to your computer and use it in GitHub Desktop.
Save NikolausDemmel/cb8a30231a66efd5b07b to your computer and use it in GitHub Desktop.
Install ROS hydro on OS X
brew update
brew uninstall cmake
brew install nikolausdemmel/devel/cmake
brew install python libyaml
brew tap ros/hydro
brew tap osrf/simulation
brew tap homebrew/versions
brew tap homebrew/science
pip install -U setuptools
pip install -U wstool rosdep rosinstall rosinstall_generator rospkg catkin-pkg Distribute sphinx
sudo rosdep init
rosdep update
# PIL fails to install (maybe mavericks only?):
CFLAGS="-I/usr/local/include/freetype2" pip install -U PIL --allow-external PIL --allow-unverified PIL
export INSTALL_ROS_DISTRO=hydro
rosinstall_generator desktop_full --rosdistro $INSTALL_ROS_DISTRO --deps --wet-only --tar > desktop_full.rosinstall
wstool init -j8 src desktop_full.rosinstall
rosdep install --from-paths src --ignore-src --rosdistro $INSTALL_ROS_DISTRO -s
pushd src/robot_model
curl https://github.com/ros/robot_model/pull/43.patch | patch -p1
popd
catkin build --install -DCMAKE_BUILD_TYPE=Release
@ckalas
Copy link

ckalas commented Dec 17, 2014

have you got this to install without any errors on Yosemite?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment