[v8-users] Re: Building v8 with Visual Studio 2015 on Windows 10

2017-03-30 Thread Gautham B A
Yes. They're separate commands. Thanks, I didn't notice that.

On Friday, 31 March 2017 04:09:44 UTC+5:30, james@lafargeholcim.com 
wrote:
>
> This is not correct: fetch v8git checkout branch-heads/4.8
>
> Since one cannot fetch "v8git" I assume you meant two separate lines there:
>
> fetch v8
> git checkout branch-heads/4.8
>
> ;)
>
> On Sunday, March 5, 2017 at 12:56:15 AM UTC-5, Gautham B A wrote:
>>
>> Hi all,
>>
>> I was able to build v8 (branch 4.8) on Windows 10 using Visual Studio 
>> 2015. I followed these instructions -
>> set DEPOT_TOOLS_WIN_TOOLCHAIN=0
>> set GYP_MSVS_VERSION=2015
>> set GYP_GENERATORS=msvs
>> wget https://storage.googleapis.com/chrome-infra/depot_tools.zip 
>> -OutFile depot_tools.zip
>> Expand-Archive .\depot_tools.zip -dest depot_tools
>>
>> Set the path for depot tools using Control panel
>> fetch v8git checkout branch-heads/4.8
>> gclient sync
>> python.exe build\gyp_v8 -Dtarget_arch=x64
>>
>> After generating the build files, it actually shows some warning messages 
>> asking us to manually delete some directories -
>> del v8\base\trace_event\common
>> del v8\third_party\instrumented_libraries
>> del v8\test\test262\harness
>> del v8\third_party\markupsafe
>> del v8\third_party\jinja2
>> del v8\test\wasm-js
>>
>>>
 Now open v8\build\all.sln in Visual Studio 2015 and build the whole 
>> solution. 
>>
>>
>> On Tuesday, 20 September 2016 13:34:15 UTC+5:30, Pieter wrote:
>>
>>>
>>> I have been struggling for a couple of days to get the correct 
>>> incantations to get a build of v8 working on windows 10 with visual studio 
>>> 2015.
>>>
>>> In short the steps that i've been attempting are as follows
>>>
>>>- set DEPOT_TOOLS_WIN_TOOLCHAIN=0
>>>- set GYP_MSVS_VERSION=2015
>>>- set GYP_GENERATORS=msvs-ninja,ninja
>>>- Get depot tools from: wget 
>>>https://storage.googleapis.com/chrome-infra/depot_tools.zip -OutFile 
>>>depot_tools.zip
>>>- Expand Archive: Expand-Archive .\depot_tools.zip -dest depot_tools
>>>- Set the path for depot tools
>>>- Checkout the v8 source code by running: fetch v8
>>>- Change directory to /v8 and checkout 5.2: git checkout 
>>>branch-heads/5.2
>>>- Run sync so that all the dependencies are up to date with the 
>>>branch: gclient sync
>>>- To generate the project files run: third_party/python_26/python.exe 
>>>build\gyp_v8 -Dtarget_arch=x64
>>>- To build: : "c:\Program Files (x86)\Microsoft Visual Studio 
>>>14.0\Common7\IDE\devenv.com" /build Release gypfiles\All.sln
>>>
>>> I am running into all kinds of issues related with the build and after 
>>> running the last command it ends with
>>>
>>> The first occurrence of the error is 
>>>
>>> 1>  ninja -t msvc -e environment.x64 -- "C:\Program Files 
>>> (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\cl.exe" /nologo /
>>> showIncludes /FC @obj\third_party\icu\source\i18n\icui18n.collationkeys.
>>> obj.rsp /c..\..\third_party\icu\source\i18n\collationkeys.cpp /Foobj\
>>> third_party\icu\source\i18n\icui18n.collationkeys.obj /Fdobj\third_party
>>> \icu\icui18n.cc.pdb
>>> 1>C:\source\v8build\v8\third_party\icu\source\i18n\collationkeys.cpp : 
>>> fatal 
>>> error C1083: Cannot open compiler generated file: 
>>> 'C:\source\v8build\v8\out\Release_x64\obj\third_party\icu\source\i18n\icui18n.collationkeys.obj'
>>> : Permission denied
>>>
>>> I am not sure why i'm getting a permission denied.
>>>
>>> the build then ends with
>>>
>>> 40>  ninja: build stopped: subcommand failed.
>>> 40>ninja : warning : premature end of file; recovering
>>> 40>C:\source\v8build\v8\test\fuzzer\wasm_fuzzer.vcxproj(334,5): error 
>>> MSB3073: The command "call ninja.exe -C ..\..\out\Release_x64\ 
>>> wasm_fuzzer" exited with code 1.
>>>
>>>  ..\..\out\Release_x64\ wasm_fuzzer" exited with code 1.
>>> == Build: 20 succeeded, 21 failed, 0 up-to-date, 0 skipped 
>>> ==
>>>
>>>
>>> Any help would be much appreciated
>>>
>>

-- 
-- 
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] Re: Building v8 with Visual Studio 2015 on Windows 10

2017-03-30 Thread james.wilkins via v8-users
This is not correct: fetch v8git checkout branch-heads/4.8

Since one cannot fetch "v8git" I assume you meant two separate lines there:

fetch v8
git checkout branch-heads/4.8

;)

On Sunday, March 5, 2017 at 12:56:15 AM UTC-5, Gautham B A wrote:
>
> Hi all,
>
> I was able to build v8 (branch 4.8) on Windows 10 using Visual Studio 
> 2015. I followed these instructions -
> set DEPOT_TOOLS_WIN_TOOLCHAIN=0
> set GYP_MSVS_VERSION=2015
> set GYP_GENERATORS=msvs
> wget https://storage.googleapis.com/chrome-infra/depot_tools.zip -OutFile 
> depot_tools.zip
> Expand-Archive .\depot_tools.zip -dest depot_tools
>
> Set the path for depot tools using Control panel
> fetch v8git checkout branch-heads/4.8
> gclient sync
> python.exe build\gyp_v8 -Dtarget_arch=x64
>
> After generating the build files, it actually shows some warning messages 
> asking us to manually delete some directories -
> del v8\base\trace_event\common
> del v8\third_party\instrumented_libraries
> del v8\test\test262\harness
> del v8\third_party\markupsafe
> del v8\third_party\jinja2
> del v8\test\wasm-js
>
>>
>>> Now open v8\build\all.sln in Visual Studio 2015 and build the whole 
> solution. 
>
>
> On Tuesday, 20 September 2016 13:34:15 UTC+5:30, Pieter wrote:
>
>>
>> I have been struggling for a couple of days to get the correct 
>> incantations to get a build of v8 working on windows 10 with visual studio 
>> 2015.
>>
>> In short the steps that i've been attempting are as follows
>>
>>- set DEPOT_TOOLS_WIN_TOOLCHAIN=0
>>- set GYP_MSVS_VERSION=2015
>>- set GYP_GENERATORS=msvs-ninja,ninja
>>- Get depot tools from: wget 
>>https://storage.googleapis.com/chrome-infra/depot_tools.zip -OutFile 
>>depot_tools.zip
>>- Expand Archive: Expand-Archive .\depot_tools.zip -dest depot_tools
>>- Set the path for depot tools
>>- Checkout the v8 source code by running: fetch v8
>>- Change directory to /v8 and checkout 5.2: git checkout 
>>branch-heads/5.2
>>- Run sync so that all the dependencies are up to date with the 
>>branch: gclient sync
>>- To generate the project files run: third_party/python_26/python.exe 
>>build\gyp_v8 -Dtarget_arch=x64
>>- To build: : "c:\Program Files (x86)\Microsoft Visual Studio 
>>14.0\Common7\IDE\devenv.com" /build Release gypfiles\All.sln
>>
>> I am running into all kinds of issues related with the build and after 
>> running the last command it ends with
>>
>> The first occurrence of the error is 
>>
>> 1>  ninja -t msvc -e environment.x64 -- "C:\Program Files 
>> (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\cl.exe" /nologo /
>> showIncludes /FC @obj\third_party\icu\source\i18n\icui18n.collationkeys.
>> obj.rsp /c..\..\third_party\icu\source\i18n\collationkeys.cpp /Foobj\
>> third_party\icu\source\i18n\icui18n.collationkeys.obj /Fdobj\third_party\
>> icu\icui18n.cc.pdb
>> 1>C:\source\v8build\v8\third_party\icu\source\i18n\collationkeys.cpp : fatal 
>> error C1083: Cannot open compiler generated file: 
>> 'C:\source\v8build\v8\out\Release_x64\obj\third_party\icu\source\i18n\icui18n.collationkeys.obj'
>> : Permission denied
>>
>> I am not sure why i'm getting a permission denied.
>>
>> the build then ends with
>>
>> 40>  ninja: build stopped: subcommand failed.
>> 40>ninja : warning : premature end of file; recovering
>> 40>C:\source\v8build\v8\test\fuzzer\wasm_fuzzer.vcxproj(334,5): error 
>> MSB3073: The command "call ninja.exe -C ..\..\out\Release_x64\ 
>> wasm_fuzzer" exited with code 1.
>>
>>  ..\..\out\Release_x64\ wasm_fuzzer" exited with code 1.
>> == Build: 20 succeeded, 21 failed, 0 up-to-date, 0 skipped 
>> ==
>>
>>
>> Any help would be much appreciated
>>
>

-- 
-- 
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.


Re: [v8-users] ICU problem

2017-03-30 Thread Nicolò Cavalleri
Actually the problem was that I forgot to use circular dependencies, as 
it's almost the first time I am programming seriously in Linux (in Windows 
this is done automatically). Thank you for the support anyway!

-- 
-- 
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.