mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
852 B
852 B
Use vcpkg to build ffmpeg(on Windows).
Steps:
-
follow the instructions at https://trac.ffmpeg.org/wiki/CompilationGuide/vcpkg
-
run the command
vcpkg.exe install ffmpeg[core,avcodec,avdevice,avfilter,avformat,speex,avresample,mp3lame,opus,sdl2,swresample,vorbis]:x64-windows-rel
- copy dll and libs in vcpkg\installed\x64-windows-rel to goldendict's winlibs\lib\msvc
Pros: Can be compiled with speex.
Alternative method
simply download ffmpeg from the official website: https://github.com/BtbN/FFmpeg-Builds/releases Then replace the dlls and libs in the winlibs\lib\msvc.
Cons: Seems to be missing libspeex or I just downloaded the wrong package.
Pros: Easy to manage.
conan
conan does not seem to have the libspeex option yet.