Would it make any difference if you removed "library=shared" to build
a statically linked v8?

Yang

On Feb 10, 9:04 am, Sivyer Lu <[email protected]> wrote:
> Hi,
>   I'm runing from cmd
>       cd D:\Program Files\Microsoft Visual Studio 10.0\VC
>       vcvarsall.bat x86
>       cd d:\v8\
>       scons mode=debug library=shared env="PATH:%PATH%,LIB:%LIB
> %,INCLUDE:%INCLUDE%"
>     but I get this error:
>    正在创建库 v8preparser_g.lib 和对象 v8preparser_g.exp
> conversions.obj : error LNK2019: 无法解析的外部符号 "void __cdecl
> v8::RegisterExtension(class v8::Extension *)" (?
> RegisterExtension@v8@@YAXPAVExtensio
> n@1@@Z),该符号在函数 "public: __thiscall
> v8::DeclareExtension::DeclareExtension(class v8::Extension *)" (??
> 0DeclareExtension@v8@@QAE@PAVExtension@1@@
> Z) 中被引用
> preparser.obj : error LNK2001: 无法解析的外部符号 "void __cdecl
> v8::RegisterExtension(class v8::Extension *)" (?
> RegisterExtension@v8@@YAXPAVExtension@
> 1@@Z)
> conversions.obj : error LNK2019: 无法解析的外部符号 "public: void __thiscall
> v8::Isolate::Enter(void)" (?Enter@Isolate@v8@@QAEXXZ),该符号在函数 "publ
> ic: __thiscall v8::Isolate::Scope::Scope(class v8::Isolate *)" (??
> 0Scope@Isolate@v8@@QAE@PAV12@@Z) 中被引用
> preparser.obj : error LNK2001: 无法解析的外部符号 "public: void __thiscall
> v8::Isolate::Enter(void)" (?Enter@Isolate@v8@@QAEXXZ)
> ........
>
> need help  Thanks.

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

Reply via email to