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
sudo brew cask install java8
-
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 -VV
to run all the tests