Does this http://blog.fftsys.com/tech/build-v8-windows-10 help?
Even though files are generated in the example using gyp, setting the environment variables properly for gn is important. Ensure you have latest update of Visual Studio 2015 and this variable on cmd is set, set DEPOT_TOOLS_WIN_TOOLCHAIN=0 set GYP_MSVS_VERSION=2015 Hope this helps, On Sunday, November 6, 2016 at 3:56:35 AM UTC-8, [email protected] wrote: > > I'm passing the simplest CMD command : gn args out.gn/foo > > > > > > *E:\v8_chrome\v8>gn args out.gn/foo <http://out.gn/foo>Waiting for editor > on "E:\v8_chrome\v8\out.gn <http://out.gn>\foo\args.gn > <http://args.gn>"...Generating files...Traceback (most recent call last): > File "E:/v8_chrome/v8/build/vs_toolchain.py", line 404, in <module> > sys.exit(main()) File "E:/v8_chrome/v8/build/vs_toolchain.py", line 400, > in main return commands[sys.argv[1]](*sys.argv[2:]) File > "E:/v8_chrome/v8/build/vs_toolchain.py", line 370, in GetToolchainDir > runtime_dll_dirs = SetEnvironmentAndGetRuntimeDllDirs() File > "E:/v8_chrome/v8/build/vs_toolchain.py", line 78, in > SetEnvironmentAndGetRuntimeDllDirs os.environ['GYP_MSVS_OVERRIDE_PATH'] > = DetectVisualStudioPath() File "E:/v8_chrome/v8/build/vs_toolchain.py", > line 154, in DetectVisualStudioPath ' not found.') % > (version_as_year))Exception: Visual Studio Version 2015 (from > GYP_MSVS_VERSION) not found.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: E:/v8_chrome/v8/out.gn/foo/ > <http://out.gn/foo/>Command: > E:/v8_chrome/depot_tools/python276_bin/python.exe -- > E:/v8_chrome/v8/build/vs_toolchain.py get_toolchain_dirReturned 1.See > //build/toolchain/win/BUILD.gn:8:1: whence it was > imported.import("//build/config/win/visual_studio_version.gni")^----------------------------------------------------See > > //BUILD.gn:392:1: which caused the file to be included.action("js2c") > {^---------------What is the problem? I'm really struggling through this > process.* > > -- -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
