danomatika / ofxMidi

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

no matching function for call to addListener(ofApp*) #81

Closed prismspecs closed 3 years ago

prismspecs commented 3 years ago

I can run the examples just fine, but when I add ofxMidi to my addons.make and put the example code into an existing project I get

error: no matching function for call to ‘ofxMidiIn::addListener(ofApp*)’
  midiIn.addListener(this);

Any ideas?

prismspecs commented 3 years ago

Guess who forgot to extend ofApp with public ofxMidiListener? I did!

danomatika commented 3 years ago

This is probably issue 3 or 4 about this. :)