Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Requirements:

  • 64-bit Linux OS
  • GCC 5.3 or newer
  • CMake 3.5 or newer
  • Python 2.7 (TODO: 3?)

To setup:

Underlined lines are about environment variables that will be needed for compiling, they should probably be added into your bashrc file for posterity as well.

  1. hg clone https://bitbucket.org/alchemyviewer/autobuild-alchemy
  2. Add autobuild to PATH:
    export PATH=$PATH:`pwd`/autobuild-alchemy/bin
  3. Set autobuild override:
    export AUTOBUILD_PLATFORM_OVERRIDE=linux64
  4. hg clone <alchemy repo>
  5. cd alchemy/
  6. (TODO: write this script for minimal dependencies) Install dependencies (if the script does not support your distribution, manually install the libraries listed in it, as these are required to build.):
    scripts/install-deps.sh
  7. Configure:
    autobuild configure -c ReleaseOS -- -DFMODSTUDIO:BOOL=ON -DRELEASE_CRASH_REPORTING:BOOL=OFF -DUNIX_DISABLE_FATAL_WARNINGS:BOOL=ON

...

  1. cd build-linux-x86_64/
  2. make -j4 #Replace 4 with the number of threads (cores) you'd like to dedicate to the build
    (use `ninja` if default CMake generator is set to it and there are no Makefiles)
  3. Read a book

To read a book:

...