RustGnuplot icon indicating copy to clipboard operation
RustGnuplot copied to clipboard

animation_example.rs don't work

Open captain-yossarian opened this issue 5 years ago • 2 comments

rustup 1.19.0 (2af131cf9 2019-09-08) rustc 1.38.0 (625451e37 2019-09-23)

This is a silly example of doing an animation... Ctrl-C to quit.
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: GnuplotInitError { inner: Os { code: 2, kind: NotFound, message: "The system cannot find the file specified." } }', src\libcore\result.rs:1084:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
error: process didn't exit successfully: `D:\rust\RustGnuplot\target\debug\examples\animation_example.exe` (exit code: 101)

captain-yossarian avatar Dec 07 '19 17:12 captain-yossarian

The error message is garbage, but what it means is that it tried to spawn the gnuplot process, and failed. Do you have it installed, and is it in PATH?

SiegeLord avatar Dec 07 '19 17:12 SiegeLord

@SiegeLord Than you for the fast response. No it is not in PATH

captain-yossarian avatar Dec 07 '19 18:12 captain-yossarian