-
Notifications
You must be signed in to change notification settings - Fork 150
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
Additional macOS setup instructions #1
Comments
Thanks! I'll look into these. It seems what I need is something like this: https://github.com/supercollider/portaudio/blob/master/CMakeLists.txt#L276 portmidi.h and libportaudio.a should've been taken cared of by portaudio's Cmake though. And q::wav_reader should give an error. I'll fix it. Thanks for kicking the tires :-) |
OK:
Could you check if this fixes the build issues for you? The fixes are in the master branch. CMake should pick up the portaudio header and lib just fine. If it still fails, could you post your CMakeCache.txt file here? |
Hi Karl and Joel. I'm trying to make the Xcode build modifications per your Feb 11 post. When I build Q I have unresolved Pa linker symbols, so I think your second bullet about linking to libportaudio.a might be key to fixing that. Unfortunately the selection to add a new "New Link Binary with Libraries Phase" is greyed out in my case. I'm probably in the wrong place. Any chance you could provide a screenshot showing me where you are adding this? Which project, which target, what else shows up in the Build Phases pane? Thank you very much |
It seems there's some conflict with portaudio version 1 and version 2. I committed a fix that removes the dependency on package manager installations for portaudio and portmidi. We'll just use submodules for these libraries just like we did on windows. Tested. See if this works for you so we can close this issue. I'll still need to update the instructions (less steps now because we use the portaudio and portmidi cmake submodules). I'll also need to test on windows and linux. |
Hey Joel,
thank you for this wonderful library, the pitch tracking results it produces are really impressive. I would like to share my experience in setting up the library and tests and the additional steps that I needed to go through in order to make it work on macOS:
/usr/local/Cellar/portmidi/217_2/include
to header search path of libqio, when portmidi.h can not be foundlibportaudio.a
which for me was installed by brew under/usr/local/Cellar/portaudio/19.6.0/lib/libportaudio.a
The text was updated successfully, but these errors were encountered: