Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'CoreMIDI/CoreMIDI.h' file not found #265

Open
JSmithOner opened this issue Sep 23, 2021 · 2 comments
Open

'CoreMIDI/CoreMIDI.h' file not found #265

JSmithOner opened this issue Sep 23, 2021 · 2 comments

Comments

@JSmithOner
Copy link

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

rtmidi/RtMidi.h:642:10: fatal error: 'CoreMIDI/CoreMIDI.h' file not found

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 mac

and I'm on BigSur 11.5.2 on a mac mini m1

@radarsat1
Copy link
Contributor

I know nothing about WASM but is it expected that CoreMidi will work? Doesn't WASM have its own MIDI API?

@tschiemer
Copy link
Contributor

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..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants