Linux
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.
- hg clone https://bitbucket.org/alchemyviewer/autobuild-alchemy
- Add autobuild to PATH:
export PATH=$PATH:`pwd`/autobuild-alchemy/bin - Set autobuild override:
export AUTOBUILD_PLATFORM_OVERRIDE=linux64 - hg clone <alchemy repo>
- cd alchemy/
- (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 - Configure:
autobuild configure -c ReleaseOS -- -DFMODSTUDIO:BOOL=ON -DRELEASE_CRASH_REPORTING:BOOL=OFF -DUNIX_DISABLE_FATAL_WARNINGS:BOOL=ON
To build:
(Assuming you're in alchemy/)
- cd build-linux-x86_64/
- 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) - Read a book
To read a book:
1. (manga link?) I dunno, something creative should be here, it's commonplace in build instructions for the linux community; maybe just remove this step.
To run:
- cd newview/packaged/
- ./alchemy
(TODO: To debug:?)
To compile in the future:
- hg pull #Unless you see something other than "no changes found" as the last line, stop here, don't waste time.
- hg update
- Follow the steps in the To build section.