microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
22.89k stars 6.32k forks source link

[ffmpeg] Build failure #32179

Closed pedoc closed 1 year ago

pedoc commented 1 year ago

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

-- Using cached ffmpeg-ffmpeg-n5.1.2.tar.gz.
-- Cleaning sources at E:/OpenSource/vcpkg/buildtrees/ffmpeg/src/n5.1.2-f31542651f.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source E:/OpenSource/vcpkg/downloads/ffmpeg-ffmpeg-n5.1.2.tar.gz
-- Applying patch 0001-create-lib-libraries.patch
-- Applying patch 0002-fix-msvc-link.patch
-- Applying patch 0003-fix-windowsinclude.patch
-- Applying patch 0004-fix-debug-build.patch
-- Applying patch 0005-fix-nasm.patch
-- Applying patch 0006-fix-StaticFeatures.patch
-- Applying patch 0007-fix-lib-naming.patch
-- Applying patch 0009-Fix-fdk-detection.patch
-- Applying patch 0011-Fix-x265-detection.patch
-- Applying patch 0012-Fix-ssl-110-detection.patch
-- Applying patch 0013-define-WINVER.patch
-- Applying patch 0015-Fix-xml2-detection.patch
-- Applying patch 0020-fix-aarch64-libswscale.patch
-- Applying patch 0022-fix-iconv.patch
-- Using source at E:/OpenSource/vcpkg/buildtrees/ffmpeg/src/n5.1.2-f31542651f.clean
-- Using cached msys2-automake1.16-1.16.5-1-any.pkg.tar.zst.
-- Using cached msys2-bash-5.2.015-1-x86_64.pkg.tar.zst.
-- Using cached msys2-coreutils-8.32-5-x86_64.pkg.tar.zst.
-- Using cached msys2-file-5.44-5-x86_64.pkg.tar.zst.
-- Using cached msys2-gawk-5.2.1-2-x86_64.pkg.tar.zst.
-- Using cached msys2-grep-1~3.0-6-x86_64.pkg.tar.zst.
-- Using cached msys2-gzip-1.12-2-x86_64.pkg.tar.zst.
-- Using cached msys2-diffutils-3.9-1-x86_64.pkg.tar.zst.
-- Using cached msys2-make-4.4.1-1-x86_64.pkg.tar.zst.
-- Using cached msys2-pkgconf-1.9.4-1-x86_64.pkg.tar.zst.
-- Using cached msys2-sed-4.9-1-x86_64.pkg.tar.zst.
-- Using cached msys2-msys2-runtime-3.4.6-1-x86_64.pkg.tar.zst.
-- Using cached msys2-perl-5.36.0-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libiconv-1.17-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libintl-0.21-2-x86_64.pkg.tar.zst.
-- Using cached msys2-gmp-6.2.1-2-x86_64.pkg.tar.zst.
-- Using cached msys2-gcc-libs-11.3.0-3-x86_64.pkg.tar.zst.
-- Using cached msys2-libbz2-1.0.8-4-x86_64.pkg.tar.zst.
-- Using cached msys2-liblzma-5.4.1-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libzstd-1.5.4-1-x86_64.pkg.tar.zst.
-- Using cached msys2-zlib-1.2.13-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libreadline-8.2.001-3-x86_64.pkg.tar.zst.
-- Using cached msys2-mpfr-4.2.0-2-x86_64.pkg.tar.zst.
-- Using cached msys2-libpcre-8.45-3-x86_64.pkg.tar.zst.
-- Using cached msys2-libcrypt-2.1-4-x86_64.pkg.tar.zst.
-- Using cached msys2-ncurses-6.4-1-x86_64.pkg.tar.zst.
-- Using msys root at E:/OpenSource/vcpkg/downloads/tools/msys2/46e5d880d9d050b3
-- Found external ninja('1.11.0').
-- Getting CMake variables for x64-windows-static
-- Building Options: --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
-- Building Release Options: --enable-optimizations
-- Building ffmpeg for Release
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
    Command failed: E:/OpenSource/vcpkg/downloads/tools/msys2/46e5d880d9d050b3/usr/bin/bash.exe ./build.sh
    Working Directory: E:/OpenSource/vcpkg/buildtrees/ffmpeg/x64-windows-static-rel
    Error code: 1
    See logs for more information:
      E:\OpenSource\vcpkg\buildtrees\ffmpeg\build-x64-windows-static-rel-config.log
      E:\OpenSource\vcpkg\buildtrees\ffmpeg\build-x64-windows-static-rel-out.log

Call Stack (most recent call first):
  ports/ffmpeg/portfile.cmake:596 (vcpkg_execute_required_process)
  scripts/ports.cmake:147 (include)
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 #include 2 #include FT_FREETYPE_H 3 #include 4 long check_FT_Init_FreeType(void) { return (long) FT_Init_FreeType; } 5 int main(void) { int ret = 0; 6 ret |= ((intptr_t)check_FT_Init_FreeType) & 0xFFFF; 7 return ret; } END ./ffconf.6NuhGQ5o/test.c cl.exe -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -D_WIN32_WINNT=0x0600 -DPIC @E:/OpenSource/vcpkg/buildtrees/ffmpeg/x64-windows-static-rel/cflags.rsp -nologo -DHAVE_UNISTD_H=0 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/harfbuzz -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/fribidi -DFRIBIDI_LIB_STATIC -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -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 -c -Fo./ffconf.6NuhGQ5o/test.o ./ffconf.6NuhGQ5o/test.c cl: 命令行 warning D9002 :忽略未知选项“-libpath:E:/OpenSource/vcpkg/installed/x64-windows-static/lib” test.c ./ffconf.6NuhGQ5o/test.c(4): warning C4311: “类型强制转换”: 从“FT_Error (__cdecl *)(FT_Library *)”到“long”的指针截断 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 freetype.lib bz2.lib libpng16.lib zlib.lib brotlidec-static.lib brotlicommon-static.lib LINK : warning LNK4044: 无法识别的选项“/IE:/OpenSource/vcpkg/installed/x64-windows-static/include”;已忽略 LINK : warning LNK4044: 无法识别的选项“/IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16”;已忽略 require_pkg_config libfribidi fribidi fribidi.h fribidi_version_info check_pkg_config libfribidi fribidi fribidi.h fribidi_version_info test_pkg_config libfribidi fribidi fribidi.h fribidi_version_info E:/OpenSource/vcpkg/installed/x64-windows/tools/pkgconf/pkgconf.exe --exists --print-errors fribidi check_func_headers fribidi.h fribidi_version_info -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/fribidi -DFRIBIDI_LIB_STATIC -LE:/OpenSource/vcpkg/installed/x64-windows-static/lib -lfribidi test_ld cc -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/fribidi -DFRIBIDI_LIB_STATIC -LE:/OpenSource/vcpkg/installed/x64-windows-static/lib -lfribidi test_cc -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/fribidi -DFRIBIDI_LIB_STATIC -libpath:E:/OpenSource/vcpkg/installed/x64-windows-static/lib BEGIN ./ffconf.6NuhGQ5o/test.c 1 #include 2 #include 3 long check_fribidi_version_info(void) { return (long) fribidi_version_info; } 4 int main(void) { int ret = 0; 5 ret |= ((intptr_t)check_fribidi_version_info) & 0xFFFF; 6 return ret; } END ./ffconf.6NuhGQ5o/test.c cl.exe -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -D_WIN32_WINNT=0x0600 -DPIC @E:/OpenSource/vcpkg/buildtrees/ffmpeg/x64-windows-static-rel/cflags.rsp -nologo -DHAVE_UNISTD_H=0 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/harfbuzz -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/fribidi -DFRIBIDI_LIB_STATIC -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/fribidi -DFRIBIDI_LIB_STATIC -libpath:E:/OpenSource/vcpkg/installed/x64-windows-static/lib -c -Fo./ffconf.6NuhGQ5o/test.o ./ffconf.6NuhGQ5o/test.c cl: 命令行 warning D9002 :忽略未知选项“-libpath:E:/OpenSource/vcpkg/installed/x64-windows-static/lib” test.c ./ffconf.6NuhGQ5o/test.c(3): warning C4311: “类型强制转换”: 从“const char *”到“long”的指针截断 link.exe @E:/OpenSource/vcpkg/buildtrees/ffmpeg/x64-windows-static-rel/ldflags.rsp -nologo -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/fribidi -DFRIBIDI_LIB_STATIC -libpath:E:/OpenSource/vcpkg/installed/x64-windows-static/lib -out:./ffconf.6NuhGQ5o/test.exe ./ffconf.6NuhGQ5o/test.o fribidi.lib LINK : warning LNK4044: 无法识别的选项“/IE:/OpenSource/vcpkg/installed/x64-windows-static/include/fribidi”;已忽略 LINK : warning LNK4044: 无法识别的选项“/DFRIBIDI_LIB_STATIC”;已忽略 require libilbc ilbc.h WebRtcIlbcfix_InitDecode -lilbc check_lib libilbc ilbc.h WebRtcIlbcfix_InitDecode -lilbc check_func_headers ilbc.h WebRtcIlbcfix_InitDecode -lilbc test_ld cc -lilbc test_cc BEGIN ./ffconf.6NuhGQ5o/test.c 1 #include 2 #include 3 long check_WebRtcIlbcfix_InitDecode(void) { return (long) WebRtcIlbcfix_InitDecode; } 4 int main(void) { int ret = 0; 5 ret |= ((intptr_t)check_WebRtcIlbcfix_InitDecode) & 0xFFFF; 6 return ret; } END ./ffconf.6NuhGQ5o/test.c cl.exe -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -D_WIN32_WINNT=0x0600 -DPIC @E:/OpenSource/vcpkg/buildtrees/ffmpeg/x64-windows-static-rel/cflags.rsp -nologo -DHAVE_UNISTD_H=0 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/harfbuzz -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/fribidi -DFRIBIDI_LIB_STATIC -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/fribidi -DFRIBIDI_LIB_STATIC -c -Fo./ffconf.6NuhGQ5o/test.o ./ffconf.6NuhGQ5o/test.c test.c ./ffconf.6NuhGQ5o/test.c(3): warning C4311: “类型强制转换”: 从“int (__cdecl *)(IlbcDecoder *,int16_t,int)”到“long”的指针截断 link.exe @E:/OpenSource/vcpkg/buildtrees/ffmpeg/x64-windows-static-rel/ldflags.rsp -nologo -out:./ffconf.6NuhGQ5o/test.exe ./ffconf.6NuhGQ5o/test.o ilbc.lib check_pkg_config libmfx libmfx >= 1.28 mfx/mfxvideo.h MFXInit test_pkg_config libmfx libmfx >= 1.28 mfx/mfxvideo.h MFXInit E:/OpenSource/vcpkg/installed/x64-windows/tools/pkgconf/pkgconf.exe --exists --print-errors libmfx >= 1.28 check_func_headers mfx/mfxvideo.h MFXInit -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -LE:/OpenSource/vcpkg/installed/x64-windows-static/lib -lsupc++ E:/OpenSource/vcpkg/installed/x64-windows-static/lib/libmfx.lib test_ld cc -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -LE:/OpenSource/vcpkg/installed/x64-windows-static/lib -lsupc++ E:/OpenSource/vcpkg/installed/x64-windows-static/lib/libmfx.lib test_cc -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -libpath:E:/OpenSource/vcpkg/installed/x64-windows-static/lib E:/OpenSource/vcpkg/installed/x64-windows-static/lib/libmfx.lib BEGIN ./ffconf.6NuhGQ5o/test.c 1 #include 2 #include 3 long check_MFXInit(void) { return (long) MFXInit; } 4 int main(void) { int ret = 0; 5 ret |= ((intptr_t)check_MFXInit) & 0xFFFF; 6 return ret; } END ./ffconf.6NuhGQ5o/test.c cl.exe -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -D_WIN32_WINNT=0x0600 -DPIC @E:/OpenSource/vcpkg/buildtrees/ffmpeg/x64-windows-static-rel/cflags.rsp -nologo -DHAVE_UNISTD_H=0 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/harfbuzz -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/fribidi -DFRIBIDI_LIB_STATIC -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/fribidi -DFRIBIDI_LIB_STATIC -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -libpath:E:/OpenSource/vcpkg/installed/x64-windows-static/lib E:/OpenSource/vcpkg/installed/x64-windows-static/lib/libmfx.lib -c -Fo./ffconf.6NuhGQ5o/test.o ./ffconf.6NuhGQ5o/test.c cl: 命令行 warning D9002 :忽略未知选项“-libpath:E:/OpenSource/vcpkg/installed/x64-windows-static/lib” cl: 命令行 warning D9027 :源文件“E:/OpenSource/vcpkg/installed/x64-windows-static/lib/libmfx.lib”被忽略 cl: 命令行 warning D9002 :忽略未知选项“-libpath:E:/OpenSource/vcpkg/installed/x64-windows-static/lib” cl: 命令行 warning D9002 :忽略未知选项“-libpath:E:/OpenSource/vcpkg/installed/x64-windows-static/lib” cl: 命令行 warning D9027 :源文件“E:/OpenSource/vcpkg/installed/x64-windows-static/lib/libmfx.lib”被忽略 cl: 命令行 warning D9027 :源文件“E:/OpenSource/vcpkg/installed/x64-windows-static/lib/libmfx.lib”被忽略 test.c ./ffconf.6NuhGQ5o/test.c(3): warning C4311: “类型强制转换”: 从“mfxStatus (__cdecl *)(mfxIMPL,mfxVersion *,mfxSession *)”到“long”的指针截断 link.exe @E:/OpenSource/vcpkg/buildtrees/ffmpeg/x64-windows-static-rel/ldflags.rsp -nologo -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -libpath:E:/OpenSource/vcpkg/installed/x64-windows-static/lib E:/OpenSource/vcpkg/installed/x64-windows-static/lib/libmfx.lib -out:./ffconf.6NuhGQ5o/test.exe ./ffconf.6NuhGQ5o/test.o supc++.lib LINK : warning LNK4044: 无法识别的选项“/IE:/OpenSource/vcpkg/installed/x64-windows-static/include”;已忽略 LINK : fatal error LNK1181: 无法打开输入文件“supc++.lib” require libmfx mfx/mfxvideo.h mfx/mfxdefs.h MFXInit -llibmfx -ladvapi32 check_lib libmfx mfx/mfxvideo.h mfx/mfxdefs.h MFXInit -llibmfx -ladvapi32 check_func_headers mfx/mfxvideo.h mfx/mfxdefs.h MFXInit -llibmfx -ladvapi32 test_ld cc -llibmfx -ladvapi32 test_cc BEGIN ./ffconf.6NuhGQ5o/test.c 1 #include 2 #include 3 #include 4 long check_MFXInit(void) { return (long) MFXInit; } 5 int main(void) { int ret = 0; 6 ret |= ((intptr_t)check_MFXInit) & 0xFFFF; 7 return ret; } END ./ffconf.6NuhGQ5o/test.c cl.exe -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -D_WIN32_WINNT=0x0600 -DPIC @E:/OpenSource/vcpkg/buildtrees/ffmpeg/x64-windows-static-rel/cflags.rsp -nologo -DHAVE_UNISTD_H=0 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/harfbuzz -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/fribidi -DFRIBIDI_LIB_STATIC -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/fribidi -DFRIBIDI_LIB_STATIC -c -Fo./ffconf.6NuhGQ5o/test.o ./ffconf.6NuhGQ5o/test.c test.c ./ffconf.6NuhGQ5o/test.c(4): warning C4311: “类型强制转换”: 从“mfxStatus (__cdecl *)(mfxIMPL,mfxVersion *,mfxSession *)”到“long”的指针截断 link.exe @E:/OpenSource/vcpkg/buildtrees/ffmpeg/x64-windows-static-rel/ldflags.rsp -nologo -out:./ffconf.6NuhGQ5o/test.exe ./ffconf.6NuhGQ5o/test.o libmfx.lib advapi32.lib test_cpp_condition mfx/mfxdefs.h MFX_VERSION >= 1028 test_cpp BEGIN ./ffconf.6NuhGQ5o/test.c 1 #include 2 #if !(MFX_VERSION >= 1028) 3 #error "unsatisfied condition: MFX_VERSION >= 1028" 4 #endif END ./ffconf.6NuhGQ5o/test.c cl.exe -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -D_WIN32_WINNT=0x0600 -DPIC @E:/OpenSource/vcpkg/buildtrees/ffmpeg/x64-windows-static-rel/cflags.rsp -nologo -DHAVE_UNISTD_H=0 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/harfbuzz -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/fribidi -DFRIBIDI_LIB_STATIC -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/fribidi -DFRIBIDI_LIB_STATIC -P -Fi./ffconf.6NuhGQ5o/test.o ./ffconf.6NuhGQ5o/test.c test.c WARNING: using libmfx without pkg-config check_cc MFX_CODEC_VP9 mfx/mfxvp9.h mfx/mfxstructures.h MFX_CODEC_VP9 test_code cc mfx/mfxvp9.h mfx/mfxstructures.h MFX_CODEC_VP9 test_cc BEGIN ./ffconf.6NuhGQ5o/test.c 1 #include 2 #include 3 int main(void) { MFX_CODEC_VP9; return 0; } END ./ffconf.6NuhGQ5o/test.c cl.exe -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -D_WIN32_WINNT=0x0600 -DPIC @E:/OpenSource/vcpkg/buildtrees/ffmpeg/x64-windows-static-rel/cflags.rsp -nologo -DHAVE_UNISTD_H=0 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/harfbuzz -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/fribidi -DFRIBIDI_LIB_STATIC -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/fribidi -DFRIBIDI_LIB_STATIC -c -Fo./ffconf.6NuhGQ5o/test.o ./ffconf.6NuhGQ5o/test.c test.c require_pkg_config libmodplug libmodplug libmodplug/modplug.h ModPlug_Load check_pkg_config libmodplug libmodplug libmodplug/modplug.h ModPlug_Load test_pkg_config libmodplug libmodplug libmodplug/modplug.h ModPlug_Load E:/OpenSource/vcpkg/installed/x64-windows/tools/pkgconf/pkgconf.exe --exists --print-errors libmodplug check_func_headers libmodplug/modplug.h ModPlug_Load -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -LE:/OpenSource/vcpkg/installed/x64-windows-static/lib -lmodplug -luser32 test_ld cc -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -LE:/OpenSource/vcpkg/installed/x64-windows-static/lib -lmodplug -luser32 test_cc -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -libpath:E:/OpenSource/vcpkg/installed/x64-windows-static/lib BEGIN ./ffconf.6NuhGQ5o/test.c 1 #include 2 #include 3 long check_ModPlug_Load(void) { return (long) ModPlug_Load; } 4 int main(void) { int ret = 0; 5 ret |= ((intptr_t)check_ModPlug_Load) & 0xFFFF; 6 return ret; } END ./ffconf.6NuhGQ5o/test.c cl.exe -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -D_WIN32_WINNT=0x0600 -DPIC @E:/OpenSource/vcpkg/buildtrees/ffmpeg/x64-windows-static-rel/cflags.rsp -nologo -DHAVE_UNISTD_H=0 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/harfbuzz -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/fribidi -DFRIBIDI_LIB_STATIC -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/fribidi -DFRIBIDI_LIB_STATIC -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -libpath:E:/OpenSource/vcpkg/installed/x64-windows-static/lib -c -Fo./ffconf.6NuhGQ5o/test.o ./ffconf.6NuhGQ5o/test.c cl: 命令行 warning D9002 :忽略未知选项“-libpath:E:/OpenSource/vcpkg/installed/x64-windows-static/lib” test.c ./ffconf.6NuhGQ5o/test.c(3): warning C4311: “类型强制转换”: 从“ModPlugFile *(__cdecl *)(const void *,int)”到“long”的指针截断 link.exe @E:/OpenSource/vcpkg/buildtrees/ffmpeg/x64-windows-static-rel/ldflags.rsp -nologo -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -libpath:E:/OpenSource/vcpkg/installed/x64-windows-static/lib -out:./ffconf.6NuhGQ5o/test.exe ./ffconf.6NuhGQ5o/test.o modplug.lib user32.lib LINK : warning LNK4044: 无法识别的选项“/IE:/OpenSource/vcpkg/installed/x64-windows-static/include”;已忽略 check_lib libmp3lame lame/lame.h lame_set_VBR_quality -lmp3lame -lm check_func_headers lame/lame.h lame_set_VBR_quality -lmp3lame -lm test_ld cc -lmp3lame -lm test_cc BEGIN ./ffconf.6NuhGQ5o/test.c 1 #include 2 #include 3 long check_lame_set_VBR_quality(void) { return (long) lame_set_VBR_quality; } 4 int main(void) { int ret = 0; 5 ret |= ((intptr_t)check_lame_set_VBR_quality) & 0xFFFF; 6 return ret; } END ./ffconf.6NuhGQ5o/test.c cl.exe -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -D_WIN32_WINNT=0x0600 -DPIC @E:/OpenSource/vcpkg/buildtrees/ffmpeg/x64-windows-static-rel/cflags.rsp -nologo -DHAVE_UNISTD_H=0 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/harfbuzz -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/fribidi -DFRIBIDI_LIB_STATIC -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/fribidi -DFRIBIDI_LIB_STATIC -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -c -Fo./ffconf.6NuhGQ5o/test.o ./ffconf.6NuhGQ5o/test.c test.c ./ffconf.6NuhGQ5o/test.c(3): warning C4311: “类型强制转换”: 从“int (__cdecl *)(lame_global_flags *,float)”到“long”的指针截断 link.exe @E:/OpenSource/vcpkg/buildtrees/ffmpeg/x64-windows-static-rel/ldflags.rsp -nologo -out:./ffconf.6NuhGQ5o/test.exe ./ffconf.6NuhGQ5o/test.o libmp3lame.lib LINK : fatal error LNK1181: 无法打开输入文件“libmp3lame.lib” require libmp3lame lame/lame.h lame_set_VBR_quality -llibmp3lame-static -llibmpghip-static -lm check_lib libmp3lame lame/lame.h lame_set_VBR_quality -llibmp3lame-static -llibmpghip-static -lm check_func_headers lame/lame.h lame_set_VBR_quality -llibmp3lame-static -llibmpghip-static -lm test_ld cc -llibmp3lame-static -llibmpghip-static -lm test_cc BEGIN ./ffconf.6NuhGQ5o/test.c 1 #include 2 #include 3 long check_lame_set_VBR_quality(void) { return (long) lame_set_VBR_quality; } 4 int main(void) { int ret = 0; 5 ret |= ((intptr_t)check_lame_set_VBR_quality) & 0xFFFF; 6 return ret; } END ./ffconf.6NuhGQ5o/test.c cl.exe -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -D_WIN32_WINNT=0x0600 -DPIC @E:/OpenSource/vcpkg/buildtrees/ffmpeg/x64-windows-static-rel/cflags.rsp -nologo -DHAVE_UNISTD_H=0 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/harfbuzz -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/fribidi -DFRIBIDI_LIB_STATIC -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/fribidi -DFRIBIDI_LIB_STATIC -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -c -Fo./ffconf.6NuhGQ5o/test.o ./ffconf.6NuhGQ5o/test.c test.c ./ffconf.6NuhGQ5o/test.c(3): warning C4311: “类型强制转换”: 从“int (__cdecl *)(lame_global_flags *,float)”到“long”的指针截断 link.exe @E:/OpenSource/vcpkg/buildtrees/ffmpeg/x64-windows-static-rel/ldflags.rsp -nologo -out:./ffconf.6NuhGQ5o/test.exe ./ffconf.6NuhGQ5o/test.o libmp3lame-static.lib libmpghip-static.lib libmp3lame-static.lib(set_get.obj) : warning LNK4099: 未找到 PDB“”(使用“libmp3lame-static.lib(set_get.obj)”或在“”中寻找);正在链接对象,如同没有调试信息一样 libmp3lame-static.lib(lame.obj) : warning LNK4099: 未找到 PDB“”(使用“libmp3lame-static.lib(lame.obj)”或在“”中寻找);正在链接对象,如同没有调试信息一样 libmp3lame-static.lib(util.obj) : warning LNK4099: 未找到 PDB“”(使用“libmp3lame-static.lib(util.obj)”或在“”中寻找);正在链接对象,如同没有调试信息一样 libmp3lame-static.lib(bitstream.obj) : warning LNK4099: 未找到 PDB“”(使用“libmp3lame-static.lib(bitstream.obj)”或在“”中寻找);正在链接对象,如同没有调试信息一样 libmp3lame-static.lib(presets.obj) : warning LNK4099: 未找到 PDB“”(使用“libmp3lame-static.lib(presets.obj)”或在“”中寻找);正在链接对象,如同没有调试信息一样 libmp3lame-static.lib(version.obj) : warning LNK4099: 未找到 PDB“”(使用“libmp3lame-static.lib(version.obj)”或在“”中寻找);正在链接对象,如同没有调试信息一样 libmp3lame-static.lib(mpglib_interface.obj) : warning LNK4099: 未找到 PDB“”(使用“libmp3lame-static.lib(mpglib_interface.obj)”或在“”中寻找);正在链接对象,如同没有调试信息一样 libmp3lame-static.lib(encoder.obj) : warning LNK4099: 未找到 PDB“”(使用“libmp3lame-static.lib(encoder.obj)”或在“”中寻找);正在链接对象,如同没有调试信息一样 libmp3lame-static.lib(id3tag.obj) : warning LNK4099: 未找到 PDB“”(使用“libmp3lame-static.lib(id3tag.obj)”或在“”中寻找);正在链接对象,如同没有调试信息一样 libmp3lame-static.lib(gain_analysis.obj) : warning LNK4099: 未找到 PDB“”(使用“libmp3lame-static.lib(gain_analysis.obj)”或在“”中寻找);正在链接对象,如同没有调试信息一样 libmp3lame-static.lib(quantize_pvt.obj) : warning LNK4099: 未找到 PDB“”(使用“libmp3lame-static.lib(quantize_pvt.obj)”或在“”中寻找);正在链接对象,如同没有调试信息一样 libmp3lame-static.lib(psymodel.obj) : warning LNK4099: 未找到 PDB“”(使用“libmp3lame-static.lib(psymodel.obj)”或在“”中寻找);正在链接对象,如同没有调试信息一样 libmp3lame-static.lib(VbrTag.obj) : warning LNK4099: 未找到 PDB“”(使用“libmp3lame-static.lib(VbrTag.obj)”或在“”中寻找);正在链接对象,如同没有调试信息一样 libmp3lame-static.lib(tables.obj) : warning LNK4099: 未找到 PDB“”(使用“libmp3lame-static.lib(tables.obj)”或在“”中寻找);正在链接对象,如同没有调试信息一样 libmp3lame-static.lib(takehiro.obj) : warning LNK4099: 未找到 PDB“”(使用“libmp3lame-static.lib(takehiro.obj)”或在“”中寻找);正在链接对象,如同没有调试信息一样 libmp3lame-static.lib(newmdct.obj) : warning LNK4099: 未找到 PDB“”(使用“libmp3lame-static.lib(newmdct.obj)”或在“”中寻找);正在链接对象,如同没有调试信息一样 libmp3lame-static.lib(quantize.obj) : warning LNK4099: 未找到 PDB“”(使用“libmp3lame-static.lib(quantize.obj)”或在“”中寻找);正在链接对象,如同没有调试信息一样 libmp3lame-static.lib(reservoir.obj) : warning LNK4099: 未找到 PDB“”(使用“libmp3lame-static.lib(reservoir.obj)”或在“”中寻找);正在链接对象,如同没有调试信息一样 libmp3lame-static.lib(fft.obj) : warning LNK4099: 未找到 PDB“”(使用“libmp3lame-static.lib(fft.obj)”或在“”中寻找);正在链接对象,如同没有调试信息一样 libmp3lame-static.lib(vbrquantize.obj) : warning LNK4099: 未找到 PDB“”(使用“libmp3lame-static.lib(vbrquantize.obj)”或在“”中寻找);正在链接对象,如同没有调试信息一样 libmp3lame-static.lib(xmm_quantize_sub.obj) : warning LNK4099: 未找到 PDB“”(使用“libmp3lame-static.lib(xmm_quantize_sub.obj)”或在“”中寻找);正在链接对象,如同没有调试信息一样 libmpghip-static.lib(interface.obj) : warning LNK4099: 未找到 PDB“”(使用“libmpghip-static.lib(interface.obj)”或在“”中寻找);正在链接对象,如同没有调试信息一样 libmpghip-static.lib(common.obj) : warning LNK4099: 未找到 PDB“”(使用“libmpghip-static.lib(common.obj)”或在“”中寻找);正在链接对象,如同没有调试信息一样 libmpghip-static.lib(tabinit.obj) : warning LNK4099: 未找到 PDB“”(使用“libmpghip-static.lib(tabinit.obj)”或在“”中寻找);正在链接对象,如同没有调试信息一样 libmpghip-static.lib(layer3.obj) : warning LNK4099: 未找到 PDB“”(使用“libmpghip-static.lib(layer3.obj)”或在“”中寻找);正在链接对象,如同没有调试信息一样 libmpghip-static.lib(decode_i386.obj) : warning LNK4099: 未找到 PDB“”(使用“libmpghip-static.lib(decode_i386.obj)”或在“”中寻找);正在链接对象,如同没有调试信息一样 libmpghip-static.lib(layer1.obj) : warning LNK4099: 未找到 PDB“”(使用“libmpghip-static.lib(layer1.obj)”或在“”中寻找);正在链接对象,如同没有调试信息一样 libmpghip-static.lib(layer2.obj) : warning LNK4099: 未找到 PDB“”(使用“libmpghip-static.lib(layer2.obj)”或在“”中寻找);正在链接对象,如同没有调试信息一样 libmpghip-static.lib(dct64_i386.obj) : warning LNK4099: 未找到 PDB“”(使用“libmpghip-static.lib(dct64_i386.obj)”或在“”中寻找);正在链接对象,如同没有调试信息一样 require_pkg_config libopenh264 openh264 wels/codec_api.h WelsGetCodecVersion check_pkg_config libopenh264 openh264 wels/codec_api.h WelsGetCodecVersion test_pkg_config libopenh264 openh264 wels/codec_api.h WelsGetCodecVersion E:/OpenSource/vcpkg/installed/x64-windows/tools/pkgconf/pkgconf.exe --exists --print-errors openh264 check_func_headers wels/codec_api.h WelsGetCodecVersion -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -LE:/OpenSource/vcpkg/installed/x64-windows-static/lib -lopenh264 -lstdc++ test_ld cc -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -LE:/OpenSource/vcpkg/installed/x64-windows-static/lib -lopenh264 -lstdc++ test_cc -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -libpath:E:/OpenSource/vcpkg/installed/x64-windows-static/lib BEGIN ./ffconf.6NuhGQ5o/test.c 1 #include 2 #include 3 long check_WelsGetCodecVersion(void) { return (long) WelsGetCodecVersion; } 4 int main(void) { int ret = 0; 5 ret |= ((intptr_t)check_WelsGetCodecVersion) & 0xFFFF; 6 return ret; } END ./ffconf.6NuhGQ5o/test.c cl.exe -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -D_WIN32_WINNT=0x0600 -DPIC @E:/OpenSource/vcpkg/buildtrees/ffmpeg/x64-windows-static-rel/cflags.rsp -nologo -DHAVE_UNISTD_H=0 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/harfbuzz -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/fribidi -DFRIBIDI_LIB_STATIC -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/fribidi -DFRIBIDI_LIB_STATIC -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -libpath:E:/OpenSource/vcpkg/installed/x64-windows-static/lib -c -Fo./ffconf.6NuhGQ5o/test.o ./ffconf.6NuhGQ5o/test.c cl: 命令行 warning D9002 :忽略未知选项“-libpath:E:/OpenSource/vcpkg/installed/x64-windows-static/lib” test.c ./ffconf.6NuhGQ5o/test.c(3): warning C4311: “类型强制转换”: 从“OpenH264Version (__cdecl *)(void)”到“long”的指针截断 link.exe @E:/OpenSource/vcpkg/buildtrees/ffmpeg/x64-windows-static-rel/ldflags.rsp -nologo -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -libpath:E:/OpenSource/vcpkg/installed/x64-windows-static/lib -out:./ffconf.6NuhGQ5o/test.exe ./ffconf.6NuhGQ5o/test.o openh264.lib LINK : warning LNK4044: 无法识别的选项“/IE:/OpenSource/vcpkg/installed/x64-windows-static/include”;已忽略 check_pkg_config libopenjpeg libopenjp2 >= 2.1.0 openjpeg.h opj_version test_pkg_config libopenjpeg libopenjp2 >= 2.1.0 openjpeg.h opj_version E:/OpenSource/vcpkg/installed/x64-windows/tools/pkgconf/pkgconf.exe --exists --print-errors libopenjp2 >= 2.1.0 check_func_headers openjpeg.h opj_version -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -LE:/OpenSource/vcpkg/installed/x64-windows-static/lib -lopenjp2 test_ld cc -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -LE:/OpenSource/vcpkg/installed/x64-windows-static/lib -lopenjp2 test_cc -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -libpath:E:/OpenSource/vcpkg/installed/x64-windows-static/lib BEGIN ./ffconf.6NuhGQ5o/test.c 1 #include 2 #include 3 long check_opj_version(void) { return (long) opj_version; } 4 int main(void) { int ret = 0; 5 ret |= ((intptr_t)check_opj_version) & 0xFFFF; 6 return ret; } END ./ffconf.6NuhGQ5o/test.c cl.exe -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -D_WIN32_WINNT=0x0600 -DPIC @E:/OpenSource/vcpkg/buildtrees/ffmpeg/x64-windows-static-rel/cflags.rsp -nologo -DHAVE_UNISTD_H=0 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/harfbuzz -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/fribidi -DFRIBIDI_LIB_STATIC -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/fribidi -DFRIBIDI_LIB_STATIC -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -libpath:E:/OpenSource/vcpkg/installed/x64-windows-static/lib -c -Fo./ffconf.6NuhGQ5o/test.o ./ffconf.6NuhGQ5o/test.c cl: 命令行 warning D9002 :忽略未知选项“-libpath:E:/OpenSource/vcpkg/installed/x64-windows-static/lib” test.c ./ffconf.6NuhGQ5o/test.c(3): warning C4311: “类型强制转换”: 从“const char *(__cdecl *)(void)”到“long”的指针截断 link.exe @E:/OpenSource/vcpkg/buildtrees/ffmpeg/x64-windows-static-rel/ldflags.rsp -nologo -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -libpath:E:/OpenSource/vcpkg/installed/x64-windows-static/lib -out:./ffconf.6NuhGQ5o/test.exe ./ffconf.6NuhGQ5o/test.o openjp2.lib LINK : warning LNK4044: 无法识别的选项“/IE:/OpenSource/vcpkg/installed/x64-windows-static/include”;已忽略 require_pkg_config libopenmpt libopenmpt >= 0.2.6557 libopenmpt/libopenmpt.h openmpt_module_create -lstdc++ check_pkg_config libopenmpt libopenmpt >= 0.2.6557 libopenmpt/libopenmpt.h openmpt_module_create -lstdc++ test_pkg_config libopenmpt libopenmpt >= 0.2.6557 libopenmpt/libopenmpt.h openmpt_module_create -lstdc++ E:/OpenSource/vcpkg/installed/x64-windows/tools/pkgconf/pkgconf.exe --exists --print-errors libopenmpt >= 0.2.6557 check_func_headers libopenmpt/libopenmpt.h openmpt_module_create -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -LE:/OpenSource/vcpkg/installed/x64-windows-static/lib -lopenmpt -lzlib -lvorbisfile -lvorbis -logg -lmpg123 -lstdc++ test_ld cc -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -LE:/OpenSource/vcpkg/installed/x64-windows-static/lib -lopenmpt -lzlib -lvorbisfile -lvorbis -logg -lmpg123 -lstdc++ test_cc -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -libpath:E:/OpenSource/vcpkg/installed/x64-windows-static/lib BEGIN ./ffconf.6NuhGQ5o/test.c 1 #include 2 #include 3 long check_openmpt_module_create(void) { return (long) openmpt_module_create; } 4 int main(void) { int ret = 0; 5 ret |= ((intptr_t)check_openmpt_module_create) & 0xFFFF; 6 return ret; } END ./ffconf.6NuhGQ5o/test.c cl.exe -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -D_WIN32_WINNT=0x0600 -DPIC @E:/OpenSource/vcpkg/buildtrees/ffmpeg/x64-windows-static-rel/cflags.rsp -nologo -DHAVE_UNISTD_H=0 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/harfbuzz -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/fribidi -DFRIBIDI_LIB_STATIC -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/libpng16 -IE:/OpenSource/vcpkg/installed/x64-windows-static/include/fribidi -DFRIBIDI_LIB_STATIC -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -libpath:E:/OpenSource/vcpkg/installed/x64-windows-static/lib -c -Fo./ffconf.6NuhGQ5o/test.o ./ffconf.6NuhGQ5o/test.c cl: 命令行 warning D9002 :忽略未知选项“-libpath:E:/OpenSource/vcpkg/installed/x64-windows-static/lib” test.c ./ffconf.6NuhGQ5o/test.c(3): warning C4311: “类型强制转换”: 从“openmpt_module *(__cdecl *)(openmpt_stream_callbacks,void *,openmpt_log_func,void *,const openmpt_module_initial_ctl *)”到“long”的指针截断 ./ffconf.6NuhGQ5o/test.c(3): warning C4996: 'openmpt_module_create': 被声明为已否决 link.exe @E:/OpenSource/vcpkg/buildtrees/ffmpeg/x64-windows-static-rel/ldflags.rsp -nologo -IE:/OpenSource/vcpkg/installed/x64-windows-static/include -libpath:E:/OpenSource/vcpkg/installed/x64-windows-static/lib -out:./ffconf.6NuhGQ5o/test.exe ./ffconf.6NuhGQ5o/test.o openmpt.lib zlib.lib vorbisfile.lib vorbis.lib ogg.lib mpg123.lib LINK : warning LNK4044: 无法识别的选项“/IE:/OpenSource/vcpkg/installed/x64-windows-static/include”;已忽略 mpg123.lib(compat.c.obj) : error LNK2019: 无法解析的外部符号 __imp_PathCombineW,函数 INT123_compat_catpath 中引用了该符号 mpg123.lib(compat.c.obj) : error LNK2019: 无法解析的外部符号 __imp_PathIsRelativeW,函数 u2wlongpath 中引用了该符号 mpg123.lib(compat.c.obj) : error LNK2019: 无法解析的外部符号 __imp_PathIsUNCW,函数 u2wlongpath 中引用了该符号 .\ffconf.6NuhGQ5o\test.exe : fatal error LNK1120: 3 个无法解析的外部命令 ERROR: libopenmpt >= 0.2.6557 not found using pkg-config ```
E:\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

autoantwort commented 1 year ago

Duplicate of https://github.com/microsoft/vcpkg/issues/32169

pedoc commented 1 year ago

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

autoantwort commented 1 year ago

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

pedoc commented 1 year ago

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. image

pedoc commented 1 year ago

Closed due to duplicate with https://github.com/microsoft/vcpkg/issues/32169