Created
August 19, 2013 19:03
-
-
Save makokal/6272760 to your computer and use it in GitHub Desktop.
Installing stage 2D robot simulator on a mac (with homebrew already setup)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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