m-ab-s / media-autobuild_suite

This Windows Batchscript helps setup a Mingw-w64 compiler environment for building ffmpeg and other media tools under Windows.
GNU General Public License v3.0
1.49k stars 257 forks source link

mingw64 ffmpeg clang libplacebo >= 4.192.0 not found using pkg-config #2649

Closed kliffgomel closed 2 months ago

kliffgomel commented 2 months ago

17:49:44 ┌ ffmpeg git ............................... [Recently updated] 17:49:44 ├ Changing options to comply to nonfree... 17:49:46 ├ Installing clang... done 17:49:52 ├ Compiling static FFmpeg... 17:49:53 ├ Running configure... Likely error (tail of the failed operation logfile): CXXFLAGS: -D_FORTIFY_SOURCE=2 -fstack-protector-strong -march=znver2 -O3 -pipe -D__USE_MINGW_ANSI_STDIO=1 -Wno-implicit-function-declaration LDFLAGS: -D_FORTIFY_SOURCE=2 -fstack-protector-strong -march=znver2 -O3 -pipe -D__USE_MINGW_ANSI_STDIO=1 -Wno-implicit-function-declaration -static-libgcc --start-no-unused-arguments -static-libstdc++ --end-no-unused-arguments -L/local64/lib -L/mingw64/lib ../configure --prefix=/local64 --bindir=/local64/bin-video --pkg-config=pkgconf --pkg-config-flags=--keep-system-libs --keep-system-cflags --static --cc=ccache clang --cxx=ccache clang++ --ld=ccache clang++ --extra-cxxflags=-fpermissive --extra-cflags=-Wno-int-conversion --disable-autodetect --disable-doc --enable-bzlib --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-iconv --enable-lzma --enable-nvenc --enable-zlib --enable-sdl2 --enable-ffnvcodec --enable-nvdec --enable-cuda-llvm --enable-gmp --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libdav1d --enable-libaom --disable-debug --enable-libfdk-aac --enable-fontconfig --enable-libass --enable-libbluray --enable-libfreetype --enable-libopenjpeg --enable-libsnappy --enable-libsoxr --enable-libwebp --enable-libxml2 --enable-libzimg --enable-gpl --enable-avisynth --enable-libopenmpt --enable-version3 --enable-librav1e --enable-libgsm --enable-libvmaf --enable-chromaprint --enable-libfribidi --enable-libilbc --enable-libmodplug --enable-librtmp --enable-libzmq --enable-libzvbi --enable-openal --enable-libglslang --enable-vulkan --enable-libplacebo --enable-opencl --enable-opengl --enable-gnutls --extra-libs=-lstdc++ --extra-cflags=-DMODPLUG_STATIC --extra-cflags=-DCHROMAPRINT_NODLL --extra-libs=-lstdc++ --extra-cflags=-DZMQ_STATIC --extra-cflags=-DLIBXML_STATIC --extra-libs=-liconv --disable-w32threads --enable-nonfree --extra-cflags=-DAL_LIBTYPE_STATIC --extra-cflags=-ID:/ffmpeg-autobuild-clang/local64/include --extra-cflags=-ID:/ffmpeg-autobuild-clang/local64/include/AL --extra-version=ga44c346312+1 ERROR: libplacebo >= 4.192.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 ffmpeg-user@ffmpeg.org 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. logs.zip

1480c1 commented 2 months ago

should be fixed with the move to clang64 for clang environments

kliffgomel commented 2 months ago

problem not fixed

15:05:22 ├ Installing libopenmpt-modplug... failed 15:05:37 Running git clone for ffmpeg... 15:06:20 Running git update for ffmpeg... 15:06:21 ┌ ffmpeg git ............................... [Recently updated] 15:06:21 ├ Changing options to comply to nonfree... 15:06:36 ├ Compiling static FFmpeg... 15:06:38 ├ Running configure... Likely error (tail of the failed operation logfile): CXXFLAGS: -D_FORTIFY_SOURCE=2 -fstack-protector-strong -march=znver2 -O3 -pipe -D__USE_MINGW_ANSI_STDIO=1 -Wno-implicit-function-declaration LDFLAGS: -D_FORTIFY_SOURCE=2 -fstack-protector-strong -march=znver2 -O3 -pipe -D__USE_MINGW_ANSI_STDIO=1 -Wno-implicit-function-declaration -static-libgcc --start-no-unused-arguments -static-libstdc++ --end-no-unused-arguments -L/local64/lib -L/mingw64/lib ../configure --prefix=/local64 --bindir=/local64/bin-video --pkg-config=pkgconf --pkg-config-flags=--keep-system-libs --keep-system-cflags --static --cc=ccache clang --cxx=ccache clang++ --ld=ccache clang++ --extra-cxxflags=-fpermissive --extra-cflags=-Wno-int-conversion --disable-autodetect --disable-doc --enable-bzlib --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-iconv --enable-lzma --enable-nvenc --enable-zlib --enable-sdl2 --enable-ffnvcodec --enable-nvdec --enable-cuda-llvm --enable-gmp --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libdav1d --enable-libaom --disable-debug --enable-libfdk-aac --enable-fontconfig --enable-libass --enable-libbluray --enable-libfreetype --enable-libopenjpeg --enable-libsnappy --enable-libsoxr --enable-libwebp --enable-libxml2 --enable-libzimg --enable-gpl --enable-avisynth --enable-libopenmpt --enable-version3 --enable-librav1e --enable-libgsm --enable-libvmaf --enable-chromaprint --enable-libfribidi --enable-libilbc --enable-libmodplug --enable-librtmp --enable-libzmq --enable-libzvbi --enable-openal --enable-libglslang --enable-vulkan --enable-libplacebo --enable-opencl --enable-opengl --enable-gnutls --extra-cflags=-DMODPLUG_STATIC --extra-cflags=-DCHROMAPRINT_NODLL --extra-cflags=-DZMQ_STATIC --extra-cflags=-DLIBXML_STATIC --extra-libs=-liconv --disable-w32threads --enable-nonfree --extra-cflags=-DAL_LIBTYPE_STATIC --extra-cflags=-ID:/ffmpeg-autobuild-clang/local64/include --extra-cflags=-ID:/ffmpeg-autobuild-clang/local64/include/AL --extra-version=ge757726e89+2 ERROR: libplacebo >= 4.192.0 not found using pkg-config logs.zip