The first thing that must be done when using RtMidi is to create an instance of the RtMidiIn or RtMidiOut subclasses. RtMidi is an abstract base class, which itself cannot be instantiated.
Extracted automatically from Rtmidi homepage
brew install rtmidi
This formula has no dependencies.