These instructions were tested on MacOSX 10.11.1 (El Capitan).
-
Install Homebrew: http://www.howtogeek.com/211541/homebrew-for-os-x-easily-installs-desktop-apps-and-terminal-utilities/
-
Install dependencies:
brew update
brew install boost --with-python
brew install ffmpeg swig boost-python xerces-c doxygen git cmake
sudo brew cask install java
brew install xsd
brew unlink xsd
brew install mono
brew link --overwrite xsd
-
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:
cd MalmoPlatform/buildctest -E Integrationto run a smaller set of tests (exclude the integration tests).ctestto run all the tests