Hi. I can't get ofxMidi to work. It does compile, but I get "MidiOutDummy: This class provides no functionality" at run time and it finds no midi ports. I have just started using OF and C++, so I'm not sure how things work.
In ofxMidiConstants.h I see
but I think __LINUX_ALSASEQ__ is never used in the project. Should it read __LINUX_ALSA__ ? Then, it seems to imply that Linux users always get Alsa. What about Jack? Am I supposed to replace __LINUX_ALSA__ with __LINUX_JACK__ ? I tried, but it didn't work any better.
I tried to compile the example-input and example-output projects, but they fail saying:
Makefile|28|../../../libs/openFrameworksCompiled/project/android/paths.make: No such file or directory|
I don't have an /android/ folder on my system. I think this is related to OF and not ofxMidi.
If I comment out
in the Makefile then I get a different error:
-------------- Build: Debug in example-input ---------------
Using makefile: Makefile
ls: cannot access ../../../addons/*/libs/*/lib/linux/*.so: No such file or directory
/usr/bin/ld: cannot open output file bin/example-input_debug: No such file or directory
collect2: ld returned 1 exit status
That's why I decided to ignore example-input and example-output, created my own new project, and copied the three src/* files from example-output to this new project, which fails complaining about the MidiOutDummy as I mentioned above. I don't know if there are any extra configuration steps on Code Blocks to make the test midi project work.
The old ofxMidi from chrisoshea was working before. Is there anything I can do to make it work? I'm on 32bit Ubuntu 12.04 lowlatency kernel. Thanks!