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

On Sat, Jun 19, 2010 at 2:53 PM, masquerade <[email protected]> wrote:
> 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 <[email protected]> wrote:
>> 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 ?
>
> --
> v8-users mailing list
> [email protected]
> http://groups.google.com/group/v8-users
>

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to