msrd0 / rlottie-rs

Rust bindings to rlottie and file conversion library and tools
MIT License
17 stars 4 forks source link

Windows support #43

Open msrd0 opened 1 year ago

msrd0 commented 1 year ago

Currently, this project relies on the rlottie C library to be precompiled and pkg-config to be able to find it. This seems to be incompatible with windows.

I see two options going forward:

These options are not incompatible with each other, so both could be implemented if desired. As I don't have windows, I cannot implement this myself, but PRs are welcome. Any implementing PR needs to have a CI setup that tests everything on windows as I won't be able to test locally.

dzoidbrg commented 1 year ago

I am a proud Linux user: ), but I have a windows machine so I will try hacking this together

LuckyTurtleDev commented 1 year ago

The vendor feature has the advantage that the user does not have to care, how to install rlottie. As example rlottie is also not package for mac os brew.

funatsufumiya commented 5 months ago

I could run rlottie-rs on my windows.

Here is the process what I did:

$ choco install mingw -y
$ choco install ninja -y
$ choco install llvm -y
$ choco install pkgconfiglite -y
$ git clone --depth=1 https://github.com/Samsung/rlottie
$ cd rlottie
$ meson build
$ ninja -C build
$ ninja install -C build