Hey, so I'm coming back to an old project of mine that I'm starting up again, and I'm trying to build V8 from scratch on the r9343 revision, and I'm getting some errors when trying to build. I'm using Visual Studio 2010 on Windows 7 x64, building as x86 using the following:
C:\path\to\v8> "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" x86
C:\path\to\v8> scons mode=debug library=shared env="PATH:%PATH%,LIB:%LIB%,INCLUDE:%INCLUDE%"
Creating library v8preparser_g.lib and object v8preparser_g.exp
conversions.obj : error LNK2019: unresolved external symbol "void __cdecl v8::Re
gisterExtension(class v8::Extension *)" (?RegisterExtension@v8@@YAXPAVExtension@
1@@Z) referenced in function "public: __thiscall v8::DeclareExtension::DeclareEx
tension(class v8::Extension *)" (??0DeclareExtension@v8@@QAE@PAVExtension@1@@Z)
preparser.obj : error LNK2001: unresolved external symbol "void __cdecl v8::Regi
sterExtension(class v8::Extension *)" (?RegisterExtension@v8@@YAXPAVExtension@1@
@Z)
conversions.obj : error LNK2019: unresolved external symbol "public: void __this
call v8::Isolate::Enter(void)" (?Enter@Isolate@v8@@QAEXXZ) referenced in functio
n "public: __thiscall v8::Isolate::Scope::Scope(class v8::Isolate *)" (??0Scope@
Isolate@v8@@QAE@PAV12@@Z)
preparser.obj : error LNK2001: unresolved external symbol "public: void __thisca
ll v8::Isolate::Enter(void)" (?Enter@Isolate@v8@@QAEXXZ)
conversions.obj : error LNK2019: unresolved external symbol "public: void __this
call v8::Isolate::Exit(void)" (?Exit@Isolate@v8@@QAEXXZ) referenced in function
"public: __thiscall v8::Isolate::Scope::~Scope(void)" (??1Scope@Isolate@v8@@QAE@
XZ)
preparser.obj : error LNK2001: unresolved external symbol "public: void __thisca
ll v8::Isolate::Exit(void)" (?Exit@Isolate@v8@@QAEXXZ)
conversions.obj : error LNK2019: unresolved external symbol "public: virtual __t
hiscall v8::StartupDataDecompressor::~StartupDataDecompressor(void)" (??1Startup
DataDecompressor@v8@@UAE@XZ) referenced in function "public: virtual void * __th
iscall v8::StartupDataDecompressor::`scalar deleting destructor'(unsigned int)"
(??_GStartupDataDecompressor@v8@@UAEPAXI@Z)
preparser.obj : error LNK2001: unresolved external symbol "public: virtual __thi
scall v8::StartupDataDecompressor::~StartupDataDecompressor(void)" (??1StartupDa
taDecompressor@v8@@UAE@XZ)
conversions.obj : error LNK2019: unresolved external symbol "public: __thiscall
v8::Unlocker::Unlocker(class v8::Isolate *)" (??0Unlocker@v8@@QAE@PAVIsolate@1@@
Z) referenced in function "public: void __thiscall v8::Unlocker::`default constr
uctor closure'(void)" (??_FUnlocker@v8@@QAEXXZ)
preparser.obj : error LNK2001: unresolved external symbol "public: __thiscall v8
::Unlocker::Unlocker(class v8::Isolate *)" (??0Unlocker@v8@@QAE@PAVIsolate@1@@Z)
conversions.obj : error LNK2019: unresolved external symbol "public: __thiscall
v8::Locker::Locker(class v8::Isolate *)" (??0Locker@v8@@QAE@PAVIsolate@1@@Z) ref
erenced in function "public: void __thiscall v8::Locker::`default constructor cl
osure'(void)" (??_FLocker@v8@@QAEXXZ)
preparser.obj : error LNK2001: unresolved external symbol "public: __thiscall v8
::Locker::Locker(class v8::Isolate *)" (??0Locker@v8@@QAE@PAVIsolate@1@@Z)
conversions.obj : error LNK2019: unresolved external symbol "public: void __this
call v8::Template::Set(class v8::Handle<class v8::String>,class v8::Handle<class
v8::Data>,enum v8::PropertyAttribute)" (?Set@Template@v8@@QAEXV?$Handle@VString
@v8@@@2@V?$Handle@VData@v8@@@2@W4PropertyAttribute@2@@Z) referenced in function
"public: void __thiscall v8::Template::Set(char const *,class v8::Handle<class v
8::Data>)" (?Set@Template@v8@@QAEXPBDV?$Handle@VData@v8@@@2@@Z)
preparser.obj : error LNK2001: unresolved external symbol "public: void __thisca
ll v8::Template::Set(class v8::Handle<class v8::String>,class v8::Handle<class v
8::Data>,enum v8::PropertyAttribute)" (?Set@Template@v8@@QAEXV?$Handle@VString@v
8@@@2@V?$Handle@VData@v8@@@2@W4PropertyAttribute@2@@Z)
conversions.obj : error LNK2019: unresolved external symbol "public: static clas
s v8::Local<class v8::String> __cdecl v8::String::New(char const *,int)" (?New@S
tring@v8@@SA?AV?$Local@VString@v8@@@2@PBDH@Z) referenced in function "public: vo
id __thiscall v8::Template::Set(char const *,class v8::Handle<class v8::Data>)"
(?Set@Template@v8@@QAEXPBDV?$Handle@VData@v8@@@2@@Z)
preparser.obj : error LNK2001: unresolved external symbol "public: static class
v8::Local<class v8::String> __cdecl v8::String::New(char const *,int)" (?New@Str
ing@v8@@SA?AV?$Local@VString@v8@@@2@PBDH@Z)
v8preparser_g.dll : fatal error LNK1120: 8 unresolved externals
scons: *** [v8preparser_g.dll] Error 1120
scons: building terminated because of errors.
I've looked through the compilation instructions for Windows several times, and haven't found anything to indicate why I would be getting this problem.