Hello Everyone,
can somebody help me please?
i want to checkout chomium on windows:
the fetch chromium works properly, but wenn i run gn gen out/Default i receive an error.
Traceback (most recent call last):
File "D:/src/depot_tools/src/build/vs_toolchain.py", line 577, in <module>
sys.exit(main())
File "D:/src/depot_tools/src/build/vs_toolchain.py", line 573, in main
return commands[sys.argv[1]](*sys.argv[2:])
File "D:/src/depot_tools/src/build/vs_toolchain.py", line 550, in GetToolchainDir
runtime_dll_dirs = SetEnvironmentAndGetRuntimeDllDirs()
File "D:/src/depot_tools/src/build/vs_toolchain.py", line 93, in SetEnvironmentAndGetRuntimeDllDirs
os.environ['GYP_MSVS_OVERRIDE_PATH'] = DetectVisualStudioPath()
File "D:/src/depot_tools/src/build/vs_toolchain.py", line 184, in DetectVisualStudioPath
version_as_year = GetVisualStudioVersion()
File "D:/src/depot_tools/src/build/vs_toolchain.py", line 174, in GetVisualStudioVersion
' Supported versions are: %s.' % supported_versions_str)
Exception: No supported Visual Studio can be found. Supported versions are: 16.0 (2019), 15.0 (2017).
ERROR at //build/config/win/visual_studio_version.gni:27:7: Script returned non-zero exit code.
exec_script("../../vs_toolchain.py", [ "get_toolchain_dir" ], "scope")
^----------
Current dir: D:/src/depot_tools/src/out/Default/
Command: D:/src/depot_tools/bootstrap-3_8_0_chromium_8_bin/python/bin/python.exe D:/src/depot_tools/src/build/vs_toolchain.py get_toolchain_dir
Returned 1.
See //third_party/angle/gni/angle.gni:26:5: whence it was imported.
import("//build/config/win/visual_studio_version.gni")
^----------------------------------------------------
See //third_party/angle/src/tests/BUILD.gn:7:1: whence it was imported.
import("../../gni/angle.gni")
^---------------------------
See //BUILD.gn:190:7: which caused the file to be included.
"//third_party/angle/src/tests:angle_unittests",
^----------------------------------------------