devenv build failed

658 views
Skip to first unread message

Holy Joe

unread,
Jun 23, 2012, 7:50:15 AM6/23/12
to v8-u...@googlegroups.com
Hi,

I used "Visual Studio Command Prompt (2010)" command prompt which has all the environment been set to build v8 but failed.
My steps is :
1) python build\gyp_v8 to generate all.sln and other .vcproject files.
2) devenv /upgrade build\all.sln to upgrade to the visual studio 2010 sln.
3) devenv /build Release build\all.sln.

the building log is the following:

Microsoft (R) Visual Studio Version 10.0.40219.1.
Copyright (C) Microsoft Corp. All rights reserved.
1>------ Build started: Project: js2c, Configuration: Release Win32 ------
2>------ Build started: Project: d8_js2c, Configuration: Release Win32 ------
3>------ Build started: Project: resources, Configuration: Release Win32 ------
1>Build started 6/23/2012 7:45:56 PM.
1>InitializeBuildStatus:
1>  Touching "e:\lab\v8\build\Release\obj\js2c\js2c.unsuccessfulbuild".
2>Build started 6/23/2012 7:45:56 PM.
2>InitializeBuildStatus:
2>  Touching "e:\lab\v8\build\Release\obj\d8_js2c\d8_js2c.unsuccessfulbuild".
1>CustomBuild:
1>  js2c, and also js2c_experimental
1>  The system cannot find the path specified.
1>  'bash' is not recognized as an internal or external command,
1>  operable program or batch file.
1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error MSB6006: "cmd.exe" exited with code 9009.
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:00.15
3>Build started 6/23/2012 7:45:56 PM.
2>CustomBuild:
2>  d8_js2c
2>  The system cannot find the path specified.
2>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error MSB6006: "cmd.exe" exited with code 1.
2>
2>Build FAILED.
2>
2>Time Elapsed 00:00:00.10
3>InitializeBuildStatus:
3>  Touching "e:\lab\v8\build\Release\obj\resources\resources.unsuccessfulbuild".
4>------ Build started: Project: v8_nosnapshot, Configuration: Release Win32 ------
4>Build started 6/23/2012 7:45:56 PM.
3>CustomBuild:
3>  js2c
3>  The system cannot find the path specified.
4>InitializeBuildStatus:
4>  Touching "e:\lab\v8\build\Release\obj\v8_nosnapshot\v8_nosnapshot.unsuccessfulbuild".
3>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error MSB6006: "cmd.exe" exited with code 1.
3>
3>Build FAILED.
3>
3>Time Elapsed 00:00:00.12
4>ClCompile:
4>  experimental-libraries.cc
4>  libraries.cc
4>c1xx : fatal error C1083: Cannot open source file: '../..\build\Release\obj\global_intermediate\experimental-libraries.cc': No such file or directory
4>c1xx : fatal error C1083: Cannot open source file: '../..\build\Release\obj\global_intermediate\libraries.cc': No such file or directory
4>
4>Build FAILED.
4>
4>Time Elapsed 00:00:00.23
5>------ Build started: Project: mksnapshot, Configuration: Release Win32 ------
5>Build started 6/23/2012 7:45:56 PM.
5>InitializeBuildStatus:
5>  Touching "e:\lab\v8\build\Release\obj\mksnapshot\mksnapshot.unsuccessfulbuild".
5>ClCompile:
5>  All outputs are up-to-date.
5>LINK : fatal error LNK1181: cannot open input file 'e:\lab\v8\build\Release\lib\v8_nosnapshot.lib'
5>
5>Build FAILED.
5>
5>Time Elapsed 00:00:00.24
6>------ Build started: Project: v8_snapshot, Configuration: Release Win32 ------
6>Build started 6/23/2012 7:45:56 PM.
6>InitializeBuildStatus:
6>  Touching "e:\lab\v8\build\Release\obj\v8_snapshot\v8_snapshot.unsuccessfulbuild".
6>CustomBuild:
6>  The system cannot find the path specified.
6>  run_mksnapshot
6>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error MSB6006: "cmd.exe" exited with code 1.
6>
6>Build FAILED.
6>
6>Time Elapsed 00:00:00.10
7>------ Build started: Project: lineprocessor, Configuration: Release Win32 ------
8>------ Build started: Project: shell, Configuration: Release Win32 ------
9>------ Build started: Project: process, Configuration: Release Win32 ------
10>------ Build started: Project: d8, Configuration: Release Win32 ------
8>Build started 6/23/2012 7:45:57 PM.
9>Build started 6/23/2012 7:45:57 PM.
7>Build started 6/23/2012 7:45:57 PM.
10>Build started 6/23/2012 7:45:57 PM.
9>InitializeBuildStatus:
9>  Touching "e:\lab\v8\build\Release\obj\process\process.unsuccessfulbuild".
8>InitializeBuildStatus:
8>  Touching "e:\lab\v8\build\Release\obj\shell\shell.unsuccessfulbuild".
7>InitializeBuildStatus:
7>  Touching "e:\lab\v8\build\Release\obj\lineprocessor\lineprocessor.unsuccessfulbuild".
8>ClCompile:
8>  All outputs are up-to-date.
9>ClCompile:
9>  All outputs are up-to-date.
7>ClCompile:
7>  All outputs are up-to-date.
10>InitializeBuildStatus:
10>  Touching "e:\lab\v8\build\Release\obj\d8\d8.unsuccessfulbuild".
8>LINK : fatal error LNK1181: cannot open input file 'e:\lab\v8\build\Release\lib\v8_snapshot.lib'
7>LINK : fatal error LNK1181: cannot open input file 'e:\lab\v8\build\Release\lib\v8_snapshot.lib'
9>LINK : fatal error LNK1181: cannot open input file 'e:\lab\v8\build\Release\lib\v8_snapshot.lib'
7>
7>Build FAILED.
7>
7>Time Elapsed 00:00:00.32
10>ClCompile:
8>
8>Build FAILED.
8>
8>Time Elapsed 00:00:00.34
10>  d8-js.cc
11>------ Build started: Project: cctest, Configuration: Release Win32 ------
10>c1xx : fatal error C1083: Cannot open source file: '..\build\Release\obj\global_intermediate\d8-js.cc': No such file or directory
9>
9>Build FAILED.
9>
9>Time Elapsed 00:00:00.35
11>Build started 6/23/2012 7:45:57 PM.
10>
10>Build FAILED.
10>
10>Time Elapsed 00:00:00.35
11>InitializeBuildStatus:
11>  Touching "e:\lab\v8\build\Release\obj\cctest\cctest.unsuccessfulbuild".
11>ClCompile:
11>  resources.cc
11>c1xx : fatal error C1083: Cannot open source file: '../..\build\Release\obj\global_intermediate\resources.cc': No such file or directory
11>
11>Build FAILED.
11>
11>Time Elapsed 00:00:00.24
12>------ Skipped Build: Project: All ------
12> 
========== Build: 0 succeeded, 11 failed, 4 up-to-date, 1 skipped ==========

Jakob Kummerow

unread,
Jun 25, 2012, 4:46:50 AM6/25/12
to v8-u...@googlegroups.com
Did you checkout cygwin as http://code.google.com/p/v8/wiki/BuildingWithGYP#Prerequisites tells you to?

Instead of "devenv /upgrade", try generating VS2010 project files directly: "python build\gyp_v8 -G msvs_version=2010".
Reply all
Reply to author
Forward
0 new messages