rust-ffmpeg-sys icon indicating copy to clipboard operation
rust-ffmpeg-sys copied to clipboard

Trouble building on target `i686-pc-windows-msvc`

Open shashwat1002 opened this issue 2 years ago • 4 comments

On trying to setup with windows, the following error is observed

EXEC : error : failed to run custom build command forffmpeg-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

shashwat1002 avatar Jul 02 '22 10:07 shashwat1002

The build job log -attached to the link- is no longer available can you fix this probably all the logs are expired

abdoei avatar Feb 08 '23 13:02 abdoei

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

prateekmedia avatar Mar 07 '23 12:03 prateekmedia

image Its Build Normal When I Test (i build from windows) using LLVM 32 bit libclang - vcpkg ffmpeg

amrmostafa800 avatar Feb 27 '24 19:02 amrmostafa800

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?

sabinonweb avatar Mar 07 '24 18:03 sabinonweb