Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR : failed to run custom build command for ffmpeg-sys-next v6.0.1 #160

Open
0xhappyboy opened this issue Sep 5, 2023 · 2 comments
Open

Comments

@0xhappyboy
Copy link

environment : win10 x64 intel
tool chain : cargo built-in stable-x86_64-pc-windows-msvc
describe : when I set all the environment variables as described on the wiki and compiled the project, the above exception occurred.

@Coddeus
Copy link

Coddeus commented Sep 16, 2023

Struggled on this too.
It seems I needed to add

[env]
FFMPEG_DIR = { value = "ffmpegfolder", relative = true }

in .cargo/config.toml. Setting the environment variable to "./ffmpegfolder" (and a few variations, including absolute path I believe) from the command line didn't seem to work.

I also needed to add the av*.dll and sw*.dll in the root of the project (even in "static" mode, which I'm not able to make work).
Hope this works for you

@stonexwx
Copy link

stonexwx commented Mar 4, 2024

I also encountered this problem, the original issue was #138 and then after installation it became error: failed to run custom build command for 'ffmpeg-sys-next v6.1.0', I don't know how to solve this problem now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants