Installing Tulip¶
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.
Precompiled binaries¶
For each release, Tulip offers precompiled binaries for Linux (using AppImage), MacOS (dmg bundles) or Windows (NSIS based installers). You can download those binaries from SourceForge.
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.22
A C++17 compiler : GCC > 8.0, Clang > 5.0 or Microsoft Visual Studio >= 2017
Qt >= 5.15
OpenGL >= 2.0
GLEW >= 1.4
Python >= 3.9
SIP Python Module >= 6.8.5
yajl >= 2.0
In order to generate the documentation, the following tools must be installed:
Sphinx to build the User Manual, Developer Handbook and Python bindings documentation
Doxygen to build the C++ API documentation
If you are a Linux developer, 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 developer, 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 be found in the old continuous integration setup file .travis.yml. A dedicated script macports_build.sh in the bundlers/macos directory of Tulip source code is also available for MacPorts build.
If you are a Windows developer, 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 in the bundlers/win directory of Tulip source code is available for MSYS2 build.
Hints on how to build Tulip for MSVC can be found in appveyor_msvc.bat used for continuous integration on AppVeyor until 5.6.3 version.