speciesgen/INSTALL.md

1.3 KiB

Manual Installation

  1. Prerequisites
    1. Source Code
    2. Linux
    3. Windows
  2. Building
    1. Linux
    2. Windows

Prerequisites

Clone the source code

To compile speciesgen, please clone the source code:

git clone http://git.vern.cc/prisixia/speciesgen.git --recurse-submodules
cd speciesgen

Please also make sure that you have wxWidgets >= 3.1.5 installed.

Linux

Please make sure to have a C++ compiler that supports C++17 (such as the GNU C++ compiler) and cmake installed. On Ubuntu and other Debian based systems, you may run

sudo apt install g++ cmake libwxgtk3.2-dev

Windows

Tools such as w64devkit or Visual Studio can be used for compiling the program. wxWidgets can be found here.

Building

To build a release version of speciesgen, run

Building on Linux

In the terminal, run

mkdir build
cd build
cmake ..
make

If all goes well, the program will be found in the build directory as speciesgen.

Building on Windows

In a developer command prompt or an equivalent, run

mkdir build
cd build
cmake -G "Ninja" ..
ninja

If all goes well, the program will be found in the build directory as speciesgen.exe.