Building » Dependencies

Here we list all external dependencies needed to compile the various parts of the project. DIPlib also depends on a few other external projects, whose sources are included in this repository (see README.md under “License” for more information). Note that, with the exception of dynamic linking to a few external libraries, none of these dependencies are required when using the DIPlib library (that is, DIPlib’s public header files do not import headers from other projects).

If you have FFTW3 installed, you can set the DIP_ENABLE_FFTW CMake variable to have DIPlib use FFTW3 instead of the default PocketFFT library. FFTW3 is usually a bit faster, but it has a copyleft license.

If you have FreeType 2 installed, you can set the DIP_ENABLE_FREETYPE CMake variable to have DIPlib use FreeType for rendering text, the dip::FreeTypeTool class (introduced in DIPlib 3.1.1) cannot be instantiated without it.

DIPviewer requires that OpenGL be available on your system (should come with the OS), as well as one of FreeGLUT or GLFW.

DIPjavaio requires that the Java 8 SDK (JDK 8) or later be installed. This module is intended as a bridge to OME Bio-Formats, which you will need to download separately. Bio-Formats has a copyleft license. Note that the MATLAB toolbox DIPimage does not use this component, it uses Bio-Formats directly.

DIPimage requires that MATLAB be installed for compilation and (of course) execution. Optionally, you can install OME Bio-Formats to enable DIPimage to read many microscopy image file formats (type help readim in MATLAB, after installing DIPimage, to learn more).

PyDIP requires that Python 3 be installed.