Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 1.07 KB

build_macosx.md

File metadata and controls

32 lines (25 loc) · 1.07 KB

Build on MacOSX

These instructions were tested on MacOSX 10.13.3 (High Sierra).

  1. Install Homebrew: http://www.howtogeek.com/211541/homebrew-for-os-x-easily-installs-desktop-apps-and-terminal-utilities/

  2. Install dependencies:

brew update
brew upgrade
brew install python3
brew install ffmpeg swig boost-python3 doxygen git cmake wget
sudo brew cask install java8
  1. Clone and build Project Malmo:

    1. git clone https://github.com/Microsoft/malmo.git ~/MalmoPlatform
    2. wget https://raw.githubusercontent.com/bitfehler/xs3p/1b71310dd1e8b9e4087cf6120856c5f701bd336b/xs3p.xsl -P ~/MalmoPlatform/Schemas
    3. Add export MALMO_XSD_PATH=~/MalmoPlatform/Schemas to your ~/.bashrc and do source ~/.bashrc
    4. cd MalmoPlatform
    5. mkdir build
    6. cd build
    7. cmake ..
    8. make install
    9. Then you can run the samples that are installed ready-to-run in e.g. install/Python_Examples
  2. Run the tests:

    1. pip3 install future pillow matplotlib
    2. cd MalmoPlatform/build
    3. ctest -VV to run all the tests