我尝试下载 chromium 代码。我目前正在使用命令 $ gn gen out/Default 但它向我显示此错误:
C:\Users\sapir\Downloads\depot_tools\chromium\src>gn gen out/Default
Traceback (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
我需要做什么 ??
哆啦的时光机
相关分类