$ gn gen --ide=vs out\Default
Traceback (most recent call last):
File "C:/Chromium/src/build/vs_toolchain.py", line 493, in <module>
sys.exit(main())
File "C:/Chromium/src/build/vs_toolchain.py", line 489, in main
return commands[sys.argv[1]](*sys.argv[2:])
File "C:/Chromium/src/build/vs_toolchain.py", line 316, in CopyDlls
_CopyDebugger(target_dir, target_cpu)
File "C:/Chromium/src/build/vs_toolchain.py", line 347, in _CopyDebugger
' 10 SDK.' % (debug_file, full_path))
Exception: dbghelp.dll not found in "C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\dbghelp.dll"
You must install the "Debugging Tools for Windows" feature from the Windows 10 SDK.
ERROR at //build/toolchain/win/BUILD.gn:43:3: Script returned non-zero exit code.
exec_script("../../vs_toolchain.py",
^----------
Current dir: C:/Chromium/src/outDefault/
Command: C:/Chromium/depot_tools/win_tools-2_7_6_bin/python/bin/python.exe -- C:/Chromium/src/build/vs_toolchain.py copy_dlls C:/Chromium/src/outDefault Debug x64
Returned 1.
See //BUILD.gn:69:1: which caused the file to be included.
---------------------------------------------------------------
I have VS2017 fully installed with the latest Win10SDK - in fact, winsdk standalone installer refuses to run since it detects that all components are installed.
It seems the scripts search for the Win10 sdk at a non-vs2017-compatible location. Am I missing something? Perhaps this location can be controlled? (via an environment variable or otherwise?)
Thanks
-Ofek