Tulip is a cross-platform framework and can be installed or compiled on many Linux distributions (Arch Linux, Debian, Fedora, Gentoo, OpenSUSE, Ubuntu…), on MacOS and Windows.
Compiling from scratch¶
Tulip can be easily compiled on every supported platforms. However, that process can take some times depending on your system configuration.
The following dependencies are required to build Tulip:
CMake >= 3.1
Qt >= 5.6
OpenGL >= 2.0
GLEW >= 1.4
In order to build the Python components, the following dependencies are needed:
Python >= 3.7
SIP >= 4.19.14 (if SIP can not be found or its version does not meet the minimum requirements, it will be compiled using the existing copy of its source code in the Tulip tree).
The following dependencies are also needed but they will be compiled from the Tulip source tree if they can not be found on your system:
In order to generate the documentation, the following tools must be installed:
If you are a Linux user, all these dependencies can be installed with the package manager of your distribution. The old continuous integration setup file .travis.yml can give you some hints for Tulip build on Linux platforms.
If you are a MacOS user, we recommend to use MacPorts or Homebrew in order to easily install all these dependencies. Hints on how to build Tulip for these two environments can also be found in the old continuous integration setup file .travis.yml. A dedicated script is also available for MacPorts macports_build.sh.
If you are a Windows user, we recommend to use MSYS2 as it greatly facilitates the build of Tulip on that platform (notably by providing up to date compilers and precompiled dependencies). A dedicated batch file msys2_build.bat is available for MSYS2 build.