您必须安装 Windows 10 SDK 版本 10.0.19041.0,包括 "Debugging Tools for Windows" 功能。(Chromium)

You must installWindows 10 SDK version 10.0.19041.0 including the "Debugging Tools for Windows" feature.(Chromium)

我几乎已经从我的 windows 桌面完成构建 Chromium,但我卡在了最后一步,运行 gn gen out/Default。我已经检查了我的 visual studio 安装程序并且 Windows 10 SDK 版本 10.0.19041.0 已经安装。我不知道该怎么办。整个输出如下:

C:\chromium\src>gn gen out/Default
Traceback (most recent call last):
  File "C:/chromium/src/build/vs_toolchain.py", line 573, in <module>
    sys.exit(main())
  File "C:/chromium/src/build/vs_toolchain.py", line 569, in main
    return commands[sys.argv[1]](*sys.argv[2:])
  File "C:/chromium/src/build/vs_toolchain.py", line 400, in CopyDlls
    _CopyDebugger(target_dir, target_cpu)
  File "C:/chromium/src/build/vs_toolchain.py", line 433, in _CopyDebugger
    raise Exception('%s not found in "%s"\r\nYou must install'
Exception: dbghelp.dll not found in "C:\Program Files (x86)\Windows Kits\Debuggers\x64\dbghelp.dll"
You must installWindows 10 SDK version 10.0.19041.0 including the "Debugging Tools for Windows" feature.
ERROR at //build/toolchain/win/BUILD.gn:54:3: Script returned non-zero exit code.
  exec_script("../../vs_toolchain.py",
  ^----------
Current dir: C:/chromium/src/out/Default/
Command: C:/src/depot_tools/bootstrap-3_8_0_chromium_8_bin/python3/bin/python3.exe C:/chromium/src/build/vs_toolchain.py copy_dlls C:/chromium/src/out/Default Debug x64
Returned 1.
See //BUILD.gn:66:1: which caused the file to be included.
group("gn_all") {

来自chromium docs

The SDK Debugging Tools must also be installed. If the Windows 10 SDK was installed via the Visual Studio installer, then they can be installed by going to: Control Panel → Programs → Programs and Features → Select the “Windows Software Development Kit” → Change → Change → Check “Debugging Tools For Windows” → Change. Or, you can download the standalone SDK installer and use it to install the Debugging Tools.