Skip to content

Commit

Permalink
provide more details of compilation on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
robertoostenveld committed May 5, 2015
1 parent 3895b02 commit bd6c53d
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
# eegsynth-matlab
Converting real-time EEG into sounds and music

## Platform specific notes for Microsoft Windows
Precompiled mex file are provided, these are linked to a static version of portmidi. To
use these mex files in MATLAB, you might have to install the Microsoft Visual C++ 2010
Redistributable Package, which is available from [1]. This package contains some
additional system libraries that are used by MSVC 2010.

Compiling the mex files from scratch requires that you have a C/C++ compiler installed. We
have used (and only tested with) Microsoft Visual C++ Express 2010, which is available
from [2]. COmpiling 64-bit mex files furthermore requires that you have the Windows
Software Development Kit version 7.1 (see [3]).

[1] https://www.microsoft.com/en-us/download/details.aspx?id=5555
[2] https://www.visualstudio.com/en-us/downloads
[3] http://stackoverflow.com/questions/1865069/how-to-compile-a-64-bit-application-using-visual-c-2010-express

## Platform specific notes for Mac OS X
Compilation of the mex files requires that portmidi is present. This can be downloaded
from http://portmedia.sourceforge.net/portmidi. Compilation of portmidi requires cmake.
Expand All @@ -10,13 +25,5 @@ install portmidi").
Furthermore, for compilation you probably need to update the library path settings in
compile\_midi.m

## Platform specific notes for Microsoft Windows
Precompiled mex file are provided, these are linked to a static version of portmidi. To
use these mex files in MATLAB, you might have to install the Microsoft Visual C++ 2010
Redistributable Package, which is available from [1]. This package contains some
additional system libraries that are used by MSVC 2010.

[1] https://www.microsoft.com/en-us/download/details.aspx?id=5555

## Platform specific notes for Linux
Compilation on Linux requires the ALSA libraries to be installed.

0 comments on commit bd6c53d

Please sign in to comment.