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

Solution for build issue on OS X #178

Open
cassm opened this issue Sep 25, 2019 · 3 comments
Open

Solution for build issue on OS X #178

cassm opened this issue Sep 25, 2019 · 3 comments

Comments

@cassm
Copy link

cassm commented Sep 25, 2019

I experienced an issue where portaudio is not detected during the build process (even if pkgconfig and portaudio), which results in an attempt to build portaudio, which fails on systems with newer versions of xcode installed. Having been chasing myself around in circles for a few hours, I have determined that the issue was that PKG_CONFIG_PATH was not properly set, meaning that pkgconfig could not find the version of portaudio installed by brew. This problem was solved by setting PKG_CONFIG_PATH=/usr/local/lib/pkgconfig. It might be useful to either set this in the build script, or to mention it as a solution in the documentation.

@colindjk
Copy link

Experiencing the same issue when I try to install on a mac. @cassm Did you make any headway?

For now I'm using portaudio-rs, I'll comment on any progress I make in coming back to this library.

@wmedrano
Copy link
Member

wmedrano commented Dec 3, 2020

I have managed to use this on mac but I think I installed pkgconfig through brew as well.

@sainteckes
Copy link

Worked for me as well just run export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig in the terminal before running cargo run.

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

4 participants