philn / glide

Linux/macOS media player based on GStreamer and GTK
https://philn.github.io/glide/
MIT License
267 stars 22 forks source link

State of Windows support #66

Open fanc999 opened 1 year ago

fanc999 commented 1 year ago

Hi,

I was able to compile the latest GIT checkout with Rust 1.66.0 with the stable-x86_64-pc-windows-msvc toolchain, along with Visual Studio 2015, however:

Thanks for the great work!

fanc999 commented 1 year ago

Oh, I was running (all built with Visual Studio 2015 or 2017):

philn commented 1 year ago

That looks like an issue in the gtk-rs bindings?

philn commented 1 year ago

Can you check again? git master was ported to GTK4 and Adwaita. Using GStreamer 1.22 would be good too. Ideally I suppose we could somehow make a windows installer bundling all the deps, but I have no idea (or interest, sorry) how to do that.

sdasda7777 commented 5 months ago

Hi, I was just testing compiling on Windows. I was getting some error which I fixed by downloading pkg-config binary and putting it into path, but then I got stuck on not having gio-2.0:

  The system library `gio-2.0` required by crate `gio-sys` was not found.
  The file `gio-2.0.pc` needs to be installed and the PKG_CONFIG_PATH environment variable must contain its parent directory.
  The PKG_CONFIG_PATH environment variable is not set.

  HINT: if you have installed the library, try setting PKG_CONFIG_PATH to the directory containing `gio-2.0.pc`.

Apparently installing GLib should fix that, but I didn't manage to figure out where to download that from.

philn commented 5 months ago

Have you tried this? https://www.gtk.org/docs/installations/windows/

philn commented 5 months ago

Also, https://gtk-rs.org/gtk4-rs/stable/latest/book/installation_windows.html

sdasda7777 commented 5 months ago

Thanks for the replies! I did find the first page, but it's too complicated for me :/ Does it not have an installer?

philn commented 5 months ago

I really have no idea about this windows stuff :( Maybe some of the tooling/packaging done by GPS can be reused though, see https://gitlab.freedesktop.org/dabrain34/GstPipelineStudio/