Skip to content

Instantly share code, notes, and snippets.

@shreevari
Created June 16, 2019 18:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shreevari/21e0b7258e9d59b8ae3f1c0d0620378f to your computer and use it in GitHub Desktop.
Save shreevari/21e0b7258e9d59b8ae3f1c0d0620378f to your computer and use it in GitHub Desktop.
Building with cargo produces the following error.
error: cannot find macro `scan_fmt_help!` in this scope
--> src/bin/common.rs:417:74
|
417 | let (g_x, g_y, b_x, b_y, r_x, r_y, wp_x, wp_y, max_lum, min_lum) = scan_fmt!(mastering_display_opt, "G({},{})B({},{})R({},{})WP({},{})L({},{})", f64, f64, f64, f64, f64, f64, f64, f64, f64, f64).expect("Cannot parse the mastering display option");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error: cannot find macro `scan_fmt_help!` in this scope
--> src/bin/common.rs:443:23
|
443 | let (cll, fall) = scan_fmt!(content_light_opt, "{},{}", u16, u16).expect("Cannot parse the content light option");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error: aborting due to 2 previous errors
error: Could not compile `rav1e`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment