These instructions were tested on MacOSX 10.13.3 (High Sierra).
-
Install Homebrew: http://www.howtogeek.com/211541/homebrew-for-os-x-easily-installs-desktop-apps-and-terminal-utilities/
-
Install dependencies:
brew update
brew upgrade
brew install python3
brew install ffmpeg swig boost-python3 doxygen git cmake wget
sudo brew cask install java8
-
Clone and build Project Malmo:
git clone https://github.com/Microsoft/malmo.git ~/MalmoPlatformwget https://raw.githubusercontent.com/bitfehler/xs3p/1b71310dd1e8b9e4087cf6120856c5f701bd336b/xs3p.xsl -P ~/MalmoPlatform/Schemas- Add
export MALMO_XSD_PATH=~/MalmoPlatform/Schemasto your~/.bashrcand dosource ~/.bashrc cd MalmoPlatformmkdir buildcd buildcmake ..make install- Then you can run the samples that are installed ready-to-run in e.g.
install/Python_Examples
-
Run the tests:
- pip3 install future pillow matplotlib
cd MalmoPlatform/buildctest -VVto run all the tests