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 upgrade
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 ~/MalmoPlatform
wget https://raw.githubusercontent.com/bitfehler/xs3p/1b71310dd1e8b9e4087cf6120856c5f701bd336b/xs3p.xsl -P ~/MalmoPlatform/Schemas
- Add
export MALMO_XSD_PATH=~/MalmoPlatform/Schemas
to your~/.bashrc
and dosource ~/.bashrc
cd MalmoPlatform
mkdir build
cd build
cmake ..
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/build
ctest -E Integration
to run a smaller set of tests (exclude the integration tests).ctest
to run all the tests