Frando / rust-faust

Easily use FAUST DSPs in Rust
Apache License 2.0
55 stars 12 forks source link

example-jack fails to build dsp #18

Closed mrtnvgr closed 1 year ago

mrtnvgr commented 1 year ago
$ cargo build
...
error: failed to run custom build command for `example v0.1.0 (/home/user/rust-faust/examples/example-jack)`

Caused by:
  process didn't exit successfully: `/home/user/rust-faust/target/debug/build/example-bf683518de162587/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-changed=dsp

  --- stderr
  cargo:rerun-if-changed=dsp/volume.dsp
  thread 'main' panicked at 'Failed to execute command: Os { code: 2, kind: NotFound, message: "No such file or directory" }', faust-build/src/lib.rs:31:10
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
obsoleszenz commented 1 year ago

What faust version do you have installed? Just tried to run it and it works fine locally.

Also the no such file or directory error sounds a bit like faust is not installed at all?

mrtnvgr commented 1 year ago

Also the no such file or directory error sounds a bit like faust is not installed at all?

Yes, that was the problem. I thought the error said that the compiler could not find the path to the DSP file.