Build chromium in visual studio 2015 -
i'm following the chromium projects build chromium browser on windows. when go run post-sync hooks step , 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 2015 , errors above, seems vs 2013 not found. know how can build vs 2015? thanks!
updated (12/13/2016):
as states in chromium instruction, previous answer may not work more. please take care!
as of december 8, 2016 chromium requires visual studio 2015, 14393 windows sdk build.
previous:
solved problem following command
set gyp_msvs_version=2015
more details can tracked in chromium discuss
Comments
Post a Comment