CCExtractor / rusty_ffmpeg

FFI bindings for FFmpeg inner libraries.
https://crates.io/crates/rusty_ffmpeg
MIT License
176 stars 26 forks source link

Add CI Windows build result testing #37

Open ldm0 opened 4 years ago

ldm0 commented 4 years ago

Currently blocked on a vcpkg issue(some dependency libs not automatically found by vcpkg).

Linked issue: https://github.com/microsoft/vcpkg/issues/9571

icewind1991 commented 3 years ago

I got static linking working on windows by adding

[target.x86_64-pc-windows-msvc]
rustflags = [
    "-C", "link-arg=Mfplat.lib",
    "-C", "link-arg=Strmiids.lib",
    "-C", "link-arg=Mfuuid.lib",
    "-C", "link-arg=Bcrypt.lib",
    "-C", "link-arg=Secur32.lib",
    "-C", "link-arg=Ole32.lib",
    "-C", "link-arg=User32.lib"
]

to the .cargo/config.toml