Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.02 KB

build_macosx.md

File metadata and controls

31 lines (24 loc) · 1.02 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
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. cd MalmoPlatform/build
    2. ctest -VV to run all the tests