I found no problems building using SCons. I have Visual Studio 2008, Python 2.7 installed in C:\Python27 and Scons 2.0.1 on top of that.
>From a "Visual Studio 2008 Command Prompt" I issue: > set PATH=C:\Python27;C:\Python27\Scripts;%PATH% > scons sample=shell env="INCLUDE:%INCLUDE%,LIB:%LIB%,PATH:%PATH%" > shell V8 version 3.3.3 (candidate) > 1+1 2 Please provide some more information on the failing compile. Regards, Søren On Thu, Apr 28, 2011 at 15:34, Alejandro F. Reimondo < [email protected]> wrote: > Add the experimental-libraries.cc file (in target dir) > to v8 and v8_snapshot projects. > That makes a success on my side. > I attached an image with my project tree. > Ale. > > > ----- Original Message ----- > *From:* [email protected] > *To:* [email protected] > *Sent:* Thursday, April 28, 2011 5:22 AM > *Subject:* Re: Re: [v8-users] js2c.py throws error message > > After modification as Peter suggested, my js2c.cmd includes the following > items, > ---------------------------begin------------------------------ > @echo off > set SOURCE_DIR=%1 > set TARGET_DIR=%2 > set PYTHON="..\..\..\third_party\python_24\python.exe" > if not exist %PYTHON% set PYTHON=python.exe > %PYTHON% ..\js2c.py %TARGET_DIR%\experimental-libraries.cc EXPERIMENTAL > %SOURCE_DIR%\macros.py %SOURCE_DIR%\proxy.js > ---------------------------end---------------------------- > > However, I even got more errors , as follows, > 3>mksnapshot.obj : error LNK2019: unresolved external symbol "public: > static int __cdecl > v8::internal::NativesCollection<0>::GetBuiltinsCount(void)" > (?GetBuiltinsCount@?$NativesCollection@$0A@@internal@v8@@SAHXZ) referenced > in function _main > 3>v8.lib(serialize.obj) : error LNK2001: unresolved external symbol > "public: static int __cdecl > v8::internal::NativesCollection<0>::GetBuiltinsCount(void)" > (?GetBuiltinsCount@?$NativesCollection@$0A@@internal@v8@@SAHXZ) > 3>v8.lib(heap.obj) : error LNK2001: unresolved external symbol "public: > static int __cdecl > v8::internal::NativesCollection<0>::GetBuiltinsCount(void)" > (?GetBuiltinsCount@?$NativesCollection@$0A@@internal@v8@@SAHXZ) > 3>v8.lib(bootstrapper.obj) : error LNK2001: unresolved external symbol > "public: static int __cdecl > v8::internal::NativesCollection<0>::GetBuiltinsCount(void)" > (?GetBuiltinsCount@?$NativesCollection@$0A@@internal@v8@@SAHXZ) > 3>v8.lib(lithium-gap-resolver-ia32.obj) : error LNK2001: unresolved > external symbol "private: static enum v8::internal::Thread::LocalStorageKey > v8::internal::Isolate::isolate_key_" (?isolate_key_@Isolate@internal@v8 > @@0W4LocalStorageKey@Thread@23@A) > ... > > thanks > > > > On Apr 28, 2011 2:41am, "Alejandro F. Reimondo" < > [email protected]> wrote: > > Thank you Peter for the information. > > -- > 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 > -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
