zmwangx / rust-ffmpeg-sys

FFmpeg bindings for Rust.
113 stars 75 forks source link

Static link on windows still depends on DLLs #68

Open thewh1teagle opened 5 months ago

thewh1teagle commented 5 months ago

I created simple project which uses ffmpeg-next and compiled it on windows with static feature no special environment - using msvc and normal rust installation on Windows 11. It successufly compile and link it staticlly, but eventually when I run the program it still throw error if the DLLs are not in the same directory

image

The simple repo here thewh1teagle/ffmpeg-next-msvc-static