scurest/abrupng

Build error on macOS

Closed this issue · 2 comments

Building with rust 1.17 and cargo 0.18 on macOS 10.12 resulted these error messages:

error[E0425]: cannot find value `next_brush_pos` in this scope
  --> src/abr/abr12.rs:18:39
   |
18 |     Ok(Decoder { rdr, version, count, next_brush_pos })
   |                                       ^^^^^^^^^^^^^^ did you mean `next_brush`?

error[E0425]: cannot find value `next_brush_pos` in this scope
  --> src/abr/abr6.rs:36:55
   |
36 |     Ok(Decoder { rdr, subversion, sample_section_end, next_brush_pos })
   |                                                       ^^^^^^^^^^^^^^ did you mean `next_brush`?

error: aborting due to 2 previous errors

error: Could not compile `abrupng`.

Thanks for reporting this! Apparently, I did not even attempt to build this before I committed 3687523 (how embarassing, haha). Should be fixed now :)

Thanks! Builds fine.