-
Notifications
You must be signed in to change notification settings - Fork 89
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
rust-portaudio failed to build #125
Comments
Hmmm this should have been fixed by #106 - very strange that you're still getting this error. Maybe check that you don't have an older version of portaudio locally pointed to in your |
if you mean in my .cargo.crates.toml then no I do not have an older version of portaudio |
The error is with line 48, if the function is supposed to take one parameter then why is only one provided? Also I am on windows |
As far as I can see, the signature of Unfortunately we haven't had any contributions from any Windows folk to get the windows build script going properly, so when you get past the compile error it still won't automatically download, but we'd be more than happy to receive a PR with any fixes! |
Btw, I meant that you should check your .cargo/config, not your On Fri, 4 Mar 2016 14:31 Sebastian Malton [email protected] wrote:
|
That didn't exist |
I added this line to my Cargo.toml
portaudio = "0.6.2"
And then I did a cargo build to download it and I got this error:
C:\Users\Sebastian Malton\Documents\Rust_Projects\sound_ques\src>cargo build Updating registry
https://github.com/rust-lang/crates.io-index`Downloading num v0.1.30
Downloading pkg-config v0.3.6
Downloading portaudio v0.6.2
Compiling pkg-config v0.3.6
Compiling bitflags v0.3.3
Compiling num v0.1.30
Compiling libc v0.2.7
Compiling portaudio v0.6.2
C:\Users\Sebastian Malton.cargo\registry\src\github.com-88ac128001ac3a9a\portaudio-0.6.2\build.rs:48:9: 48:29 error: this function takes 1 parameter but 0 parameters were supplied [E0061]
C:\Users\Sebastian Malton.cargo\registry\src\github.com-88ac128001ac3a9a\portaudio-0.6.2\build.rs:48 platform::download();
^~~~~~~~~~~~~~~~~~~~
C:\Users\Sebastian Malton.cargo\registry\src\github.com-88ac128001ac3a9a\portaudio-0.6.2\build.rs:48:9: 48:29 help: run
rustc --explain E0061
to see a detailed explanationerror: aborting due to previous error
Build failed, waiting for other jobs to finish...
Could not compile
portaudio
.To learn more, run the command again with --verbose.`
The text was updated successfully, but these errors were encountered: