danomatika / ofxMidi

(maintained) Midi addon for openFrameworks
Other
262 stars 72 forks source link

(linux) add pkg_config for Jack #70

Closed edovino closed 5 years ago

edovino commented 5 years ago

building on linux gave linker-errors

danomatika commented 5 years ago

Is this something more related to what OF itself needs to build? There is nothing JACK-related in ofxMidi as far as I know...

edovino commented 5 years ago

I stumbled across the error while building the midiOutputExample apparently RtMidi requires Jack (or at least uses it by default?). libs/rtmidi/RtMidi.cpp contains this bit of code

#if defined(__UNIX_JACK__)
  if ( api == UNIX_JACK )
    rtapi_ = new MidiInJack( clientName, queueSizeLimit );
#endif

Not sure where/why __UNIX_JACK__ is set though....

edovino commented 5 years ago

ah, it's probably oF that sets __UNIX_JACK__

danomatika commented 5 years ago

Well, in either case, it’s needed.

enohp ym morf tnes

Dan Wilcox danomatika.com robotcowboy.com

On Mar 24, 2019, at 3:55 PM, Edwin van Ouwerkerk Moria notifications@github.com wrote:

ah, it's probably oF that sets __UNIX_JACK__

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.