If some third-party article or blog post has instructions that don't work,
you should probably contact the author of that post.

That said, building V8 on Windows is easy, just follow the instructions on
v8.dev. In short: get depot_tools and put them in the path; fetch v8; cd v8;
gclient sync; gn gen out\my_dir and adapt build parameters as desired; ninja
-C out\my_dir d8

In other news, I can confirm that gm.py currently doesn't work on Windows.
I'll fix it. That'll make the last two steps (gn gen + ninja -C) even more
convenient.


On Fri, Nov 30, 2018 at 5:42 AM Osman Zakir <osmanzak...@gmail.com> wrote:

> I tried to generate project files to build V8 by following the
> instructions in this blog post on Medium:
> https://medium.com/dailyjs/how-to-build-v8-on-windows-and-not-go-mad-6347c69aacd4
> .  When I ran the command python tools/dev/v8gen.py x64.release as
> documented there, I got this error:
>
>> Hint: You can raise verbosity (-vv) to see the output of failed commands.
>> Traceback (most recent call last):
>>   File "tools/dev/v8gen.py", line 304, in <module>
>>     sys.exit(gen.main())
>>   File "tools/dev/v8gen.py", line 298, in main
>>     return self._options.func()
>>   File "tools/dev/v8gen.py", line 166, in cmd_gen
>>     gn_outdir,
>>   File "tools/dev/v8gen.py", line 208, in _call_cmd
>>     stderr=subprocess.STDOUT,
>>   File
>> "C:\v8\depot_tools\win_tools-2_7_6_bin\python\bin\lib\subprocess.py", line
>> 573, in check_output
>>     raise CalledProcessError(retcode, cmd, output=output)
>> subprocess.CalledProcessError: Command
>> '['C:\\v8\\depot_tools\\win_tools-2_7_6_bin\\python\\bin\\python.exe',
>> '-u', 'tools\\mb\\mb.py', 'gen', '-f', 'infra\\mb\\mb_config.pyl', '-m',
>> 'developer_default', '-b', 'x64.release', 'out.gn/x64.release']'
>> returned non-zero exit status 1
>>
>
> I need some help here.  Thanks in advance for any replies and help.  I'm
> using Windows 10 Home, with both Python 2.7 and Python 3.7.  The install of
> the former is placed higher and then I have the depot_tools higher than
> that (in the PATH variable).
>
> --
> --
> v8-users mailing list
> v8-users@googlegroups.com
> http://groups.google.com/group/v8-users
> ---
> You received this message because you are subscribed to the Google Groups
> "v8-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to v8-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to