martinber / noaa-apt

NOAA APT weather satellite image decoder, for Linux, Windows, RPi 2+, OSX and Android+Termux
http://noaa-apt.mbernardi.com.ar
GNU General Public License v3.0
600 stars 55 forks source link

Issue building from source on Mac OSX #63

Open imetandy opened 2 months ago

imetandy commented 2 months ago

Hi,

When trying to build from source for Mac OS, I receive the following error during compilation:

`error[E0282]: type annotations needed for Box<_> --> /Users/andrew/.cargo/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.30/src/format_description/parse/mod.rs:83:9 83 let items = format_items ^^^^^ ... 86 Ok(items.into()) ---- type must be known at this point

help: consider giving items an explicit type, where the placeholders are specified | 83 | let items: Box<> = format_items | ++++++++`

This appears to be the time crate, but I don't see it directly referenced in cargo.toml so assume its something else importing this.

Release version: v1.4.1 I am Running on an M1 Pro mac, Sonoma 14.5. Rust version: 1.80.1

martinber commented 2 months ago

Looks like some libraries are not supported by the latest versions of rust. I recommend installing an older version of rust using rustup. Sorry, I tried upgrading all packages and seems like I will have to submit a PR to satellite-rs in order to fix this

imetandy commented 2 months ago

No problem at all, will try this out.

Thank you for all your work on this, it's been really interesting diving through your documentation.