我嘗試下載 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 回答

哆啦的時光機(jī)
TA貢獻(xiàn)1779條經(jīng)驗 獲得超6個贊
您尚未安裝Windows 的調(diào)試工具。從這條消息中可以清楚地看出
You must install Windows 10 SDK version 10.0.19041.0 including the "Debugging Tools for Windows"
因為GN
構(gòu)建系統(tǒng)在執(zhí)行命令時生成構(gòu)建文件時正在搜索這些文件gn gen out\YourBuildFolder
。您應(yīng)該安裝Debugging Tools for Windows
并且看起來您正在使用的 Chromium 版本需要 Windows 10 SDK 版本10.0.19041.0
。
添加回答
舉報
0/150
提交
取消