为了账号安全,请及时绑定邮箱和手机立即绑定

我怎样才能解决这个下载铬问题

我怎样才能解决这个下载铬问题

守着星空守着你 2023-10-11 20:04:32
我尝试下载 chromium 代码。我目前正在使用命令 $ gn gen out/Default 但它向我显示此错误:C:\Users\sapir\Downloads\depot_tools\chromium\src>gn gen out/DefaultTraceback (most recent call last):  File "C:/Users/sapir/Downloads/depot_tools/chromium/src/build/vs_toolchain.py", line 577, in <module>    sys.exit(main())  File "C:/Users/sapir/Downloads/depot_tools/chromium/src/build/vs_toolchain.py", line 573, in main    return commands[sys.argv[1]](*sys.argv[2:])  File "C:/Users/sapir/Downloads/depot_tools/chromium/src/build/vs_toolchain.py", line 388, in CopyDlls    _CopyDebugger(target_dir, target_cpu)  File "C:/Users/sapir/Downloads/depot_tools/chromium/src/build/vs_toolchain.py", line 424, in _CopyDebugger    (debug_file, full_path))Exception: dbghelp.dll not found in "C:\Program Files (x86)\Windows Kits\10\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:49:3: Script returned non-zero exit code.  exec_script("../../vs_toolchain.py",  ^----------Current dir: C:/Users/sapir/Downloads/depot_tools/chromium/src/out/Default/Command: C:/Users/sapir/Downloads/depot_tools/bootstrap-3_8_0_chromium_8_bin/python/bin/python.exe C:/Users/sapir/Downloads/depot_tools/chromium/src/build/vs_toolchain.py copy_dlls C:/Users/sapir/Downloads/depot_tools/chromium/src/out/Default Debug x64我需要做什么 ??
查看完整描述

1 回答

?
哆啦的时光机

TA贡献1779条经验 获得超6个赞

您尚未安装Windows 的调试工具。从这条消息中可以清楚地看出

You must install Windows 10 SDK version 10.0.19041.0 including the "Debugging Tools for Windows"

因为GN构建系统在执行命令时生成构建文件时正在搜索这些文件gn gen out\YourBuildFolder。您应该安装Debugging Tools for Windows并且看起来您正在使用的 Chromium 版本需要 Windows 10 SDK 版本10.0.19041.0


查看完整回答
反对 回复 2023-10-11
  • 1 回答
  • 0 关注
  • 105 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信