MINGW-packages: [opus] ERROR: opus not found using pkg-config
FIX: https://github.com/msys2/MINGW-packages/issues/8453#issuecomment-827834310
pacman --noconfirm -Sy pacman --noconfirm -S msys/make pacman --noconfirm -S mingw64/mingw-w64-x86_64-opus pacman --noconfirm -S diffutils pacman --noconfirm -S pkg-config
Ref: build_ffmpeg_win.sh Issue: https://stackoverflow.com/questions/67122637/error-on-windows-opus-not-found-using-pkg-config GitHub workflow: win.yml
Log
:: Synchronizing package databases...
mingw32 is up to date
mingw64 is up to date
ucrt64 is up to date
msys is up to date
resolving dependencies...
looking for conflicting packages...
Packages (1) make-4.3-1
Total Download Size: 0.45 MiB
Total Installed Size: 1.48 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
downloading make-4.3-1-x86_64.pkg.tar.xz...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing make...
:: Running post-transaction hooks...
(1/1) Updating the info directory file...
resolving dependencies...
looking for conflicting packages...
Packages (1) mingw-w64-x86_64-opus-1.3.1-3
Total Download Size: 0.28 MiB
Total Installed Size: 1.16 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
downloading mingw-w64-x86_64-opus-1.3.1-3-any.pkg.tar.zst...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing mingw-w64-x86_64-opus...
resolving dependencies...
looking for conflicting packages...
Packages (1) diffutils-3.7-1
Total Download Size: 0.33 MiB
Total Installed Size: 1.37 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
downloading diffutils-3.7-1-x86_64.pkg.tar.xz...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing diffutils...
:: Running post-transaction hooks...
(1/1) Updating the info directory file...
resolving dependencies...
looking for conflicting packages...
Packages (1) pkg-config-0.29.2-4
Total Download Size: 0.20 MiB
Total Installed Size: 0.55 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
downloading pkg-config-0.29.2-4-x86_64.pkg.tar.zst...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing pkg-config...
ERROR: opus not found using pkg-config
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.
Error: Process completed with exit code 1.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 16 (8 by maintainers)
You might want to consider requesting that the https://github.com/telegramdesktop/opus/commits/tdesktop fork be updated to use opus 1.3.1 instead of 1.3 as a CMakeLists.txt is provided there, and it generates the required opus.pc file that ffmpeg looks for