SiegeLord / RustGnuplot

A Rust library for drawing plots, powered by Gnuplot.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

animation_example.rs don't work

captain-yossarian opened this issue · 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)

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 Than you for the fast response. No it is not in PATH