Skip to content

Instantly share code, notes, and snippets.

@makokal
Created August 19, 2013 19:03
Show Gist options
  • Save makokal/6272760 to your computer and use it in GitHub Desktop.
Save makokal/6272760 to your computer and use it in GitHub Desktop.
Installing stage 2D robot simulator on a mac (with homebrew already setup)
#install dependencies
brew install fltk cmake git pkg-config
# setup an install location e.g in home
mkdir $HOME/stg
# clone and compile stage
mkdir stage && cd stage
git clone git://github.com/rtv/Stage.git
export STG=$HOME/stg
cmake -DCMAKE_INSTALL_PREFIX=$STG Stage
make
make install
# go to the installed stage and test it
cd $HOME/stg
export DYLD_LIBRARY_PATH=$STG/lib
bin/stage share/stage/worlds/simple.world
# enjoy
echo 'Done. enjoy'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment