Replies: 1 comment 1 reply
-
If vcpkg copies this DLLs then they are used by your program or its dependencies. Your program won't be able to start without them. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Use
vcpkg install ffmpeg[all-nonfree]
to install as many components as possible. However, there's a problem: every time I import ffmpeg into my project using**find_package(FFMPEG REQUIRED)
, all dynamic libraries are copied into the target program directory during compilation, taking up a significant amount of space. This is even true with code liketarget_link_libraries(${PROJECT_NAME} FFmpeg::avcodec FFmpeg::avformat FFmpeg::avutil FFmpeg::swscale FFmpeg::swresample)
. Is it possible to import only the components I need? I suspect this is due to interdependencies between modules after they're enabled. I wonder if this can be improved?Beta Was this translation helpful? Give feedback.
All reactions