Skip to content

[ffmpeg[ffmpeg]:x64-windows] compiles the executable but it won't open #12008

@ivanovmp

Description

@ivanovmp

The bug
After installing ffmpeg with the option ffmpeg, vcpkg creates several executables. However, none of them can be opened because of absence of necessary DLL's.

Environment

  • OS: 64-bit Windows 10 (Russian language)
  • Compiler: Microsoft ® C/C++ Optimizing Compiler Version 19.26.28612 for x64.

To Reproduce
Steps to reproduce the behavior:

  1. ./vcpkg install ffmpeg[ffmpeg]:x64-windows
  2. We get ./buildtrees/ffmpeg/x64-windows-dbg/ffmpeg.exe, ./buildtrees/ffmpeg/x64-windows-rel/ffmpeg.exe, ./installed/x64-windows/debug/tools/ffmpeg.exe, ./installed/x64-windows/tools/ffmpeg.exe, ./packages/ffmpeg_x64-windows/debug/tools/ffmpeg.exe, ./packages/ffmpeg_x64-windows/tools/ffmpeg.exe
  3. After execution each of them throws an error message box telling me that the executable cannot run because it hasn't found avdevice-58.dll

Expected behavior
I expect at least one of these ffmpeg.exes to just execute without running into problems. Maybe vcpkg should have put the necessary DLL's into some common directory for libraries or into direct reach of these .exes. It's strange to build ffmpeg.exe and leave it in the state in which it wouldn't work. After I copied all the needed DLL's into the directory containing ffmpeg.exe it was able to open, but maybe this task is to be done by vcpkg?

Metadata

Metadata

Assignees

Labels

category:port-bugThe issue is with a library, which is something the port should already support

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions