rust-ffmpeg-sys
rust-ffmpeg-sys copied to clipboard
Trouble building on target `i686-pc-windows-msvc`
On trying to setup with windows, the following error is observed
EXEC : error : failed to run custom build command for
ffmpeg-sys-next v5.0.1`
The actual error is
thread 'main' panicked at called Option::unwrap() on a None value, C:\..\ffmpeg-sys-next-5.0.1\build.rs:210:46
The error originated when the compilation was done with the build
feature
I observed this error as part of a continuous integration build fail on windows.
url: https://github.com/CCExtractor/ccextractor/runs/7147475795?check_suite_focus=true
The build job log -attached to the link- is no longer available can you fix this probably all the logs are expired
Tried to fix this issue by switching to vcpkg's ffmpeg but another issue is coming which is related to channel_layout.h header, i.e. https://github.com/zmwangx/rust-ffmpeg-sys/issues/51
Its Build Normal When I Test (i build from windows)
using LLVM 32 bit libclang - vcpkg ffmpeg
So I tried to fix this on mac. I ran the command "brew install ffmpeg" and the code now gets built. I don't understand, is it running because ffmpeg is installed onto my machine or is that the way?