Open yupferris opened 9 years ago
+1, on osx as well.
Hrrmmm interestingly, travis passes on both osx and linux on my sound_stream
crate (that depends on portaudio) using this install script - maybe it could be adapted to our build.rs
file in order to fix this?
I tried the install script but had the same error.
I tried the script, and got this error:
configure: error: Couldn't find 10.5, 10.6, 10.7, 10.8 or 10.9 SDK
~~I'm getting a bunch of warnings and then this:
error: could not find native static library portaudio
, perhaps an -L flag is missing?
Could not compile portaudio
.
I used brew to install portaudio, but the error stays.~~
Forget that. I did a cargo clean, then another build, and it works (with portaudio installed using brew).
@FLWrd Thank you very much! $ cargo clean
, $ brew install portaudio
, $ cargo build
fixed it.
Thanks @FLWrd , good to know it will work with portaudio installed! The problem still exists however when it's not preinstalled, which the library advertises should also work.
Ran into this issue on OSX today. Tried to naively cargo build
without portaudio previously installed. Installed through brew and tried a second cargo build
only to see the same error previously listed: could not find native static library portaudio, perhaps an -L flag is missing?
.
In any case, running cargo clean
after installing portaudio followed by a final cargo build
resolved the issue.
My understanding is if I don't have a prior portaudio installation on my system, this build should download it and we're good to go. That doesn't seem to be the case, however. This is my full terminal log from download to build: