These instructions are for building the latest development version of Marsyas. It is assumed that you have already obtained the source code. If not, please consult Get Marsyas sources for instructions.
Marsyas uses CMake to configure and guide its building process.
Download CMake Windows installer from: http://www.cmake.org/cmake/resources/software.html
Run the installer.
At some point you may be asked whether you want to make CMake available to the whole system - choose "yes": this will allow you to run CMake from Visual Studio Command Prompt.
If you want to use all features of Marsyas, you need a compiler with a good C++11 support. Please install at least Visual Studio 2013 or newer version. The free 'Express' version is sufficient.
Download and install Visual Studio from: http://www.microsoft.com/visualstudio/eng/downloads
Visual Studio versions which support compilation of 64 bit programs provide you with alternative versions of Command Prompt with the following labels and purposes:
Search the Start menu for the Command Prompt with one of the above labels, according to your intended compilation mode.
Geeky details: The different Command Prompt versions automatically populate the PATH environment variable so as to provide appropriate versions of compilation tools and libraries for the intended compilation mode.
mkdir build cd build
Note: "Visual Studio 11" corresponds to Visual Studio 2012. If you intend to compile in 64 bit mode, choose the generator which contains "Win64" in its name.
CMake should now have generated a number of new files in the build directory, including a Visual Studio solution file named "marsyas.sln".
If you would like to use CMake options to enable and disable specific features, please see instructions in Configuring with CMake.
Still in the build directory, use 'msbuild' (the Visual Studio build tool) to compile Marsyas in Release mode:
msbuild /p:Configuration=Release marsyas.sln
You could also compile Marsyas in Debug mode, which would help developers discover bugs in case you run into troubles when using Marsyas. However, Marsyas will run significantly slower when compiled in Debug mode:
msbuild /p:Configuration=Debug marsyas.sln
After compiling, you should have Marsyas programs in the 'bin' subdirectory and the Marsyas library in the 'lib' subdirectory.