Thanks for the reply. Alas, gclient runhooks does not work
I am not sure from which folder to run that command, but I have tried it in the src folder, chromium\src\
buildtools\win folder, and the chromium folder
Afterwards, I get the same message as before when I run
gn gen out/Default from within the src folder
Below, I have pasted what appears in the command prompt when I type in gclient runhooks.
C:\Users\Kevin\chromium\src>gclient runhooks
________ running 'C:\Users\Kevin\Downloads\depot_tools\win_tools-2_7_6_bin\pytho
n\bin\python.exe src/build/landmines.py' in 'C:\Users\Kevin\chromium'
Please follow the instructions at
https://www.chromium.org/developers/how-tos/build-instructions-windows
Traceback (most recent call last):
File "src/build/landmines.py", line 148, in <module>
sys.exit(main())
File "src/build/landmines.py", line 135, in main
gyp_environment.SetEnvironment()
File "C:\Users\Kevin\chromium\src\build\gyp_environment.py", line 30, in SetEn
vironment
vs_toolchain.SetEnvironmentAndGetRuntimeDllDirs()
File "C:\Users\Kevin\chromium\src\build\vs_toolchain.py", line 44, in SetEnvir
onmentAndGetRuntimeDllDirs
Update()
File "C:\Users\Kevin\chromium\src\build\vs_toolchain.py", line 405, in Update
subprocess.check_call(get_toolchain_args)
File "C:\Users\Kevin\Downloads\depot_tools\win_tools-2_7_6_bin\python\bin\lib\
subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['C:\\Users\\Kevin\\Downloads\\depot_too
ls\\win_tools-2_7_6_bin\\python\\bin\\python.exe', 'C:\\Users\\Kevin\\chromium\\
src\\third_party\\depot_tools\\win_toolchain\\get_toolchain_if_necessary.py', '-
-output-json', 'C:\\Users\\Kevin\\chromium\\src\\build\\win_toolchain.json', '9b
c7ccbf9f4bd50d4a3bd185e8ca94ff1618de0b']' returned non-zero exit status 1
Error: Command 'C:\\Users\\Kevin\\Downloads\\depot_tools\\win_tools-2_7_6_bin\\p
ython\\bin\\python.exe src/build/landmines.py' returned non-zero exit status 1 i
n C:\Users\Kevin\chromium