Simon Walker

Results 90 comments of Simon Walker

Hi again, I'm surprised you got as far as you did! Currently the build system of the crate is strongly tied to `pkg-config` to find the `cfitsio` library. On Windows...

While I'm investigating this on my windows VM, can I ask have you tried adding the `bindgen` feature to your `Cargo.toml`? E.g.: ```toml [dependencies] fitsio = { version = "0.15.0",...

> Here's my usage (it's worked so far, also for bigger things like `gtk-rs`): > > 1. install MSYS2 > > 2. install Rust via `rustup-init.exe` (variant: `x86_64-pc-windows-gnu`) > >...

Ok so I've reproduced the issue. I think you installed the `mingw-w64-x86_64-pkg-config` package, which I hadn't. Without it, using the default `/usr/bin/pkg-config` did not find the file correctly, due to...

> Also, there's no error when using `fitsio-sys` - I'm guessing the bindings themselves are cross-platform-OK, because they use `::std::os::raw::c_*` types, so will match whatever's right on current platform. >...

This is proving to be a bigger challenge than I anticipated. On Windows, a `long` data type is 32 bits rather than 64 bits. I think this is handled correctly...

Sorry all that I've not revisited this issue for a while. I'm still interested in getting this crate to work under Windows, however I no longer have access to a...

@art-den can you confirm if you would like `msvc` compatibility or if `msys2` support is enough?

> Do you mean x86_64-pc-windows-msvc rust toolchain? I use msys2 for gcc, pkg-config and libraries with x86_64-pc-windows-gnu rust toolchain. Ok that's great, I'm working on supporting that toolchain at the...

I've created [this PR](https://github.com/mindriot101/rust-fitsio/pull/150) - can those who are interested do the following: In your `Cargo.toml` file, include: ```toml fitsio = { git = "https://github.com/mindriot101/rust-fitsio", branch = "win-support" } ```...