nicklan / rust-jack

Rust bindings for the Jack API
GNU Lesser General Public License v2.1
2 stars 2 forks source link

Can't build #1

Closed niklasnisbeth closed 9 years ago

niklasnisbeth commented 9 years ago

I make a new project with cargo and add the dependency and get:

$ cargo build --verbose   
Compiling rust-jack v0.0.1 (https://github.com/nicklan/rust-jack.git#86fa24a8)
Running `rustc /home/niklas/.cargo/git/checkouts/rust-jack-77c4ac7b7014e954/master/src/lib.rs --crate-name jack --crate-type lib -g -C metadata=4783680d999c4de4 -C extra-filename=-4783680d999c4de4 --out-dir /home/niklas/code/rust-waveform/target/deps --emit=dep-info,link -L dependency=/home/niklas/code/rust-waveform/target/deps -L dependency=/home/niklas/code/rust-waveform/target/deps -Awarnings`
/home/niklas/.cargo/git/checkouts/rust-jack-77c4ac7b7014e954/master/src/lib.rs:3:14: 3:42 error: can't find crate for `rustc_bitflags`

/home/niklas/.cargo/git/checkouts/rust-jack-77c4ac7b7014e954/master/src/lib.rs:3 #[macro_use] extern crate rustc_bitflags;

Rust version: rustc 1.0.0-dev Cargo version: cargo 0.0.1-pre-nightly (bb28e71 2015-01-22 06:06:34 +0000)

Any pointers?

nicklan commented 9 years ago

I suspect your version of rustc/cargo is out of date. The bitflags macro was changed somewhat recently. Can you try updating and let me know. It compiles fine with the latest nightly on my end.

nicklan commented 9 years ago

Ohh shoot, just saw you listed your cargo/rustc version. Hrmm, I build against rustc nightly, so that's probably the issue.

niklasnisbeth commented 9 years ago

That fixed it -- cheers!

On Tue, 27 Jan 2015 15:35:25 -0800, Nick Lanham notifications@github.com wrote:

Ohh shoot, just saw you listed your cargo/rustc version. Hrmm, I build against rustc nightly, so that's probably the issue.


Reply to this email directly or view it on GitHub: https://github.com/nicklan/rust-jack/issues/1#issuecomment-71751996Non-text part: text/html

nicklan commented 9 years ago

Sure, glad that worked! And let me know if there's anything else you run into or any jack functionality you really need that I haven't got to yet.