Open JSmithOner opened 2 years ago
I know nothing about WASM but is it expected that CoreMidi will work? Doesn't WASM have its own MIDI API?
know nothing of WASM either but looks like system frameworks are not in the search/include path?
/System/Library/Frameworks/CoreMIDI.framework
for the midi headers but likely you'll need more than just that..
I'm trying to port rtMidi to WebAssembly, it compile just fine when using the dummy version but when asking to compile with __MACOSX_CORE__ flag the compiler is not able to find CoreMidi I get
I've ran
emcc -O3 -s WASM=1 -s --bind -I rtmidi rtmidi/RtMidi.cpp rtmidi/rtmidi_c.cpp -s ASSERTIONS=1 -D__MACOSX_CORE__
on a macand I'm on BigSur 11.5.2 on a mac mini m1