conan-center-index
conan-center-index copied to clipboard
[package] ffmpeg/6.1: Build fails on Windows, missing aom
Description
Trying to build ffmpeg
I have the following error on Windows:
ERROR: aom >= 1.0.0 not found using pkg-config
It seems that autotools is failing to find the packages with pkg-config
. The possilbe issue is that PKG_CONFIG_PATH
is not set correctly.
Package and Environment Details
- Package Name/Version: ffmpeg/6.1
- Operating System+version: Windows
- Compiler+version: MSVC 193
- Conan version: conan 2.2.2
- Python version: Python 3.11.3
Conan profile
======== Input profiles ========
Profile host:
[settings]
arch=x86_64
build_type=Release
compiler=msvc
compiler.cppstd=23
compiler.runtime=dynamic
compiler.runtime_type=Release
compiler.version=193
os=Windows
[tool_requires]
*: ninja/1.11.1, cmake/3.28.1
[conf]
tools.cmake.cmaketoolchain:generator=Ninja Multi-Config
tools.env.virtualenv:powershell=False
Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=msvc
compiler.cppstd=20
compiler.runtime=dynamic
compiler.runtime_type=Release
compiler.version=193
os=Windows
Steps to reproduce
conan install --requires ffmpeg/6.1 --build=missing -r conancenter
Logs
Click to expand build log
======== Input profiles ========
Profile host:
[settings]
arch=x86_64
build_type=Release
compiler=msvc
compiler.cppstd=23
compiler.runtime=dynamic
compiler.runtime_type=Release
compiler.version=193
os=Windows
[tool_requires]
*: ninja/1.11.1, cmake/3.28.1
[conf]
tools.cmake.cmaketoolchain:generator=Ninja Multi-Config
tools.env.virtualenv:powershell=False
Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=msvc
compiler.cppstd=20
compiler.runtime=dynamic
compiler.runtime_type=Release
compiler.version=193
os=Windows
======== Computing dependency graph ========
Graph root
cli
Requirements
brotli/1.1.0#d56d7bb9ca722942aba17369cb5c0519 - Cache
bzip2/1.0.8#457c272f7da34cb9c67456dd217d36c4 - Cache
cpuinfo/cci.20231129#306f0c2325f566b37835fdea3af1cc2d - Cache
dav1d/1.2.1#94259c8baa2b1e7ab9976f1c20822be8 - Cache
ffmpeg/6.1#02cb31a2162b0d4812178b561c18eb3a - Cache
freetype/2.13.2#dfa3d504cae4a08d5c72113bd6f28498 - Cache
libaom-av1/3.6.1#bc59a671c1703d30321f3d34adbe6b27 - Cache
libfdk_aac/2.0.3#a4041d75d31de57214adeb9c6f9cae26 - Cache
libiconv/1.17#73fefc1b696e069df90fd1d18aa63edd - Cache
libmp3lame/3.100#44b12d19316eb2b223d98d3e75dae438 - Cache
libpng/1.6.43#c219d8f01983bac10c404fc613605eef - Cache
libsvtav1/1.6.0#d93c603fdbc6cdcdc289cae51c3bb88e - Cache
libvpx/1.13.1#31c5cc0bc9fff2b5baf5a1fac60bd9c9 - Cache
libwebp/1.3.2#52f69c4a31c5cf033fdd9230d77a8e38 - Cache
libx264/cci.20220602#310132b8f365d0d74028128d3677f132 - Cache
libx265/3.4#60fd8f9d5a93fd2338a46a0664ddc768 - Cache
ogg/1.3.5#062626875f5c8c59f069f76f148098ef - Cache
openh264/2.3.1#8b94a94f5472b67355953c7748ad4381 - Cache
openjpeg/2.5.0#2886244f2492121aa7c6c493a814db06 - Cache
openssl/3.2.1#4e37baf541d0500161b4cb6c061e6c0c - Cache
opus/1.4#54631f551fc450783fb2df8cd63f80a2 - Cache
vorbis/1.3.7#37e58f52e59a6232199b34ef402714a6 - Cache
xz_utils/5.4.5#a26a2d42ab9c3dabc151bbe1bf898e53 - Cache
zlib/1.2.13#df233e6bed99052f285331b9f54d9070 - Cache
Build requirements
autoconf/2.71#00a1e46d8ba5baaf7f10d64c1a6a0342 - Cache
automake/1.16.5#058bda3e21c36c9aa8425daf3c1faf50 - Cache
cmake/3.28.1#67506a613afcd5b43d67d77aa44521d1 - Cache
m4/1.4.19#b38ced39a01e31fef5435bc634461fd2 - Cache
meson/1.2.1#f641f02771e4660c772354736da0b9c6 - Cache
meson/1.2.2#04bdfb85d665c82b08a3510aee3ffd19 - Cache
msys2/cci.latest#3857696d012a96a379bef7dc7ee65f75 - Cache
nasm/2.15.05#53a041f093283fa430d442e20908c43d - Cache
ninja/1.11.1#de85db1490cc53d3353a536dadf1db50 - Cache
pkgconf/2.1.0#27f44583701117b571307cf5b5fe5605 - Cache
strawberryperl/5.30.0.1#d125df083747d815c66e9ee621f3909f - Cache
strawberryperl/5.32.1.1#a5101163f340aa2625d3732965b60279 - Cache
yasm/1.3.0#fb800a15413dca19bfaef9e4b5d50694 - Cache
Resolved version ranges
libpng/[>=1.6 <2]: libpng/1.6.43
openssl/[>=1.1 <4]: openssl/3.2.1
zlib/[>=1.2.11 <2]: zlib/1.2.13
======== Computing necessary packages ========
libfdk_aac/2.0.3: Checking 3 compatible configurations
libfdk_aac/2.0.3: Main binary package 'ef234fe77f12220564ce22f0a53ffd45ac971a88' missing. Using compatible package '9bdee485ef71c14ac5f8a657202632bdb8b4482b': compiler.cppstd=14
libvpx/1.13.1: Checking 3 compatible configurations
libvpx/1.13.1: Main binary package 'f72f6d5481afc3e96bd50161c64015f0776b830c' missing. Using compatible package 'a41a3c9132f76c03420a0d58c94f179496b2c6c1': compiler.cppstd=14
libsvtav1/1.6.0: Checking 3 compatible configurations
libsvtav1/1.6.0: Main binary package 'ab4dcc37156664dbbe4a431f1db00aa794952602' missing. Using compatible package '69ae82a6fadd536aab435894a79c9bfa4a978741': compiler.cppstd=14
libx265/3.4: Checking 3 compatible configurations
libx265/3.4: Main binary package '8a70fd2982161a30cb703272d878db20c292ce08' missing. Using compatible package '51e0f530ce3b7ab1874d8a7d4d1db79c6980ad83': compiler.cppstd=14
openh264/2.3.1: Checking 3 compatible configurations
openh264/2.3.1: Main binary package 'ef234fe77f12220564ce22f0a53ffd45ac971a88' missing. Using compatible package '9bdee485ef71c14ac5f8a657202632bdb8b4482b': compiler.cppstd=14
Requirements
brotli/1.1.0#d56d7bb9ca722942aba17369cb5c0519:75df3523cadfb3cb5a2c1cc2d61e8c640e1f9b96#249943a2756eb869cac284274651a4ab - Cache
bzip2/1.0.8#457c272f7da34cb9c67456dd217d36c4:67bfcb7b4b78262b9d05495e479dcd92f747316b#cea9c0f0dfa41e83aebd5d39c5a5cbf3 - Cache
cpuinfo/cci.20231129#306f0c2325f566b37835fdea3af1cc2d:55aeaf508eba1e9553e073e30c7d81e0b42040a4#b4f6fa873fb479c48127dfff729d6249 - Cache
dav1d/1.2.1#94259c8baa2b1e7ab9976f1c20822be8:852774d78624946d6aeb4c046613f3ee57f2fc72#ff8ec5cf02f3b10dae1a4541f1b32daf - Cache
ffmpeg/6.1#02cb31a2162b0d4812178b561c18eb3a:6991b23c0ec21bce9d6883126d86d72cfa2e5c82 - Build
freetype/2.13.2#dfa3d504cae4a08d5c72113bd6f28498:f3dd8d86e783277b9ddf9c4c3be80d3b21f029f5#dc897e7d8483b739b54fe802e4ab878e - Cache
libaom-av1/3.6.1#bc59a671c1703d30321f3d34adbe6b27:c2103b16a3c2427d7d8b2881830304dcd9a9594c#b3713dbc3aff976cb4c6786d3012d750 - Cache
libfdk_aac/2.0.3#a4041d75d31de57214adeb9c6f9cae26:9bdee485ef71c14ac5f8a657202632bdb8b4482b#435509930d17f26affca5c89cf706d70 - Cache
libiconv/1.17#73fefc1b696e069df90fd1d18aa63edd:7bfde258ff4f62f75668d0896dbddedaa7480a0f#9ef92719f5c05dca2f0dbb46f50d3f8d - Cache
libmp3lame/3.100#44b12d19316eb2b223d98d3e75dae438:7bfde258ff4f62f75668d0896dbddedaa7480a0f#1f940ddf96019360898491726791f26a - Cache
libpng/1.6.43#c219d8f01983bac10c404fc613605eef:4e5406e4c2becfcef5afa6a019eb0f41c5cc8117#2fbaceba08ec4fa94cea074006cda132 - Cache
libsvtav1/1.6.0#d93c603fdbc6cdcdc289cae51c3bb88e:69ae82a6fadd536aab435894a79c9bfa4a978741#5611851fd6ce857d1843465c9a90f73a - Cache
libvpx/1.13.1#31c5cc0bc9fff2b5baf5a1fac60bd9c9:a41a3c9132f76c03420a0d58c94f179496b2c6c1#ce1a87d1c1df1ad4fc9c972aea4542dc - Cache
libwebp/1.3.2#52f69c4a31c5cf033fdd9230d77a8e38:653db3a579025ea1bd9ddbca1ed97a34042b07bc#e758295d7002a9bba78e7644fc8f4df0 - Cache
libx264/cci.20220602#310132b8f365d0d74028128d3677f132:d255942e7ec60660e981cc1158cc19583e748ba0#d392689ef3f3d0601c6baf1d6ac711c6 - Cache
libx265/3.4#60fd8f9d5a93fd2338a46a0664ddc768:51e0f530ce3b7ab1874d8a7d4d1db79c6980ad83#a5e0e7a93959730513e3fb3d6ae47cc8 - Cache
ogg/1.3.5#062626875f5c8c59f069f76f148098ef:7bfde258ff4f62f75668d0896dbddedaa7480a0f#e927a574838328774c00363480fd0711 - Cache
openh264/2.3.1#8b94a94f5472b67355953c7748ad4381:9bdee485ef71c14ac5f8a657202632bdb8b4482b#4d8e6860f6626ad26adf96897a1adc51 - Cache
openjpeg/2.5.0#2886244f2492121aa7c6c493a814db06:7bfde258ff4f62f75668d0896dbddedaa7480a0f#4705898766648d4734738619d4e86b2b - Cache
openssl/3.2.1#4e37baf541d0500161b4cb6c061e6c0c:d269906a276a86f3894d14909091938d0a2eca3a#f163f552c2bc3cc187b2a8e403a70d82 - Cache
opus/1.4#54631f551fc450783fb2df8cd63f80a2:d1a5b9bcc299cdd33a65105d273acb7da6ab62cf#1316366bac65750d59b07e9d62760f99 - Cache
vorbis/1.3.7#37e58f52e59a6232199b34ef402714a6:5716ed60be3e52a680aebcade966a2d4782db011#6bd7f8caee1c94c4eccf2f5b117619d1 - Cache
xz_utils/5.4.5#a26a2d42ab9c3dabc151bbe1bf898e53:7bfde258ff4f62f75668d0896dbddedaa7480a0f#4c7578d5d9e1b7fd5711572c4944aacb - Cache
zlib/1.2.13#df233e6bed99052f285331b9f54d9070:7bfde258ff4f62f75668d0896dbddedaa7480a0f#388e7e041d079b2e576f2d2a38673b52 - Cache
Build requirements
cmake/3.28.1#67506a613afcd5b43d67d77aa44521d1:522dcea5982a3f8a5b624c16477e47195da2f84f#29e6903b5006c2b2f81003c9ebf7551b - Cache
msys2/cci.latest#3857696d012a96a379bef7dc7ee65f75:956a88975bda9dfcc485e2861d71e74bd7e2b9a5#a87bcd846167380022fdbd0186ce9dde - Cache
ninja/1.11.1#de85db1490cc53d3353a536dadf1db50:723257509aee8a72faf021920c2874abc738e029#4e2deb6148af4b2c934bb1799bb3ba86 - Cache
pkgconf/2.1.0#27f44583701117b571307cf5b5fe5605:43771b8671ac44479c188dd72670e2eb2d7918a6#302b4a47f55f982ddf140855abd5bf1f - Cache
yasm/1.3.0#fb800a15413dca19bfaef9e4b5d50694:723257509aee8a72faf021920c2874abc738e029#68bb37bc24509a0529e3363ecac8f9e3 - Cache
Skipped binaries
autoconf/2.71, automake/1.16.5, m4/1.4.19, meson/1.2.1, meson/1.2.2, nasm/2.15.05, strawberryperl/5.30.0.1, strawberryperl/5.32.1.1
======== Installing packages ========
cmake/3.28.1: Already installed! (1 of 29)
cmake/3.28.1: Appending PATH environment variable: C:\Users\edukaj\.conan2\p\b\cmake9123f1ffe26bb\p\bin
cmake/3.28.1: Appending PATH environment variable: C:\Users\edukaj\.conan2\p\b\cmake9123f1ffe26bb\p\bin
msys2/cci.latest: Already installed! (2 of 29)
ninja/1.11.1: Already installed! (3 of 29)
yasm/1.3.0: Already installed! (4 of 29)
yasm/1.3.0: Appending PATH environment variable: C:\Users\edukaj\.conan2\p\yasm78b751d76798d\p\bin
brotli/1.1.0: Already installed! (5 of 29)
bzip2/1.0.8: Already installed! (6 of 29)
cpuinfo/cci.20231129: Already installed! (7 of 29)
libaom-av1/3.6.1: Already installed! (8 of 29)
libfdk_aac/2.0.3: Already installed! (9 of 29)
libiconv/1.17: Already installed! (10 of 29)
libmp3lame/3.100: Already installed! (11 of 29)
libvpx/1.13.1: Already installed! (12 of 29)
libwebp/1.3.2: Already installed! (13 of 29)
ogg/1.3.5: Already installed! (14 of 29)
openjpeg/2.5.0: Already installed! (15 of 29)
opus/1.4: Already installed! (16 of 29)
xz_utils/5.4.5: Already installed! (17 of 29)
zlib/1.2.13: Already installed! (18 of 29)
dav1d/1.2.1: Already installed! (19 of 29)
libx264/cci.20220602: Already installed! (20 of 29)
libx265/3.4: Already installed! (21 of 29)
pkgconf/2.1.0: Already installed! (22 of 29)
pkgconf/2.1.0: WARN: The use of 'unix_path_legacy_compat' is deprecated in Conan 2.0 and does not perform path conversions. This is retained for compatibility with Conan 1.x and will be removed in a future version.
openh264/2.3.1: Already installed! (23 of 29)
libpng/1.6.43: Already installed! (24 of 29)
libsvtav1/1.6.0: Already installed! (25 of 29)
openssl/3.2.1: Already installed! (26 of 29)
vorbis/1.3.7: Already installed! (27 of 29)
freetype/2.13.2: Already installed! (28 of 29)
-------- Installing package ffmpeg/6.1 (29 of 29) --------
ffmpeg/6.1: Building from source
ffmpeg/6.1: Package ffmpeg/6.1:6991b23c0ec21bce9d6883126d86d72cfa2e5c82
ffmpeg/6.1: Copying sources to build folder
ffmpeg/6.1: Building your package in C:\Users\edukaj\.conan2\p\b\ffmpe20cd57756be32\b
ffmpeg/6.1: Calling generate()
ffmpeg/6.1: Generators folder: C:\Users\edukaj\.conan2\p\b\ffmpe20cd57756be32\b\build-release\conan
ffmpeg/6.1: Generating aggregated env files
ffmpeg/6.1: Generated aggregated env files: ['conanbuild.sh', 'conanbuild.bat']
ffmpeg/6.1: Calling build()
ffmpeg/6.1: Calling:
> "/c/users/edukaj/.conan2/p/b/ffmpe20cd57756be32/b/src/configure" --disable-shared --enable-static --prefix=/ --bindir=${prefix}/bin --libdir=${prefix}/lib --pkg-config-flags=--static --disable-doc --disable-cross-compile
--enable-asm --disable-shared --enable-static --enable-pic --enable-avdevice --enable-avcodec --enable-avformat --enable-swresample --enable-swscale --enable-postproc --enable-avfilter --enable-bzlib --enable-zlib --enable-l
zma --enable-iconv --enable-libopenjpeg --enable-libopenh264 --enable-libvorbis --enable-libopus --disable-libzmq --disable-sdl2 --enable-libx264 --enable-libx265 --enable-libvpx --enable-libmp3lame --enable-libfdk-aac --ena
ble-libwebp --enable-libaom --enable-openssl --disable-alsa --disable-libpulse --disable-vaapi --disable-vdpau --disable-libxcb --disable-libxcb-shm --disable-libxcb-shape --disable-libxcb-xfixes --disable-appkit --disable-a
vfoundation --disable-coreimage --disable-audiotoolbox --disable-videotoolbox --disable-securetransport --disable-cuda --disable-cuvid --enable-nonfree --enable-gpl --disable-vulkan --enable-libsvtav1 --enable-libdav1d --arc
h=x86_64 --cc=cl.exe --cxx=cl.exe --pkg-config=/c/users/edukaj/.conan2/p/pkgcoe6fcefd89afdc/p/bin/pkgconf.exe --toolchain=msvc "--extra-cflags=-MD -O2 -Ob2 -FS"
ffmpeg/6.1: RUN: "/c/users/edukaj/.conan2/p/b/ffmpe20cd57756be32/b/src/configure" --disable-shared --enable-static --prefix=/ --bindir=${prefix}/bin --libdir=${prefix}/lib --pkg-config-flags=--static --disable-doc --disable-
cross-compile --enable-asm --disable-shared --enable-static --enable-pic --enable-avdevice --enable-avcodec --enable-avformat --enable-swresample --enable-swscale --enable-postproc --enable-avfilter --enable-bzlib --enable-z
lib --enable-lzma --enable-iconv --enable-libopenjpeg --enable-libopenh264 --enable-libvorbis --enable-libopus --disable-libzmq --disable-sdl2 --enable-libx264 --enable-libx265 --enable-libvpx --enable-libmp3lame --enable-li
bfdk-aac --enable-libwebp --enable-libaom --enable-openssl --disable-alsa --disable-libpulse --disable-vaapi --disable-vdpau --disable-libxcb --disable-libxcb-shm --disable-libxcb-shape --disable-libxcb-xfixes --disable-appk
it --disable-avfoundation --disable-coreimage --disable-audiotoolbox --disable-videotoolbox --disable-securetransport --disable-cuda --disable-cuvid --enable-nonfree --enable-gpl --disable-vulkan --enable-libsvtav1 --enable-
libdav1d --arch=x86_64 --cc=cl.exe --cxx=cl.exe --pkg-config=/c/users/edukaj/.conan2/p/pkgcoe6fcefd89afdc/p/bin/pkgconf.exe --toolchain=msvc "--extra-cflags=-MD -O2 -Ob2 -FS"
conanvcvars.bat: Activating environment Visual Studio 17 - amd64 - winsdk_version=None - vcvars_ver=14.3
[vcvarsall.bat] Environment initialized for: 'x64'
mkdir: cannot create directory '/dev/shm': Read-only file system
Creating /dev/shm directory failed.
POSIX semaphores and POSIX shared memory will not work
mkdir: cannot create directory '/dev/mqueue': Read-only file system
Creating /dev/mqueue directory failed.
POSIX message queues will not work
ERROR: aom >= 1.0.0 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
[email protected] mailing list or IRC #ffmpeg on irc.libera.chat.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.
ffmpeg/6.1: ERROR:
Package '6991b23c0ec21bce9d6883126d86d72cfa2e5c82' build failed
ffmpeg/6.1: WARN: Build folder C:\Users\edukaj\.conan2\p\b\ffmpe20cd57756be32\b\build-release
ERROR: ffmpeg/6.1: Error in build() method, line 710
autotools.configure()
ConanException: Error 1 while executing
Click to expand ffbuild/config.log
./ffconf.p1CHb49L/test.c(3): warning C4311: 'type cast': pointer truncation from 'float (__cdecl *)(float,float)' to 'int'
/c/users/edukaj/.conan2/p/b/ffmped1a71c26a708c/b/src/compat/windows/mslink -LIBPATH:/c/users/edukaj/.conan2/p/xz_utc437dae9165b5/p/lib -LIBPATH:/c/users/edukaj/.conan2/p/libicb4e788959979c/p/lib -LIBPATH:/c/users/edukaj/.conan2/p/b/freetdb2cb7aae37e9/p/lib -LIBPATH:/c/users/edukaj/.conan2/p/b/libpn0444e050edb0e/p/lib -LIBPATH:/c/users/edukaj/.conan2/p/bzip2e06444d88ab4f/p/lib -LIBPATH:/c/users/edukaj/.conan2/p/brotl79757a5cae055/p/lib -LIBPATH:/c/users/edukaj/.conan2/p/openj58733c81470a1/p/lib -LIBPATH:/c/users/edukaj/.conan2/p/openhfd27db7edc5da/p/lib -LIBPATH:/c/users/edukaj/.conan2/p/vorbib3b87ba3196b8/p/lib -LIBPATH:/c/users/edukaj/.conan2/p/ogg0603e0d7ed2e4/p/lib -LIBPATH:/c/users/edukaj/.conan2/p/opus8462564dcd469/p/lib -LIBPATH:/c/users/edukaj/.conan2/p/libx2023aa9caac2a2/p/lib -LIBPATH:/c/users/edukaj/.conan2/p/libx2997b103fcf89a/p/lib -LIBPATH:/c/users/edukaj/.conan2/p/libvp2ea497d07acf7/p/lib -LIBPATH:/c/users/edukaj/.conan2/p/libmpb8490c605ee04/p/lib -LIBPATH:/c/users/edukaj/.conan2/p/libfda79a2c8bbcda3/p/lib -LIBPATH:/c/users/edukaj/.conan2/p/libweb2503c6aa238e/p/lib -LIBPATH:/c/users/edukaj/.conan2/p/b/opens30058c54f192f/p/lib -LIBPATH:/c/users/edukaj/.conan2/p/b/zlibf27e8b565753c/p/lib -LIBPATH:/c/users/edukaj/.conan2/p/libsvc01a97ea2917c/p/lib -LIBPATH:/c/users/edukaj/.conan2/p/cpuina12323f5c5182/p/lib -LIBPATH:/c/users/edukaj/.conan2/p/b/libao25de1f6d5f9ce/p/lib -LIBPATH:/c/users/edukaj/.conan2/p/dav1d9fbc52b90fc14/p/lib -nologo -out:./ffconf.p1CHb49L/test.exe ./ffconf.p1CHb49L/test.o
require_pkg_config libaom aom >= 1.0.0 aom/aom_codec.h aom_codec_version
check_pkg_config libaom aom >= 1.0.0 aom/aom_codec.h aom_codec_version
test_pkg_config libaom aom >= 1.0.0 aom/aom_codec.h aom_codec_version
/c/users/edukaj/.conan2/p/pkgcoe6fcefd89afdc/p/bin/pkgconf.exe --exists --print-errors aom >= 1.0.0
Package aom was not found in the pkg-config search path.
Perhaps you should add the directory containing `aom.pc'
to the PKG_CONFIG_PATH environment variable
Package 'aom', required by 'virtual:world', not found
ERROR: aom >= 1.0.0 not found using pkg-config