Skip to main content

Windows compilation in a nutshell (second round)

Hi everyone.

This tutorial provides a short and straightforward explanation for windows developers to get a valid Tulip development environment on Windows operating systems.

Operations described in this document have been tested on several versions of Windows, both 32 and 64 bits. If you encounter any problem while following this tutorial, feel free to post on our forums to ask for help.

All tools listed in this tutorial are free and will not require any registration or subscription.

Why should I build Tulip instead of using the precompiled versions available on your website ?
When developing along with Tulip, you might want to get on our latest updates before they are released on our website.

If you want to create your own plugins for Tulip on Windows, you will have to set-up a the same building environment as we use to build our Tulip releases. The part I to V will help you setting up an environment which contains the same versions of external libraries we use to build Tulip. This will ensure a perfect compatiblity between your libraries and the Tulip environment. So you may skip the part VI and VII of this tutorial if you only want to create plugins for a pre-compiled version of Tulip.

Note: When using Tulip, you can extend its features by downloading plugins directly from the main window (Help > Plugins). Those plugins are built for a specific version (ie. the latest ones are for Tulip 3.4.1). When you compile Tulip from our SVN (see the Tortoise SVN chapter), your Tulip will not be compatible with pre-compiled plugins available on the plugin server. The source code of those plugins is currently not available on our website but we will soon release it on our SourceForge page.


2010-12-16 :
                . Rewrited some parts of the tutorial to simplify operations
                . Provided a ZIP archive containing external libraries needed to build Tulip in a single package
                . Added srceenshots
                . Added an External tools part containing additional informations about IDE and external tools     setup

2010-10-01 :
                . First version of this tutorial.

Note :  This tutorial is divided between different sections, each one describes a part of the installation. At the end of every section, we will summarize what you should be able to do at this point of the tutorial. This should ensure that every section is fairly independent. However, operations in a same section are dependent and should be strictly followed in the same order.

Table of Contents :

      I-                    Installing Qt

II-                  Installing CMake

III-                Installing MSYS

IV-               Download and install external libraries

V-                 Setting up environment variables

VI-               Downloading Tulip sources

VII-             Compiling Tulip in release and debug mode

VIII-           External tools

a.       TortoiseSVN

b.      Notepad++

c.       NSIS and CPack

d.      Your first Tulip plugin with Qt Creator

e.      Tweaking MSYS