Compilation of Traverso on Windows

This page will guide you through the compilation process in 3 easy steps. This guide works only for the development version, which has to be downloaded from git. Once the next version will be released, the source code can be downloaded as a zip file.

Step 1: Download the source and dependencies

First of all, we need the Qt Software Development Kit, get it from the Qt Nokia download page, choose the LGPL license version, and then the Qt Windows SDK (Around 320 MB large), or use this direct link
Install the Qt SDK and check all options in the installer, so that we get the Qt libraries, and the mingw compilation platform.

Next is the cmake build system, download it from here (Platform Windows (Win32 installer)), and install it. Remember the install path, we need it later on.

For your and our convenience we downloaded and/or compiled all the other dependencies Traverso depends on and bundled it in this zip file.
Download and unpack this zip file, and copy the contents of the 'include' folder into the /path/where/qt/is/installed/mingw/include and the contents of the 'lib' folder into the /path/where/qt/is/installed/mingw/lib folders.

Download the Traverso source code (from git)

Step 2: Configuring the environment

Now we need to inform Windows where to find the binaries and libraries we just installed. Open the advanced system settings dialog, go to environment variables and add the paths of the Qt, mingw and cmake installs to the PATH variable.

Here an example, please substitute the displayed versions of Qt and CMake with the ones you installed:

;C:\Program Files\CMake 2.8\bin;C:\Qt\2010.05\qt\bin;C:\Qt\2010.05\qt\lib;C:\Qt\2010.05\mingw\bin;C:\Qt\2010.05\mingw\lib

Step 3

Now it's time to compile the Traverso source code, start QtCreator, go to menu File -> Open File or Project, and open the CMakeLists.txt you'll find in the root directory of the source code checkout. QtCreator will then open a dialog to configure the build system, click on the 'run cmake' button, it should finish without any error, if there are errors, the error message gives an indication of what is missing or wrong.

Now we're ready to actually start the compilation process: Go to Build menu -> Build project "traverso", or simply: CTRL+ B.

This will take a while, depending on how fast your computer is, somewhere between 5-30 minutes.

The traverso binary can be found in the source checkout directory/qtcreator-build/bin/traverso.exe

Enjoy!