.. _development.requirements:

Build requirements
==================

The prerequisites for building OVITO from source are:

.. table:: 
   :widths: auto
   :width: 100%

   ============================= ============================= ===================================================
   Tool/Package                  Requirement                   Notes
   ============================= ============================= ===================================================
   C++ compiler                  required                      Compiler must support C++14 language standard (e.g. GNU g++ 4.8 or newer)
   `CMake <http://cmake.org/>`_  required                      The build system used by OVITO (CMake 3.3 or newer required)
   `Git <http://git-scm.com/>`_  required                      The distributed version control system needed to retrieve the source code
   ============================= ============================= ===================================================

The library dependencies are:

.. table:: 
   :widths: auto
   :width: 100%

   ============================================================ ================= ===================================================
   Library                                                      Requirement       Notes
   ============================================================ ================= ===================================================
   `Qt5 <http://www.qt.io/developers/>`_                        required          Used for OVITO's graphical user interface (version 5.12 or newer)
   `zlib <http://www.zlib.net/>`_                               optional          Required for reading and writing compressed files.
   `Boost <http://www.boost.org/>`_                             required          OVITO uses some utility classes from this C++ library.
   `libssh <http://www.libssh.org/>`_                           optional          Used by OVITO's built-in SSH client for remote data access.
   `ffmpeg <http://ffmpeg.org/>`_                               optional          Video processing libraries used by OVITO to write movie files.
   `libnetcdf <http://www.unidata.ucar.edu/software/netcdf/>`_  optional          Required by the Amber/NetCDF file reader/writer plugin
   ============================================================ ================= ===================================================

The sources of the following third-party libraries are included in the OVITO source distribution
and get compiled automatically as part of the build process:

.. table:: 
   :widths: auto
   :width: 100%

   ============================================================ ====================================================================
   Library                                                      Notes
   ============================================================ ====================================================================
   `muparser <http://beltoforion.de/article.php?a=muparser>`_   A math expression parser library.
   `Qwt <http://sourceforge.net/projects/qwt/>`_                For plotting and data visualization.
   `Voro++ <https://doi.org/10.1063/1.3215722>`_                Voronoi cell construction routine required by the :ref:`Voronoi analysis <particles.modifiers.voronoi_analysis>` modifier.
   `KISS FFT <https://github.com/mborgerding/kissfft>`_         Required by the :ref:`Spatial correlation function <particles.modifiers.correlation_function>` plugin.
   ============================================================ ====================================================================

