2.6.3 Compiling with Visual Studio Express 2008 on Windows XP
These instructions were used to compile Marsyas using the Microsoft
Visual Studio 2008 Express IDE in Windows XP
- Download and install Microsoft Visual C++ Studio Express 2008
from http://www.microsoft.com/express/vc. (you might need
to install Microsoft Silverlight to view the webpage).
- Download and install Microsoft Direct X SDK
from http://msdn.microsoft.com/en-us/directx/aa937788.aspx.
These instructions worked with installing Direct X August 2008
(DXSDK_Aug08.exe).
- Download and install the CMake 2.6 binary using the Win32
installer from http://www.cmake.org.
- Downlaod and install the Tortoise SVN GUI client from
http://tortoisesvn.tigris.org/.
- The Tortoise client is integrated with Windows so
right clik on your desktop and checkout Marsyas as described
in the basic installation instructions Compiling.
- Launch cmake and specify the source and build directory you want
to use for Marsyas for example c:\marsyas\src and c:\marsyas\build.
Press configure until all the options are grey and then click ok
- Go to the c:\marsyas\build directory where you will
find a Visual Studio project file named marsyas that you can
open with the Visual Studio 9 Express IDE to compile Marsyas.
- The binaries are created in build\bin\Release or build\bin\Debug
depending on which build configuration is used.
The following optional steps can be used to compile graphical
user interface tools for Marsyas using the Qt toolkit:
- Down the Qt for Windows open source edition from
http://tortoisesvn.tigris.org/. Make sure you download
the source code rather the .exe installer which only works
for the MinGW compiler rather than Visual Studio.
- Extract the files to a directory (make sure the directory name
does not contain spaces as the Qt configuration gets confused if
that's the ccase). I used c:\qt\4.4.1.
- Start the Visual Studio 2008 Command Prompt and
go to the directory where you installed Qt and then run
configure.exe. This will take a few minutes. Once configuration
is complete you can compile Qt using nmake which take a while
(about 1 hour on my slow virtual machine)
cd c:\qt\4.4.1
configure.exe
nmake
With Qt 4.4.1 there is a glitch so compilation
will stop with an error about MathExtras.h. You will
need to comment out the line #include<xmath.h>
from c:\qt\4.4.0\src\3rdparty\webkit\JavaScriptCore\wtf\MathExtras.h.
This is a known error and that seems to be the proposed solution.
Python: Installed by default on Linux
and MacOS X machines; Windows users may install it from this site.
Marsyas contains some very useful scripts which are written in
Python.