-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ffmpeg] build failure on x64-windows #42365
Comments
|
MSVC support for
|
This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment. |
version: 7.0 # Create a lib temporarily to dump symbols from.
# It's just much easier to do it this way
libname=$(mktemp -u "library").lib
trap 'rm -f -- $libname' EXIT
if [ -n "$AR" ]; then
$AR rcs ${libname} $@ >/dev/null
else
lib.exe -out:${libname} $@ >/dev/null
fi
if [ $? != 0 ]; then
echo "Could not create temporary library." >&2
exit 1
fi |
This is not a problem. vpckg instructs ffmpeg to use the |
Operating system
Windows 11
Compiler
MSVC
Steps to reproduce the behavior
Failure logs
1> 已为配置“default”启动 CMake 生成。
1> 环境设置:
1> CommandPromptType=Native
1> CONDA_BAT=C:\ProgramData\anaconda3\condabin\conda.bat
1> CONDA_EXE=C:\ProgramData\anaconda3\Scripts\conda.exe
1> CONDA_SHLVL=0
1> DevEnvDir=C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE
1> ExtensionSdkDir=C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs
1> EXTERNAL_INCLUDE=C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\include;C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\ATLMFC\include;C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include;C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared;C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\cppwinrt;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um
1> Framework40Version=v4.0
1> FrameworkDir=C:\Windows\Microsoft.NET\Framework64
1> FrameworkDir64=C:\Windows\Microsoft.NET\Framework64
1> FrameworkVersion=v4.0.30319
1> FrameworkVersion64=v4.0.30319
1> FSHARPINSTALLDIR=C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\FSharp\Tools
1> INCLUDE=C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\include;C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\ATLMFC\include;C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include;C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared;C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\cppwinrt;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um
1> LIB=C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\ATLMFC\lib\x64;C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\lib\x64;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\lib\um\x64;C:\Program Files (x86)\Windows Kits\10\lib\10.0.22621.0\ucrt\x64;C:\Program Files (x86)\Windows Kits\10\lib\10.0.22621.0\um\x64
1> LIBPATH=C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\ATLMFC\lib\x64;C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\lib\x64;C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\lib\x86\store\references;C:\Program Files (x86)\Windows Kits\10\UnionMetadata\10.0.22621.0;C:\Program Files (x86)\Windows Kits\10\References\10.0.22621.0;C:\Windows\Microsoft.NET\Framework64\v4.0.30319
1> NETFXSDKDir=C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8
1> Path=C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\HostX64\x64;C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\VC\VCPackages;C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer;C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\bin\Roslyn;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\x64;C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\FSharp\Tools;C:\Program Files\Microsoft Visual Studio\2022\Community\Team Tools\DiagnosticsHub\Collector;C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x64;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE;C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools;C:\ProgramData\anaconda3\condabin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\libnvvp;C:\Program Files\Basler\pylon 8\Runtime\x64;C:\Program Files\Basler\pylon 8\Runtime\Win32;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4\libnvvp;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files\CMake\bin;C:\Program Files\dotnet;C:\Program Files\Git\cmd;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\anaconda3;C:\ProgramData\anaconda3\Scripts;C:\Program Files\NVIDIA GPU Computing Toolkit\TensorRT\TensorRT-10.5.0.18\lib;C:\Program Files\MATLAB\R2024a\bin;C:\Program Files\NVIDIA Corporation\Nsight Compute 2022.3.0;C:\Users\ningh\AppData\Local\Microsoft\WindowsApps;C:\Users\ningh.dotnet\tools;C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin;C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja;C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\VC\Linux\bin\ConnectionManagerExe;C:\Program Files\Microsoft Visual Studio\2022\Community\VC\vcpkg
1> PROMPT=$P$G
1> UCRTVersion=10.0.22621.0
1> UniversalCRTSdkDir=C:\Program Files (x86)\Windows Kits\10
1> VCIDEInstallDir=C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\VC
1> VCINSTALLDIR=C:\Program Files\Microsoft Visual Studio\2022\Community\VC
1> VCPKG_ROOT=D:\code\ffmpeg\vcpkg
1> VCToolsInstallDir=C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120
1> VCToolsRedistDir=C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Redist\MSVC\14.40.33807
1> VCToolsVersion=14.41.34120
1> VS170COMNTOOLS=C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools
1> VSCMD_ARG_app_plat=Desktop
1> VSCMD_ARG_HOST_ARCH=x64
1> VSCMD_ARG_no_logo=1
1> VSCMD_ARG_TGT_ARCH=x64
1> VSCMD_DEBUG=5
1> VSCMD_VER=17.11.5
1> VSINSTALLDIR=C:\Program Files\Microsoft Visual Studio\2022\Community
1> WindowsLibPath=C:\Program Files (x86)\Windows Kits\10\UnionMetadata\10.0.22621.0;C:\Program Files (x86)\Windows Kits\10\References\10.0.22621.0
1> WindowsSdkBinPath=C:\Program Files (x86)\Windows Kits\10\bin
1> WindowsSdkDir=C:\Program Files (x86)\Windows Kits\10
1> WindowsSDKLibVersion=10.0.22621.0
1> WindowsSdkVerBinPath=C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0
1> WindowsSDKVersion=10.0.22621.0
1> WindowsSDK_ExecutablePath_x64=C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\x64
1> WindowsSDK_ExecutablePath_x86=C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools
1> __DOTNET_ADD_64BIT=1
1> __DOTNET_PREFERRED_BITNESS=64
1> __VSCMD_PREINIT_PATH=C:\ProgramData\anaconda3\condabin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\libnvvp;C:\Program Files\Basler\pylon 8\Runtime\x64;C:\Program Files\Basler\pylon 8\Runtime\Win32;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4\libnvvp;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files\CMake\bin;C:\Program Files\dotnet;C:\Program Files\Git\cmd;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\anaconda3;C:\ProgramData\anaconda3\Scripts;C:\Program Files\NVIDIA GPU Computing Toolkit\TensorRT\TensorRT-10.5.0.18\lib;C:\Program Files\MATLAB\R2024a\bin;C:\Program Files\NVIDIA Corporation\Nsight Compute 2022.3.0;C:\Users\ningh\AppData\Local\Microsoft\WindowsApps;C:\Users\ningh.dotnet\tools
1> OneDriveConsumer=C:\Users\ningh\OneDrive
1> EFC_13620=1
1> ProgramW6432=C:\Program Files
1> PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 183 Stepping 1, GenuineIntel
1> VsPerMonitorDpiAwarenessEnabled.34360=TRUE
1> TMP=C:\Users\ningh\AppData\Local\Temp
1> PROCESSOR_ARCHITECTURE=AMD64
1> PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
1> PkgDefApplicationConfigFile=C:\Users\ningh\AppData\Local\Microsoft\VisualStudio\17.0_46eeeef1\devenv.exe.config
1> USERPROFILE=C:\Users\ningh
1> PROCESSOR_REVISION=b701
1> ServiceHubLogSessionKey=E8C0B9AC
1> FPS_BROWSER_APP_PROFILE_STRING=Internet Explorer
1> FPS_BROWSER_USER_PROFILE_STRING=Default
1> LOGONSERVER=\DESKTOP-D437GEJ
1> CUDA_PATH_V12_4=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4
1> USERNAME=ningh
1> SystemRoot=C:\WINDOWS
1> SESSIONNAME=Console
1> GENICAM_GENTL32_PATH=C:\Program Files\Basler\pylon 8\Runtime\Win32
1> TEMP=C:\Users\ningh\AppData\Local\Temp
1> OneDrive=C:\Users\ningh\OneDrive
1> USERDOMAIN_ROAMINGPROFILE=DESKTOP-D437GEJ
1> NVTOOLSEXT_PATH=C:\Program Files\NVIDIA Corporation\NvToolsExt
1> CommonProgramFiles=C:\Program Files\Common Files
1> PYLON_DEV_DIR=C:\Program Files\Basler\pylon 8\Development
1> ThreadedWaitDialogDpiContext=-4
1> ProgramData=C:\ProgramData
1> VS_Perf_Session_GCHeapCount=2
1> VSAPPIDDIR=C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE
1> HOMEPATH=\Users\ningh
1> COMPUTERNAME=DESKTOP-D437GEJ
1> VSSKUEDITION=Community
1> ALLUSERSPROFILE=C:\ProgramData
1> CommonProgramW6432=C:\Program Files\Common Files
1> GENICAM_GENTL64_PATH=C:\Program Files\Basler\pylon 8\Runtime\x64
1> GCExpConfigUsedInSession=3
1> VisualStudioDir=C:\Users\ningh\Documents\Visual Studio 2022
1> CMAKE_PREFIX_PATH=C:\Program Files\Basler\pylon 8\Development\CMake\pylon
1> CUDA_PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4
1> DriverData=C:\Windows\System32\Drivers\DriverData
1> HOMEDRIVE=C:
1> windir=C:\WINDOWS
1> SystemDrive=C:
1> NUMBER_OF_PROCESSORS=24
1> OS=Windows_NT
1> ProgramFiles=C:\Program Files
1> ComSpec=C:\WINDOWS\system32\cmd.exe
1> VSLANG=2052
1> ProgramFiles(x86)=C:\Program Files (x86)
1> PSModulePath=C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
1> APPDATA=C:\Users\ningh\AppData\Roaming
1> USERDOMAIN=DESKTOP-D437GEJ
1> PROCESSOR_LEVEL=6
1> LOCALAPPDATA=C:\Users\ningh\AppData\Local
1> VisualStudioVersion=17.0
1> VisualStudioEdition=Microsoft Visual Studio Community 2022
1> CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
1> CUDA_PATH_V11_8=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8
1> PUBLIC=C:\Users\Public
1> VSAPPIDNAME=devenv.exe
1> MSBuildLoadMicrosoftTargetsReadOnly=true
1> 命令行: "C:\WINDOWS\system32\cmd.exe" /c "%SYSTEMROOT%\System32\chcp.com 65001 >NUL && "C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\2022\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\CMake\bin\cmake.exe" -G "Ninja" -DCMAKE_TOOLCHAIN_FILE:STRING="D:\code\ffmpeg\vcpkg/scripts/buildsystems/vcpkg.cmake" -DCMAKE_C_COMPILER:STRING="cl.exe" -DCMAKE_CXX_COMPILER:STRING="cl.exe" -DCMAKE_MAKE_PROGRAM="C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\2022\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\Ninja\ninja.exe" "D:\code\ffmpeg\CMakeProject1" 2>&1"
1> 工作目录: D:/code/ffmpeg/CMakeProject1/build
1> [CMake] -- Running vcpkg install
1> [CMake] 正在检测三元组 x64-windows 的编译器哈希...
1> [CMake] -- 正在将 %HTTP(S)_PROXY% 环境变量自动设置为“127.0.0.1:7890”。
1> [CMake] 已找到编译器: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/cl.exe
1> [CMake] 正在检测三元组 x86-windows 的编译器哈希...
1> [CMake] 已找到编译器: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x86/cl.exe
1> [CMake] 将生成并安装以下包:
1> [CMake] ffmpeg[all,all-gpl,all-nonfree,amf,aom,ass,avcodec,avdevice,avfilter,avformat,avisynthplus,bzip2,core,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,tesseract,theora,version3,vorbis,vpx,webp,x264,x265,xml2,zlib]:[email protected]#1 -- C:\Users\ningh\AppData\Local\vcpkg\registries\git-trees\8bf6bad9b522d47e259a13d9033a825a6abd41a9
1> [CMake] 67.7 us 后从 C:\Users\ningh\AppData\Local\vcpkg\archives 还原了 0 个包。使用 --debug 了解更多详细信息。
1> [CMake] 正在安装 1/1 个 ffmpeg[all,all-gpl,all-nonfree,amf,aom,ass,avcodec,avdevice,avfilter,avformat,avisynthplus,bzip2,core,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,tesseract,theora,version3,vorbis,vpx,webp,x264,x265,xml2,zlib]:[email protected]#1...
1> [CMake] 正在生成 ffmpeg[all,all-gpl,all-nonfree,amf,aom,ass,avcodec,avdevice,avfilter,avformat,avisynthplus,bzip2,core,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,tesseract,theora,version3,vorbis,vpx,webp,x264,x265,xml2,zlib]:[email protected]#1...
1> [CMake] C:\Users\ningh\AppData\Local\vcpkg\registries\git-trees\8bf6bad9b522d47e259a13d9033a825a6abd41a9: info: 正在从此处安装覆盖端口
1> [CMake] -- Using cached ffmpeg-ffmpeg-n7.1.tar.gz.
1> [CMake] -- Cleaning sources at D:/code/ffmpeg/CMakeProject1/build/vcpkg_installed/vcpkg/blds/ffmpeg/src/n7.1-d40f62baf3.clean. Use --editable to skip cleaning for the packages you specify.
1> [CMake] -- Extracting source C:/Users/ningh/AppData/Local/vcpkg/downloads/ffmpeg-ffmpeg-n7.1.tar.gz
1> [CMake] -- Applying patch 0001-create-lib-libraries.patch
1> [CMake] -- Applying patch 0002-fix-msvc-link.patch
1> [CMake] -- Applying patch 0003-fix-windowsinclude.patch
1> [CMake] -- Applying patch 0004-dependencies.patch
1> [CMake] -- Applying patch 0005-fix-nasm.patch
1> [CMake] -- Applying patch 0007-fix-lib-naming.patch
1> [CMake] -- Applying patch 0013-define-WINVER.patch
1> [CMake] -- Applying patch 0020-fix-aarch64-libswscale.patch
1> [CMake] -- Applying patch 0024-fix-osx-host-c11.patch
1> [CMake] -- Applying patch 0040-ffmpeg-add-av_stream_get_first_dts-for-chromium.patch
1> [CMake] -- Applying patch 0041-add-const-for-opengl-definition.patch
1> [CMake] -- Applying patch 0043-fix-miss-head.patch
1> [CMake] -- Using source at D:/code/ffmpeg/CMakeProject1/build/vcpkg_installed/vcpkg/blds/ffmpeg/src/n7.1-d40f62baf3.clean
1> [CMake] CMake Warning (dev) at scripts/cmake/vcpkg_find_acquire_program.cmake:70 (cmake_parse_arguments):
1> [CMake] An empty string was given as the value after the INTERPRETER keyword.
1> [CMake] Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
1> [CMake] arg_INTERPRETER variable rather than setting it to an empty string.
1> [CMake] Call Stack (most recent call first):
1> [CMake] scripts/cmake/vcpkg_find_acquire_program.cmake:143 (z_vcpkg_find_acquire_program_find_internal)
1> [CMake] C:/Users/ningh/AppData/Local/vcpkg/registries/git-trees/8bf6bad9b522d47e259a13d9033a825a6abd41a9/portfile.cmake:27 (vcpkg_find_acquire_program)
1> [CMake] scripts/ports.cmake:175 (include)
1> [CMake] This warning is for project developers. Use -Wno-dev to suppress it.
1> [CMake]
1> [CMake] CMake Warning (dev) at scripts/cmake/vcpkg_find_acquire_program.cmake:70 (cmake_parse_arguments):
1> [CMake] An empty string was given as the value after the INTERPRETER keyword.
1> [CMake] Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
1> [CMake] arg_INTERPRETER variable rather than setting it to an empty string.
1> [CMake] Call Stack (most recent call first):
1> [CMake] scripts/cmake/vcpkg_find_acquire_program.cmake:143 (z_vcpkg_find_acquire_program_find_internal)
1> [CMake] D:/code/ffmpeg/CMakeProject1/build/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:116 (vcpkg_find_acquire_program)
1> [CMake] D:/code/ffmpeg/CMakeProject1/build/vcpkg_installed/x64-windows/share/vcpkg-cmake-get-vars/vcpkg_cmake_get_vars.cmake:15 (vcpkg_cmake_configure)
1> [CMake] C:/Users/ningh/AppData/Local/vcpkg/registries/git-trees/8bf6bad9b522d47e259a13d9033a825a6abd41a9/portfile.cmake:61 (vcpkg_cmake_get_vars)
1> [CMake] scripts/ports.cmake:175 (include)
1> [CMake] This warning is for project developers. Use -Wno-dev to suppress it.
1> [CMake]
1> [CMake] CMake Warning (dev) at scripts/cmake/vcpkg_find_acquire_program.cmake:30 (cmake_parse_arguments):
1> [CMake] An empty string was given as the value after the INTERPRETER keyword.
1> [CMake] Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
1> [CMake] arg_INTERPRETER variable rather than setting it to an empty string.
1> [CMake] Call Stack (most recent call first):
1> [CMake] scripts/cmake/vcpkg_find_acquire_program.cmake:149 (z_vcpkg_find_acquire_program_find_external)
1> [CMake] D:/code/ffmpeg/CMakeProject1/build/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:116 (vcpkg_find_acquire_program)
1> [CMake] D:/code/ffmpeg/CMakeProject1/build/vcpkg_installed/x64-windows/share/vcpkg-cmake-get-vars/vcpkg_cmake_get_vars.cmake:15 (vcpkg_cmake_configure)
1> [CMake] C:/Users/ningh/AppData/Local/vcpkg/registries/git-trees/8bf6bad9b522d47e259a13d9033a825a6abd41a9/portfile.cmake:61 (vcpkg_cmake_get_vars)
1> [CMake] scripts/ports.cmake:175 (include)
1> [CMake] This warning is for project developers. Use -Wno-dev to suppress it.
1> [CMake]
1> [CMake] -- Found external ninja('1.11.0').
1> [CMake] -- Getting CMake variables for x86-windows
1> [CMake] -- Using cached msys2-automake-wrapper-20221207-2-any.pkg.tar.zst.
1> [CMake] -- Using cached msys2-bash-5.2.026-1-x86_64.pkg.tar.zst.
1> [CMake] -- Using cached msys2-coreutils-8.32-5-x86_64.pkg.tar.zst.
1> [CMake] -- Using cached msys2-file-5.45-1-x86_64.pkg.tar.zst.
1> [CMake] -- Using cached msys2-gawk-5.3.0-1-x86_64.pkg.tar.zst.
1> [CMake] -- Using cached msys2-grep-1
3.0-6-x86_64.pkg.tar.zst.2.2.0-1-any.pkg.tar.zst.1> [CMake] -- Using cached msys2-gzip-1.13-1-x86_64.pkg.tar.zst.
1> [CMake] -- Using cached msys2-diffutils-3.10-1-x86_64.pkg.tar.zst.
1> [CMake] -- Using cached msys2-make-4.4.1-1-x86_64.pkg.tar.zst.
1> [CMake] -- Using cached msys2-pkgconf-2.1.0-1-x86_64.pkg.tar.zst.
1> [CMake] -- Using cached msys2-sed-4.9-1-x86_64.pkg.tar.zst.
1> [CMake] -- Using cached msys2-msys2-runtime-3.4.10-4-x86_64.pkg.tar.zst.
1> [CMake] -- Using cached msys2-automake1.16-1.16.5-1-any.pkg.tar.zst.
1> [CMake] -- Using cached msys2-libiconv-1.17-1-x86_64.pkg.tar.zst.
1> [CMake] -- Using cached msys2-libintl-0.22.4-1-x86_64.pkg.tar.zst.
1> [CMake] -- Using cached msys2-gmp-6.3.0-1-x86_64.pkg.tar.zst.
1> [CMake] -- Using cached msys2-gcc-libs-13.2.0-2-x86_64.pkg.tar.zst.
1> [CMake] -- Using cached msys2-libbz2-1.0.8-4-x86_64.pkg.tar.zst.
1> [CMake] -- Using cached msys2-liblzma-5.4.6-2-x86_64.pkg.tar.zst.
1> [CMake] -- Using cached msys2-libzstd-1.5.5-1-x86_64.pkg.tar.zst.
1> [CMake] -- Using cached msys2-zlib-1.3.1-1-x86_64.pkg.tar.zst.
1> [CMake] -- Using cached msys2-libreadline-8.2.010-1-x86_64.pkg.tar.zst.
1> [CMake] -- Using cached msys2-mpfr-4.2.1-1-x86_64.pkg.tar.zst.
1> [CMake] -- Using cached msys2-libpcre-8.45-4-x86_64.pkg.tar.zst.
1> [CMake] -- Using cached msys2-perl-5.38.2-1-x86_64.pkg.tar.zst.
1> [CMake] -- Using cached msys2-ncurses-6.4-2-x86_64.pkg.tar.zst.
1> [CMake] -- Using cached msys2-libxcrypt-4.4.36-1-x86_64.pkg.tar.zst.
1> [CMake] -- Using msys root at C:/Users/ningh/AppData/Local/vcpkg/downloads/tools/msys2/1cbe5ced812f0102
1> [CMake] CMake Warning at scripts/cmake/vcpkg_execute_required_process.cmake:9 (message):
1> [CMake] vcpkg_execute_required_process was passed extra arguments:
1> [CMake] OUTPUT_STRIP_TRAILING_WHITESPACE
1> [CMake] Call Stack (most recent call first):
1> [CMake] C:/Users/ningh/AppData/Local/vcpkg/registries/git-trees/8bf6bad9b522d47e259a13d9033a825a6abd41a9/portfile.cmake:155 (vcpkg_execute_required_process)
1> [CMake] scripts/ports.cmake:175 (include)
1> [CMake]
1> [CMake]
1> [CMake] -- Using cached msys2-mingw-w64-x86_64-pkgconf-1
1> [CMake] -- Using cached msys2-msys2-runtime-3.4.10-4-x86_64.pkg.tar.zst.
1> [CMake] -- Using msys root at C:/Users/ningh/AppData/Local/vcpkg/downloads/tools/msys2/d33df895d441a36d
1> [CMake] CMake Warning (dev) at scripts/cmake/vcpkg_find_acquire_program.cmake:70 (cmake_parse_arguments):
1> [CMake] An empty string was given as the value after the INTERPRETER keyword.
1> [CMake] Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
1> [CMake] arg_INTERPRETER variable rather than setting it to an empty string.
1> [CMake] Call Stack (most recent call first):
1> [CMake] scripts/cmake/vcpkg_find_acquire_program.cmake:143 (z_vcpkg_find_acquire_program_find_internal)
1> [CMake] C:/Users/ningh/AppData/Local/vcpkg/registries/git-trees/8bf6bad9b522d47e259a13d9033a825a6abd41a9/portfile.cmake:695 (vcpkg_find_acquire_program)
1> [CMake] scripts/ports.cmake:175 (include)
1> [CMake] This warning is for project developers. Use -Wno-dev to suppress it.
1> [CMake]
1> [CMake] -- Building Options: --toolchain=msvc --enable-pic --disable-doc --enable-debug --enable-runtime-cpudetect --disable-autodetect --target-os=win32 --enable-w32threads --enable-d3d11va --enable-d3d12va --enable-dxva2 --enable-mediafoundation --disable-inline-asm --cc=cl.exe --host_cc=cl.exe --cxx=cl.exe --windres=rc.exe --ld=link.exe --ar='ar-lib lib.exe' --ranlib=: --enable-nonfree --enable-gpl --enable-version3 --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 --enable-avisynth --enable-bzlib --disable-libdav1d --enable-libfdk-aac --enable-libfontconfig --disable-libharfbuzz --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 --enable-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 --disable-static --enable-shared --extra-cflags=-DHAVE_UNISTD_H=0 --pkg-config="C:/Users/ningh/AppData/Local/vcpkg/downloads/tools/msys2/d33df895d441a36d/mingw64/bin/pkg-config.exe"
1> [CMake] -- Building Release Options: --enable-optimizations --extra-ldflags=-libpath:"D:/code/ffmpeg/CMakeProject1/build/vcpkg_installed/x86-windows/lib"
1> [CMake] -- Building ffmpeg for Release
1> [CMake] CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
1> [CMake] Command failed: C:/Users/ningh/AppData/Local/vcpkg/downloads/tools/msys2/1cbe5ced812f0102/usr/bin/bash.exe ./build.sh
1> [CMake] Working Directory: D:/code/ffmpeg/CMakeProject1/build/vcpkg_installed/vcpkg/blds/ffmpeg/x86-windows-rel
1> [CMake] Error code: 2
1> [CMake] See logs for more information:
1> [CMake] D:\code\ffmpeg\CMakeProject1\build\vcpkg_installed\vcpkg\blds\ffmpeg\build-x86-windows-rel-config.log
1> [CMake] D:\code\ffmpeg\CMakeProject1\build\vcpkg_installed\vcpkg\blds\ffmpeg\build-x86-windows-rel-out.log
1> [CMake] D:\code\ffmpeg\CMakeProject1\build\vcpkg_installed\vcpkg\blds\ffmpeg\build-x86-windows-rel-err.log
1> [CMake]
1> [CMake] Call Stack (most recent call first):
1> [CMake] C:/Users/ningh/AppData/Local/vcpkg/registries/git-trees/8bf6bad9b522d47e259a13d9033a825a6abd41a9/portfile.cmake:737 (vcpkg_execute_required_process)
1> [CMake] scripts/ports.cmake:175 (include)
1> [CMake] error: 生成 ffmpeg:x86-windows 失败,结果为: BUILD_FAILED
1> [CMake] 处理 ffmpeg:x86-windows 所用时间: 2.7 min
1> [CMake] 请确保使用具有“git pull” 和 “vcpkg update”的最新端口文件。
1> [CMake] 然后,在以下位置查看已知问题:
1> [CMake] https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+ffmpeg
1> [CMake] 可在以下位置提交新问题:
1> [CMake] https://github.com/microsoft/vcpkg/issues/new?title=[ffmpeg]+Build+error+on+x86-windows&body=Copy+issue+body+from+D%3A%2Fcode%2Fffmpeg%2FCMakeProject1%2Fbuild%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md
1> [CMake]
1> [CMake] -- Running vcpkg install - failed
1> [CMake] CMake Error at D:/code/ffmpeg/vcpkg/scripts/buildsystems/vcpkg.cmake:904 (message):
1> [CMake] vcpkg install failed. See logs for more information:
1> [CMake] D:\code\ffmpeg\CMakeProject1\build\vcpkg-manifest-install.log
1> [CMake] Call Stack (most recent call first):
1> [CMake] C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.29/Modules/CMakeDetermineSystem.cmake:146 (include)
1> [CMake] CMakeLists.txt:12 (project)
1> [CMake] -- Configuring incomplete, errors occurred!
1> “C:\WINDOWS\system32\cmd.exe”“/c "%SYSTEMROOT%\System32\chcp.com 65001 >NUL && "C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\2022\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\CMake\bin\cmake.exe" -G "Ninja" -DCMAKE_TOOLCHAIN_FILE:STRING="D:\code\ffmpeg\vcpkg/scripts/buildsystems/vcpkg.cmake" -DCMAKE_C_COMPILER:STRING="cl.exe" -DCMAKE_CXX_COMPILER:STRING="cl.exe" -DCMAKE_MAKE_PROGRAM="C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\2022\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\Ninja\ninja.exe" "D:\code\ffmpeg\CMakeProject1" 2>&1"”执行失败,出现错误:““C:\WINDOWS\system32\cmd.exe”“/c "%SYSTEMROOT%\System32\chcp.com 65001 >NUL && "C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\2022\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\CMake\bin\cmake.exe" -G "Ninja" -DCMAKE_TOOLCHAIN_FILE:STRING="D:\code\ffmpeg\vcpkg/scripts/buildsystems/vcpkg.cmake" -DCMAKE_C_COMPILER:STRING="cl.exe" -DCMAKE_CXX_COMPILER:STRING="cl.exe" -DCMAKE_MAKE_PROGRAM="C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\2022\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\Ninja\ninja.exe" "D:\code\ffmpeg\CMakeProject1" 2>&1"”已返回,并带有退出代码: 1”。
build-x86-windows-rel-config.log
build-x86-windows-rel-err.log
build-x86-windows-rel-out.log
Additional context
No response
The text was updated successfully, but these errors were encountered: