Skip to content

Fails to build with 'video' feature enabled #331

@DemonikGH

Description

@DemonikGH

Trying to build gifski with cargo install --features=video but it fails when building ffmpeg-sys-next. Setting FFMPEG_DIR to installed ffmpeg doesn't help, using vcpkg installed ffmpeg doesn't work either.

Output (with either FFMPEG_DIR or vcpkg installed ffmpeg, adding -v doesn't change it either):

error: failed to run custom build command for `ffmpeg-sys-next v6.1.0`

Caused by:
  process didn't exit successfully: `C:\Users\Nikolay\AppData\Local\Temp\cargo-installlR4jPA\release\build\ffmpeg-sys-next-9ecc509337a9dc9f\build-script-build` (exit code: 101)
error: failed to compile `gifski v1.32.0`, intermediate artifacts can be found at `C:\Users\Nikolay\AppData\Local\Temp\cargo-installlR4jPA`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

Using stable-x86_64-pc-windows-msvc rust toolchain.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions