RtMidi
We are using a fork of rtmidi where the rtmidi_c files have been adapted for better usage with RtMidi.Core.
The fork is regularly merged with upstream, ensuring fixes, improvements etc are carried over into the version we are using.
Compiling
Guides on how to compile the runtime-dependent library binary.
OS X
Open terminal and navigate to the root of the repository
Compile project:
$ ./autogen.sh --no-configure $ ./configure $ makeCopy the newly compiled
dylibfile into the RtMidi.Core project:$ cp .libs/librtmidi.dylib ~/git/RtMidi.Core/RtMidi.Core/librtmidi.dylib
Pre-requisites
Requires automake, autoconf and libtool to be installed, which is easily done using Homebrew:
$ brew install autoconf automake libtoolWindows (64 bit)
From the root of the repository, navigate to
msw/Open the solution file
rtmidilib.slnChange configuration to Export
Change target framework to x64
Build solution
Copy newly compiled
dllfile for x64 into the RtMidi.Core project:$ cp msw/x64/Export/rtmidilib.dll ~/git/RtMidi.Core/RtMidi.Core/librtmidi.dylibChange target framework to Win32
Build solution
Copy newly compiled
dllfile for x86 into the RtMidi.Core project:$ cp msw/Export/rtmidilib.dll ~/git/RtMidi.Core/RtMidi.Core/rtmidi32.dll
Pre-requisites
Requires Visual Studio 2017 (or newer) with the following components installed (use Visual Studio Installer)
Workload: Desktop development with C++
Individual components:
Windows 8.1 SDK
Windows Universal CRT SDK
Linux
Open terminal and navigate to the root of the repository
Compile project:
$ ./autogen.sh $ ./configure $ makeCopy the newly compiled
sofile into the RtMidi.Core project:$ cp .libs/librtmidi.so ~/git/RtMidi.Core/RtMidi.Core/librtmidi.so
Last updated