[Windows v8 build error]

982 views
Skip to first unread message

nagarjuna atluri

unread,
May 3, 2012, 3:31:03 AM5/3/12
to v8-u...@googlegroups.com
Hi,

With new v8[v8 version 3.10.7] i am getting below errors for windows build:-->
-------------------------------------------------------------------------------------------------------------------
1>------ Build started: Project: js2c, Configuration: Debug Win32 ------
2>------ Build started: Project: v8_base, Configuration: Debug Win32 ------
1>js2c, and also js2c_experimental
2>Compiling...
1>The system cannot find the path specified.
1>The system cannot find the path specified.
1>Project : error PRJ0019: A tool returned an error code from "js2c, and also js2c_experimental"
2>lithium-codegen-ia32.cc
1>Build log was saved at "file://h:\v8-Win-Build\v8_3.10.7\tools\gyp\Debug\obj\js2c\BuildLog.htm"
1>js2c - 1 error(s), 0 warning(s)
3>------ Build started: Project: v8_nosnapshot, Configuration: Debug Win32 ------
3>Compiling...
3>libraries.cc
3>c1xx : fatal error C1083: Cannot open source file: '..\..\build\debug\obj\global_intermediate\libraries.cc': No such file or directory
3>experimental-libraries.cc
3>c1xx : fatal error C1083: Cannot open source file: '..\..\build\debug\obj\global_intermediate\experimental-libraries.cc': No such file or directory
3>Build log was saved at "file://h:\v8-Win-Build\v8_3.10.7\tools\gyp\Debug\obj\v8_nosnapshot\BuildLog.htm"
3>v8_nosnapshot - 2 error(s), 0 warning(s)
2>..\..\src\ia32\lithium-codegen-ia32.cc(4526) : error C2220: warning treated as error - no 'object' file generated
2>..\..\src\ia32\lithium-codegen-ia32.cc(4526) : warning C4244: 'initializing' : conversion from 'int64_t' to 'int32_t', possible loss of data
2>..\..\src\ia32\lithium-codegen-ia32.cc(4527) : warning C4244: 'initializing' : conversion from 'int64_t' to 'int32_t', possible loss of data
2>Build log was saved at "file://h:\v8-Win-Build\v8_3.10.7\tools\gyp\Debug\obj\v8_base\BuildLog.htm"
2>v8_base - 1 error(s), 2 warning(s)
4>------ Build started: Project: mksnapshot, Configuration: Debug Win32 ------
4>Linking...
4>LINK : fatal error LNK1181: cannot open input file '..\..\build\debug\lib\v8_nosnapshot.lib'
4>Build log was saved at "file://h:\v8-Win-Build\v8_3.10.7\tools\gyp\Debug\obj\mksnapshot\BuildLog.htm"
4>mksnapshot - 1 error(s), 0 warning(s)
5>------ Build started: Project: v8_snapshot, Configuration: Debug Win32 ------
5>run_mksnapshot
5>The system cannot find the path specified.
5>Project : error PRJ0019: A tool returned an error code from "run_mksnapshot"
5>Build log was saved at "file://h:\v8-Win-Build\v8_3.10.7\tools\gyp\Debug\obj\v8_snapshot\BuildLog.htm"
5>v8_snapshot - 1 error(s), 0 warning(s)
6>------ Build started: Project: shell, Configuration: Debug Win32 ------
6>Linking...
6>LINK : fatal error LNK1181: cannot open input file '..\build\debug\lib\v8_snapshot.lib'
6>Build log was saved at "file://h:\v8-Win-Build\v8_3.10.7\samples\Debug\obj\shell\BuildLog.htm"
6>shell - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 6 failed, 1 up-to-date, 0 skipped ==========
-------------------------------------------------------------------------------------------------------------------
Can anyone help me out to solve this build errors


Jakob Kummerow

unread,
May 4, 2012, 8:12:16 AM5/4/12
to v8-u...@googlegroups.com
Make sure you have followed the instructions at http://code.google.com/p/v8/wiki/BuildingWithGYP, in particular the command:


You can use TortoiseSVN or similar if you don't have and don't want a command-line "svn" executable.

Neha Mishra

unread,
Jan 8, 2013, 5:51:48 AM1/8/13
to v8-u...@googlegroups.com
 
Hi,
 
I am getting the same error on Windows. I have the v8-master code. Have downloaded the cygwin and python_26.
I have kept python_26 and cygwin at v8-master\tools\third_party. I use commands as follows:
 
python build/gyp_v8
 
Solution file of VS2008 is created. now when i open and build, i get the copilation error same as below.
Could you resolve this? Please let me know.
 
Thanks,
Neha

Neha Mishra

unread,
Jan 8, 2013, 6:24:01 AM1/8/13
to v8-u...@googlegroups.com
 
Hi,
 
Found the solution.
cygwin and python_26 should be in the folder third_party and path should be v8-master\third_party (same level as build folder) for the compilation error to be resolved.
Also to have the solution file in 2010 use the following command:
 
build\gyp_v8 -G msvs_version=2010
 
Thanks,
Neha

Jakob Kummerow

unread,
Jan 8, 2013, 6:53:57 AM1/8/13
to v8-u...@googlegroups.com
On Tue, Jan 8, 2013 at 11:51 AM, Neha Mishra <nehatrip...@gmail.com> wrote:
 
Hi,
 
I am getting the same error on Windows. I have the v8-master code. Have downloaded the cygwin and python_26.
I have kept python_26 and cygwin at v8-master\tools\third_party.

Well, observe the difference between this, which is what you say you did:

C:\...\v8-master\> svn co http://src.chromium.org/svn/trunk/tools/third_party/python_26@89111 tools/third_party/python_26

and this, which is what the instructions at http://code.google.com/p/v8/wiki/BuildingWithGYP tell you to do:

C:\...\v8-master\> svn co http://src.chromium.org/svn/trunk/tools/third_party/python_26@89111 third_party/python_26

one of them works, the other doesn't. (Same for cygwin.)

Neha

unread,
Jan 9, 2013, 12:04:37 AM1/9/13
to v8-u...@googlegroups.com
 
Yes exactly!
 
C:\...\v8-master\> svn co http://src.chromium.org/svn/trunk/tools/third_party/python_26@89111 third_party/python_26
would work!
But if you put python_26 and cygwin in tools/thirdparty, the code would not compile.
Reply all
Reply to author
Forward
0 new messages