Closed pedoc closed 1 year ago
Duplicate of https://github.com/microsoft/vcpkg/issues/32169
vcpkg install ffmpeg[all-nonfree]:x64-windows-static
Used different install commands, but all seem to be failing with libopenmpt,but i'm not sure.
If they are the same case, close one of them,thanks
The install commands are different, but the reason why the build is failing is the same: ERROR: libopenmpt >= 0.2.6557 not found using pkg-config
The install commands are different, but the reason why the build is failing is the same:
ERROR: libopenmpt >= 0.2.6557 not found using pkg-config
ok thanks for the clarification. I can also reproduce this error on another machine, currently it is solved by disabling libopenmpt.
Closed due to duplicate with https://github.com/microsoft/vcpkg/issues/32169
Package: ffmpeg[all,all-gpl,all-nonfree,amf,aom,ass,avcodec,avdevice,avfilter,avformat,bzip2,core,dav1d,fdk-aac,fontconfig,freetype,fribidi,gpl,iconv,ilbc,lzma,modplug,mp3lame,nonfree,nvcodec,opencl,opengl,openh264,openjpeg,openmpt,openssl,opus,postproc,qsv,sdl2,snappy,soxr,speex,srt,ssh,swresample,swscale,theora,vorbis,vpx,webp,x264,x265,xml2,zlib]:x64-windows-static -> 5.1.2#6
Host Environment
To Reproduce
vcpkg install ffmpeg[all-nonfree]:x64-windows-static
Failure logs
E:\OpenSource\vcpkg\buildtrees\ffmpeg\build-x64-windows-static-rel-config.log
``` # /e/OpenSource/vcpkg/buildtrees/ffmpeg/src/n5.1.2-f31542651f.clean/configure --prefix=/e/OpenSource/vcpkg/packages/ffmpeg_x64-windows-static --toolchain=msvc --enable-pic --disable-doc --enable-debug --enable-runtime-cpudetect --disable-autodetect --pkg-config='E:/OpenSource/vcpkg/installed/x64-windows/tools/pkgconf/pkgconf.exe' --target-os=win32 --enable-w32threads --enable-d3d11va --enable-dxva2 --enable-mediafoundation --disable-inline-asm --cc=cl.exe --cxx=cl.exe --windres=rc.exe --ld=link.exe --ar='ar-lib lib.exe' --enable-nonfree --enable-gpl --disable-ffmpeg --disable-ffplay --disable-ffprobe --enable-avcodec --enable-avdevice --enable-avformat --enable-avfilter --enable-postproc --enable-swresample --enable-swscale --disable-alsa --enable-amf --enable-libaom --enable-libass --disable-avisynth --enable-bzlib --enable-libdav1d --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-iconv --enable-libilbc --enable-lzma --enable-libmp3lame --enable-libmodplug --enable-cuda --enable-nvenc --enable-nvdec --enable-cuvid --enable-ffnvcodec --enable-opencl --enable-opengl --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-openssl --enable-libopus --enable-sdl2 --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --disable-libtensorflow --disable-libtesseract --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-zlib --enable-libsrt --enable-libmfx --enable-encoder=h264_qsv --enable-decoder=h264_qsv --enable-cross-compile --extra-cflags='-DHAVE_UNISTD_H=0' --pkg-config-flags=--static --enable-optimizations --arch=x86_64 --enable-asm --enable-x86asm ALLUSERSPROFILE='C:\ProgramData' ALL_COMPONENTS=' aac_adtstoasc_bsf av1_frame_merge_bsf av1_frame_split_bsf av1_metadata_bsf chomp_bsf dump_extradata_bsf dca_core_bsf dv_error_marker_bsf eac3_core_bsf extract_extradata_bsf filter_units_bsf h264_metadata_bsf h264_mp4toannexb_bsf h264_redundant_pps_bsf hapqa_extract_bsf hevc_metadata_bsf hevc_mp4toannexb_bsf imx_dump_header_bsf mjpeg2jpeg_bsf mjpega_dump_header_bsf mp3_header_decompress_bsf mpeg2_metadata_bsf mpeg4_unpack_bframes_bsf mov2textsub_bsf noise_bsf null_bsf opus_metadata_bsf pcm_rechunk_bsf pgs_frame_merge_bsf prores_metadata_bsf remove_extradata_bsf setts_bsf text2movsub_bsf trace_headers_bsf truehd_core_bsf vp9_metadata_bsf vp9_raw_reorder_bsf vp9_superframe_bsf vp9_superframe_split_bsf aasc_decoder aic_decoder alias_pix_decoder agm_decoder amv_decoder anm_decoder ansi_decoder apng_decoder arbc_decoder argo_decoder asv1_decoder asv2_decoder aura_decoder aura2_decoder avrp_decoder avrn_decoder avs_decoder avui_decoder ayuv_decoder bethsoftvid_decoder bfi_decoder bink_decoder bitpacked_decoder bmp_decoder bmv_video_decoder brender_pix_decoder c93_decoder cavs_decoder cdgraphics_decoder cdtoons_decoder cdxl_decoder cfhd_decoder cinepak_decoder clearvideo_decoder cljr_decoder cllc_decoder ... Skipped 17968 lines ... link.exe @E:/OpenSource/vcpkg/buildtrees/ffmpeg/x64-windows-static-rel/ldflags.rsp -nologo -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -libpath:E:/OpenSource/vcpkg/installed/x64-windows-static/lib -out:./ffconf.6NuhGQ5o/test.exe ./ffconf.6NuhGQ5o/test.o fontconfig.lib freetype.lib bz2.lib libpng16.lib zlib.lib brotlidec-static.lib brotlicommon-static.lib libexpatMT.lib LINK : warning LNK4044: 无法识别的选项“/IE:/OpenSource/vcpkg/installed/x64-windows-static/include”;已忽略 LINK : warning LNK4044: 无法识别的选项“/IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16”;已忽略 正在创建库 .\ffconf.6NuhGQ5o\test.lib 和对象 .\ffconf.6NuhGQ5o\test.exp require_pkg_config libfreetype freetype2 ft2build.h FT_FREETYPE_H FT_Init_FreeType check_pkg_config libfreetype freetype2 ft2build.h FT_FREETYPE_H FT_Init_FreeType test_pkg_config libfreetype freetype2 ft2build.h FT_FREETYPE_H FT_Init_FreeType E:/OpenSource/vcpkg/installed/x64-windows/tools/pkgconf/pkgconf.exe --exists --print-errors freetype2 check_func_headers ft2build.h FT_FREETYPE_H FT_Init_FreeType -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -LE:/OpenSource/vcpkg/installed/x64-windows-static/lib -lfreetype -lbz2 -llibpng16 -lzlib -lbrotlidec-static -lbrotlicommon-static test_ld cc -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -LE:/OpenSource/vcpkg/installed/x64-windows-static/lib -lfreetype -lbz2 -llibpng16 -lzlib -lbrotlidec-static -lbrotlicommon-static test_cc -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -libpath:E:/OpenSource/vcpkg/installed/x64-windows-static/lib BEGIN ./ffconf.6NuhGQ5o/test.c 1 #includeE:\OpenSource\vcpkg\buildtrees\ffmpeg\build-x64-windows-static-rel-out.log
``` BUILD_ARCH=x86_64 OPTION_VARIABLE=OPTIONS_x86_64 === CONFIGURING === ERROR: libopenmpt >= 0.2.6557 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. ```Additional context