Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Error Building V8 in Visual Studio 2008 Version 9
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
masquerade  
View profile  
 More options Jun 19 2010, 8:42 am
From: masquerade <msqwe...@yahoo.com>
Date: Sat, 19 Jun 2010 05:42:46 -0700 (PDT)
Local: Sat, Jun 19 2010 8:42 am
Subject: Error Building V8 in Visual Studio 2008 Version 9
I checked out the latest version of v8 source and the bundled vc
project files (which should be for VS 2005), opened the tools
\visual_studio\v8.sln and allowed it to auto convert to VS 2008, and
rebuilt the solution.  But, ops, I got a bunch of errors:

Warning 1 warning LNK4221: no public symbols found; archive member
will be inaccessible regexp-macro-assembler-irregexp.obj v8_base
Warning 2 warning LNK4221: no public symbols found; archive member
will be inaccessible property.obj v8_base
Error 3 Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'.
Project v8
Warning 4 warning LNK4224: /OPT:NOWIN98 is no longer supported;
ignored v8_mksnapshot v8_mksnapshot
Error 5 fatal error LNK1181: cannot open input file '.\release\lib
\v8.lib' v8_mksnapshot v8_mksnapshot
Error 6 error PRJ0019: A tool returned an error code from "Building
snapshot..." v8_snapshot_cc v8_snapshot_cc
Error 7 fatal error C1083: Cannot open source file: '.\Release\obj
\v8\DerivedSources\natives-empty.cc': No such file or directory c1xx
v8_snapshot
Error 8 fatal error C1083: Cannot open source file: '.\Release\obj
\v8_snapshot_cc\DerivedSources\snapshot.cc': No such file or directory
c1xx v8_snapshot
Error 9 Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'.
Project d8
Warning 10 warning LNK4224: /OPT:NOWIN98 is no longer supported;
ignored v8_shell_sample v8_shell_sample
Error 11 fatal error LNK1181: cannot open input file '.\release\lib
\v8_snapshot.lib' v8_shell_sample v8_shell_sample
Warning 12 warning LNK4224: /OPT:NOWIN98 is no longer supported;
ignored v8_process_sample v8_process_sample
Error 13 fatal error LNK1181: cannot open input file '.\release\lib
\v8_snapshot.lib' v8_process_sample v8_process_sample
Warning 14 warning LNK4224: /OPT:NOWIN98 is no longer supported;
ignored v8_cctest v8_cctest
Error 15 fatal error LNK1181: cannot open input file '.\release\lib
\v8_snapshot.lib' v8_cctest v8_cctest

Both debug and release and gave the same errors.

I noticed someone else have encountered exactly the same errors before
but there wasnt any follow up and I assume there should be a simple
solution to it:

http://groups.google.com/group/v8-users/browse_thread/thread/232c1b7b...

I also tried to rebuild each individual project one by one:

First, after rebuilding v8_base (the highlighted startup project), all
the .cc files were recompiled successfully but these warning message
appeared at the end.

1>regexp-macro-assembler-irregexp.obj : warning LNK4221: no public
symbols found; archive member will be inaccessible
1>property.obj : warning LNK4221: no public symbols found; archive
member will be inaccessible
1>Build log was saved at "file://D:\v8-read\tools\visual_studio\Release
\obj\v8_base\BuildLog.htm"
1>v8_base - 0 error(s), 2 warning(s)
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========

Second, I tried rebuilding v8 project, but got these error/warning
messages:

Warning 1 warning LNK4221: no public symbols found; archive member
will be inaccessible regexp-macro-assembler-irregexp.obj v8_base
Warning 2 warning LNK4221: no public symbols found; archive member
will be inaccessible property.obj v8_base
Error 3 Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'.
Project v8

The last one about cmd.exe seems mysterious to me and looks like the
critical issue.

What could it be ?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
masquerade  
View profile  
 More options Jun 19 2010, 8:53 am
From: masquerade <msqwe...@yahoo.com>
Date: Sat, 19 Jun 2010 05:53:21 -0700 (PDT)
Local: Sat, Jun 19 2010 8:53 am
Subject: Re: Error Building V8 in Visual Studio 2008 Version 9
Also the output window is complaining about python.exe not recognised
as a command.  So how come Visual Studio Build requires Python?
Anyway, I got python installed in c:\python26 and was able to use
command line cl.exe to built the v8.lib.  Is there any python related
setup to do in order to build the files in Visual Studio?

2>------ Rebuild All started: Project: v8, Configuration: Release
Win32 ------
2>Deleting intermediate and output files for project 'v8',
configuration 'Release|Win32'
2>Processing js files...
2>'python.exe' is not recognized as an internal or external command,
2>operable program or batch file.
2>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS
\system32\cmd.exe'.
2>Build log was saved at "file://D:\v8-read\tools\visual_studio\Release
\obj\v8\BuildLog.htm"
2>v8 - 1 error(s), 0 warning(s)
========== Rebuild All: 1 succeeded, 1 failed, 0 skipped ==========

On Jun 19, 8:42 pm, masquerade <msqwe...@yahoo.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rico Wind  
View profile  
 More options Jun 21 2010, 2:45 am
From: Rico Wind <ri...@chromium.org>
Date: Mon, 21 Jun 2010 08:45:52 +0200
Local: Mon, Jun 21 2010 2:45 am
Subject: Re: [v8-users] Re: Error Building V8 in Visual Studio 2008 Version 9
Hi,

Did you follow the steps given here:
http://code.google.com/p/v8/wiki/BuildingOnWindows
Especially, did you set the path as specified in the first paragraph?
(in  My Computer->Properties->Advanced->Environment Variables)

This should solve your python problem.

Cheers,
Rico


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »