In my experience building v8 on windows, it's always worked fine building with scons once I've had it set up. I've never had much luck building it from visual studio, and just treated the included solution file as something useful to browse through the source, not something that was meant to build it with.
matt On Sat, Jul 10, 2010 at 9:19 PM, Ashley <[email protected]> wrote: > Hi all, > > I'm having a few problems building V8 under Windows with VS2010. I've > followed the steps on 'Building on Windows' from the Wiki, such as > setting up environment variables, installing Python and scons, etc. I > then opened v8_x64.sln from v8\tools\visual_studio and converted it in > VS2010. It builds, but emits warnings: > > 1>------ Rebuild All started: Project: v8_base, Configuration: Release > x64 ------ > ... > 1>regexp-macro-assembler-irregexp.obj : warning LNK4221: This object > file does not define any previously undefined public symbols, so it > will not be used by any link operation that consumes this library > 1>property.obj : warning LNK4221: This object file does not define any > previously undefined public symbols, so it will not be used by any > link operation that consumes this library > ... > 2>------ Rebuild All started: Project: v8, Configuration: Release x64 > ------ > ... > 2>v8_base.lib(property.obj) : warning LNK4221: This object file does > not define any previously undefined public symbols, so it will not be > used by any link operation that consumes this library > 2>v8_base.lib(regexp-macro-assembler-irregexp.obj) : warning LNK4221: > This object file does not define any previously undefined public > symbols, so it will not be used by any link operation that consumes > this library > ... > ========== Rebuild All: 2 succeeded, 0 failed, 0 skipped ========== > > I'm suspicious of these warnings, because although I get the .lib > files built OK, when I try to compile a project including v8.h and the > libs, I get the error: > >>v8_x64.lib(conversions.obj) : error LNK2001: unresolved external symbol "bool >>__cdecl v8::internal::DoubleToAscii(double,enum >>v8::internal::DtoaMode,int,class v8::internal::Vector<char>,int *,int *,int >>*)" >>(?doubletoas...@internal@v8@@ya_nnw4dtoam...@12@hv?$vec...@d@1...@peah22@Z) > > Any ideas on what's wrong here? > > Thanks for any help. > > -- > 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
