I'm following The Chromium Projects to build chromium browser on Windows. When I go to Run post-sync hooks step and run
gclient runhooks
The following errors show,
________ running 'D:\Chromium\depot_tools\depot_tools\python276_bin\python.exe src/build/landmines.py' in 'D:\Chromium\chromium'
Traceback (most recent call last):
File "src/build/landmines.py", line 147, in <module>
sys.exit(main())
File "src/build/landmines.py", line 134, in main
gyp_environment.SetEnvironment()
File "D:\Chromium\chromium\src\build\gyp_environment.py", line 33, in SetEnvironment
vs_toolchain.SetEnvironmentAndGetRuntimeDllDirs()
File "D:\Chromium\chromium\src\build\vs_toolchain.py", line 73, in SetEnvironmentAndGetRuntimeDllDirs
os.environ['GYP_MSVS_OVERRIDE_PATH'] = DetectVisualStudioPath()
File "D:\Chromium\chromium\src\build\vs_toolchain.py", line 139, in DetectVisualStudioPath
' not found.') % (version_as_year))
Exception: Visual Studio Version 2013 (from GYP_MSVS_VERSION) not found.
Error: Command 'D:\\Chromium\\depot_tools\\depot_tools\\python276_bin\\python.exe src/build/landmines.py' returned non-zero exit status 1 in D:\Chromium\chromium
My visual studio version is 2015 and from the errors above, it seems vs 2013 is not found. Does anyone know how can I build with vs 2015? Thanks!
Cc:chromium-dev,Bruce
Bcc:chromium-discuss
VS2015 should soon (if not already) become the default compiler. At least you should be able to try it out by setting GYP_MSVS_VERSION=2015 and running "gclient runhooks".
--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss
D:\Chromium\chromium>gclient runhooks
________ running 'D:\Chromium\depot_tools\depot_tools\python276_bin\python.exe src/build/landmines.py' in 'D:\Chromium\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 147, in <module>
sys.exit(main())
File "src/build/landmines.py", line 134, in main
gyp_environment.SetEnvironment()
File "D:\Chromium\chromium\src\build\gyp_environment.py", line 33, in SetEnvironment
vs_toolchain.SetEnvironmentAndGetRuntimeDllDirs()
File "D:\Chromium\chromium\src\build\vs_toolchain.py", line 41, in SetEnvironmentAndGetRuntimeDllDirs
Update()
File "D:\Chromium\chromium\src\build\vs_toolchain.py", line 320, in Update
subprocess.check_call(get_toolchain_args)
File "D:\Chromium\depot_tools\depot_tools\python276_bin\lib\subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['D:\\Chromium\\depot_tools\\depot_tools\\python276_bin\\python.exe', 'D:\\Chromium\\depot_tools\\depot_tools\\win_toolchain\\get_toolchain_if_necessary.py', '--output-json', 'D:\\Chromium\\chromium\\src\\build\\win_toolchain.json', '9ff97c632ae1fee0c98bcd53e71770eb3a0d8deb']' returned non-zero exit status 1
Error: Command 'D:\\Chromium\\depot_tools\\depot_tools\\python276_bin\\python.exe src/build/landmines.py' returned non-zero exit status 1 in D:\Chromium\chromium
Exactly! Thanks primiano! I used to set TOOLCHAIN = 0 in a previous session but forget to set it again in the current session. Now it works, many thanks to all!2016-02-01 19:09 GMT+08:00 Primiano Tucci <prim...@chromium.org>:Please DO follow the instructions in http://www.chromium.org/developers/how-tos/build-instructions-windows step by step.I have followed them few weeks ago on a personal (i.e. non-Google) machine and was able to build both with MSVS 2013 and MSVS2015 with no issues.It smells like you are missing the set DEPOT_TOOLS_WIN_TOOLCHAIN=0 or something else mentioned there.On Mon, Feb 1, 2016 at 10:59 AM Anton Vayvod <ava...@chromium.org> wrote:Perhaps it's still not working yet.I just referred to https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/6Wd16Iqhy9YYou can find the tracking bug for the work enabling building with VS 2015 there.
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe: