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/232c1b7b83c1e799/8ebc381e726c18e2?hl=en&lnk=gst&q=visual+studio#8ebc381e726c18e2

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

Reply via email to