Dll 链接到V8快照

Dll 链接到V8快照,dll,linker,v8,Dll,Linker,V8,我正在尝试链接到我在VisualStudio2008中使用/MDd选项编译的V8库(V8_base.lib)。当我从另一个库链接到它时,会出现如下错误: Error 4 error LNK2001: unresolved external symbol "private: static int const v8::internal::Snapshot::size_" (?size_@Snapshot@internal@v8@@0HB) v8_base.lib myapp 如何解决这些问题 (所

我正在尝试链接到我在VisualStudio2008中使用/MDd选项编译的V8库(V8_base.lib)。当我从另一个库链接到它时,会出现如下错误:

Error 4 error LNK2001: unresolved external symbol "private: static int const v8::internal::Snapshot::size_" (?size_@Snapshot@internal@v8@@0HB) v8_base.lib myapp
如何解决这些问题

(所有错误的列表)

Error 1 Error LNK2019:未解析的外部符号“public:static int\uu cdecl v8::internal::nativescolection::getBuiltinCount(void)”(?getBuiltinCount@?$nativescolection@$0A@@internal@v8@@SAHXZ)在函数“private:bool\uu thiscall v8::internal::Heap::CreateInitialObjects(void)”中引用(?CreateInitialObjects@Heap@internal@v8@@AAE_NXZ)v8_base.lib pconn
错误2错误LNK2001:未解析的外部符号“public:static int_uucdecl v8::internal::nativescolection::GetBuiltinCount(void)”(?GetBuiltinCount@?$Nativescolection@$0A@@internal@v8@@SAHXZ)v8_base.lib pconn
错误3错误LNK2001:未解析的外部符号“public:static int_uucdecl v8::internal::nativescolection::GetBuiltinCount(void)”(?GetBuiltinCount@?$Nativescolection@$0A@@internal@v8@@SAHXZ)v8_base.lib pconn
错误4错误LNK2001:未解析的外部符号“private:static int const v8::internal::Snapshot::size_382;”(?size_@Snapshot@internal@v8@@0HB)v8_base.lib pconn
错误5错误LNK2001:未解析的外部符号“private:static int const v8::internal::Snapshot::size_389;”(?size_@Snapshot@internal@v8@@0HB)v8_base.lib pconn
错误6错误LNK2001:未解析的外部符号“private:static int const v8::internal::Snapshot::size_574;”(?size_@Snapshot@internal@v8@@0HB)v8_base.lib pconn
错误7错误LNK2001:未解析的外部符号“私有:静态无符号字符常量*常量v8::内部::快照::原始数据”(?原始数据_@Snapshot@internal@v8@@0PBEB)v8_base.lib pconn
错误8错误LNK2001:未解析的外部符号“private:static int const v8::internal::Snapshot::raw_size_”(?raw_size_@Snapshot@internal@v8@@0HB)v8_base.lib pconn
错误9错误LNK2001:未解析的外部符号“私有:静态无符号字符常量*常量v8::内部::快照::上下文\u原始\u数据”(?上下文\u原始\u数据_@Snapshot@internal@v8@@0PBEB)v8_base.lib pconn
错误10错误LNK2001:未解析的外部符号“private:static int const v8::internal::Snapshot::context\u raw\u size”(?context\u raw\u size_@Snapshot@internal@v8@@0HB)v8_base.lib pconn
错误11错误LNK2001:未解析的外部符号“private:static int const v8::internal::Snapshot::new_space_used”(?new_space_used_@Snapshot@internal@v8@@0HB)v8_base.lib pconn
错误12错误LNK2001:未解析的外部符号“private:static int const v8::internal::Snapshot::pointer\u space\u used”(?pointer\u space\u used_@Snapshot@internal@v8@@0HB)v8_base.lib pconn
错误13错误LNK2001:未解析的外部符号“private:static int const v8::internal::Snapshot::data_space_used”(?data_space_used_@Snapshot@internal@v8@@0HB)v8_base.lib pconn
错误14错误LNK2001:未解析的外部符号“private:static int const v8::internal::Snapshot::code_space_used”(?code_space_used_@Snapshot@internal@v8@@0HB)v8_base.lib pconn
错误15错误LNK2001:未解析的外部符号“private:static int const v8::internal::Snapshot::map\u space\u used”(?map\u space\u used_@Snapshot@internal@v8@@0HB)v8_base.lib pconn
错误16错误LNK2001:未解析的外部符号“private:static int const v8::internal::Snapshot::cell_space_used”(?cell_space_used_@Snapshot@internal@v8@@0HB)v8_base.lib pconn
错误17错误LNK2001:未解析的外部符号“private:static int const v8::internal::Snapshot::large_space_used”(?large_space_used_@Snapshot@internal@v8@@0HB)v8_base.lib pconn
错误18错误LNK2001:未解析的外部符号“private:static int const v8::internal::Snapshot::context\u size”(?context\u size_@Snapshot@internal@v8@@0HB)v8_base.lib pconn
错误19错误LNK2019:未解析的外部符号“public:static class v8::internal::Vector\uu cdecl v8::internal::nativescolection::GetRawScriptSource(int)”(?GetRawScriptSource@?$nativescolection@$0A@@internal@v8@@SA?AV?$Vector@$$CBD@23@H@Z)在函数中引用“public:classv8::internal::Handle u thiscall v8::internal::Bootstrapper::nativesourcelookup(int)”(?NativesSourceLookup@Bootstrapper@internal@v8@@QAE?AV$Handle@VString@internal@v8@@@23@H@Z) v8_base.lib pconn
错误20错误LNK2001:未解析的外部符号“public:static class v8::internal::Vector\uu cdecl v8::internal::nativescolection::GetRawScriptSource(int)”(?GetRawScriptSource@?$nativescolection@$0A@@internal@v8@@SA?AV?$Vector@$$CBD@23@H@Z)v8_base.lib pconn
错误21错误LNK2019:未解析的外部符号“public:static class v8::internal::Vector\uu cdecl v8::internal::nativescolection::GetScriptName(int)”(?GetScriptName@?$nativescolection@$0A@@internal@v8@@SA?AV?$Vector@$$CBD@23@H@Z)在函数“private:static bool\uu cdecl v8::internal::Genesis::CompileBuiltin”中引用(类v8::内部::隔离*,int)”(?CompileBuiltin@Genesis@internal@v8@@CA_NPAVIsolate@23@H@Z)v8_base.lib pconn
错误22错误LNK2001:未解析的外部符号“public:static class v8::internal::Vector\uu cdecl v8::internal::nativescolection::GetScriptName(int)”(?GetScriptName@?$nativescolection@$0A@@internal@v8@@SA?AV?$Vector@$$CBD@23@H@Z)v8_base.lib pconn
错误23错误LNK2019:未解析的外部符号“public:static class v8::internal::Vector\uu cdecl v8::internal::nativescolection::GetRawScriptSource(int)”(?GetRawScriptSource@?$nativescolection@$00@internal@v8@@SA?AV?$Vector@$$CBD@23@H@Z)在函数中引用”private:static bool\uu cdecl v8::internal::Genesis::CompileExperimentalBuiltin(类v8::internal::Isolate*,int)”(?CompileExperimentalBuiltin@Genesis@internal@v8@@CA_NPAVIsolate@23@H@Z)v8_base.lib pconn
错误24错误LNK2019:未解析的外部符号“public:static class v8::internal::Vector\uu cdecl v8::internal::nativescolection::GetScriptName(int)”(?GetScriptName@?$nativescolection@
Error   1   error LNK2019: unresolved external symbol "public: static int __cdecl v8::internal::NativesCollection<0>::GetBuiltinsCount(void)" (?GetBuiltinsCount@?$NativesCollection@$0A@@internal@v8@@SAHXZ) referenced in function "private: bool __thiscall v8::internal::Heap::CreateInitialObjects(void)" (?CreateInitialObjects@Heap@internal@v8@@AAE_NXZ)    v8_base.lib pconn
Error   2   error LNK2001: unresolved external symbol "public: static int __cdecl v8::internal::NativesCollection<0>::GetBuiltinsCount(void)" (?GetBuiltinsCount@?$NativesCollection@$0A@@internal@v8@@SAHXZ)   v8_base.lib pconn
Error   3   error LNK2001: unresolved external symbol "public: static int __cdecl v8::internal::NativesCollection<0>::GetBuiltinsCount(void)" (?GetBuiltinsCount@?$NativesCollection@$0A@@internal@v8@@SAHXZ)   v8_base.lib pconn
Error   4   error LNK2001: unresolved external symbol "private: static int const v8::internal::Snapshot::size_" (?size_@Snapshot@internal@v8@@0HB)  v8_base.lib pconn
Error   5   error LNK2001: unresolved external symbol "private: static int const v8::internal::Snapshot::size_" (?size_@Snapshot@internal@v8@@0HB)  v8_base.lib pconn
Error   6   error LNK2001: unresolved external symbol "private: static int const v8::internal::Snapshot::size_" (?size_@Snapshot@internal@v8@@0HB)  v8_base.lib pconn
Error   7   error LNK2001: unresolved external symbol "private: static unsigned char const * const v8::internal::Snapshot::raw_data_" (?raw_data_@Snapshot@internal@v8@@0PBEB)  v8_base.lib pconn
Error   8   error LNK2001: unresolved external symbol "private: static int const v8::internal::Snapshot::raw_size_" (?raw_size_@Snapshot@internal@v8@@0HB)  v8_base.lib pconn
Error   9   error LNK2001: unresolved external symbol "private: static unsigned char const * const v8::internal::Snapshot::context_raw_data_" (?context_raw_data_@Snapshot@internal@v8@@0PBEB)  v8_base.lib pconn
Error   10  error LNK2001: unresolved external symbol "private: static int const v8::internal::Snapshot::context_raw_size_" (?context_raw_size_@Snapshot@internal@v8@@0HB)  v8_base.lib pconn
Error   11  error LNK2001: unresolved external symbol "private: static int const v8::internal::Snapshot::new_space_used_" (?new_space_used_@Snapshot@internal@v8@@0HB)  v8_base.lib pconn
Error   12  error LNK2001: unresolved external symbol "private: static int const v8::internal::Snapshot::pointer_space_used_" (?pointer_space_used_@Snapshot@internal@v8@@0HB)  v8_base.lib pconn
Error   13  error LNK2001: unresolved external symbol "private: static int const v8::internal::Snapshot::data_space_used_" (?data_space_used_@Snapshot@internal@v8@@0HB)    v8_base.lib pconn
Error   14  error LNK2001: unresolved external symbol "private: static int const v8::internal::Snapshot::code_space_used_" (?code_space_used_@Snapshot@internal@v8@@0HB)    v8_base.lib pconn
Error   15  error LNK2001: unresolved external symbol "private: static int const v8::internal::Snapshot::map_space_used_" (?map_space_used_@Snapshot@internal@v8@@0HB)  v8_base.lib pconn
Error   16  error LNK2001: unresolved external symbol "private: static int const v8::internal::Snapshot::cell_space_used_" (?cell_space_used_@Snapshot@internal@v8@@0HB)    v8_base.lib pconn
Error   17  error LNK2001: unresolved external symbol "private: static int const v8::internal::Snapshot::large_space_used_" (?large_space_used_@Snapshot@internal@v8@@0HB)  v8_base.lib pconn
Error   18  error LNK2001: unresolved external symbol "private: static int const v8::internal::Snapshot::context_size_" (?context_size_@Snapshot@internal@v8@@0HB)  v8_base.lib pconn
Error   19  error LNK2019: unresolved external symbol "public: static class v8::internal::Vector<char const > __cdecl v8::internal::NativesCollection<0>::GetRawScriptSource(int)" (?GetRawScriptSource@?$NativesCollection@$0A@@internal@v8@@SA?AV?$Vector@$$CBD@23@H@Z) referenced in function "public: class v8::internal::Handle<class v8::internal::String> __thiscall v8::internal::Bootstrapper::NativesSourceLookup(int)" (?NativesSourceLookup@Bootstrapper@internal@v8@@QAE?AV?$Handle@VString@internal@v8@@@23@H@Z)  v8_base.lib pconn
Error   20  error LNK2001: unresolved external symbol "public: static class v8::internal::Vector<char const > __cdecl v8::internal::NativesCollection<0>::GetRawScriptSource(int)" (?GetRawScriptSource@?$NativesCollection@$0A@@internal@v8@@SA?AV?$Vector@$$CBD@23@H@Z)   v8_base.lib pconn
Error   21  error LNK2019: unresolved external symbol "public: static class v8::internal::Vector<char const > __cdecl v8::internal::NativesCollection<0>::GetScriptName(int)" (?GetScriptName@?$NativesCollection@$0A@@internal@v8@@SA?AV?$Vector@$$CBD@23@H@Z) referenced in function "private: static bool __cdecl v8::internal::Genesis::CompileBuiltin(class v8::internal::Isolate *,int)" (?CompileBuiltin@Genesis@internal@v8@@CA_NPAVIsolate@23@H@Z) v8_base.lib pconn
Error   22  error LNK2001: unresolved external symbol "public: static class v8::internal::Vector<char const > __cdecl v8::internal::NativesCollection<0>::GetScriptName(int)" (?GetScriptName@?$NativesCollection@$0A@@internal@v8@@SA?AV?$Vector@$$CBD@23@H@Z) v8_base.lib pconn
Error   23  error LNK2019: unresolved external symbol "public: static class v8::internal::Vector<char const > __cdecl v8::internal::NativesCollection<1>::GetRawScriptSource(int)" (?GetRawScriptSource@?$NativesCollection@$00@internal@v8@@SA?AV?$Vector@$$CBD@23@H@Z) referenced in function "private: static bool __cdecl v8::internal::Genesis::CompileExperimentalBuiltin(class v8::internal::Isolate *,int)" (?CompileExperimentalBuiltin@Genesis@internal@v8@@CA_NPAVIsolate@23@H@Z)    v8_base.lib pconn
Error   24  error LNK2019: unresolved external symbol "public: static class v8::internal::Vector<char const > __cdecl v8::internal::NativesCollection<1>::GetScriptName(int)" (?GetScriptName@?$NativesCollection@$00@internal@v8@@SA?AV?$Vector@$$CBD@23@H@Z) referenced in function "private: static bool __cdecl v8::internal::Genesis::CompileExperimentalBuiltin(class v8::internal::Isolate *,int)" (?CompileExperimentalBuiltin@Genesis@internal@v8@@CA_NPAVIsolate@23@H@Z)  v8_base.lib pconn
Error   25  error LNK2019: unresolved external symbol "public: static int __cdecl v8::internal::NativesCollection<0>::GetDebuggerCount(void)" (?GetDebuggerCount@?$NativesCollection@$0A@@internal@v8@@SAHXZ) referenced in function "private: bool __thiscall v8::internal::Genesis::InstallNatives(void)" (?InstallNatives@Genesis@internal@v8@@AAE_NXZ)  v8_base.lib pconn
Error   26  error LNK2019: unresolved external symbol "public: static int __cdecl v8::internal::NativesCollection<1>::GetBuiltinsCount(void)" (?GetBuiltinsCount@?$NativesCollection@$00@internal@v8@@SAHXZ) referenced in function "private: bool __thiscall v8::internal::Genesis::InstallExperimentalNatives(void)" (?InstallExperimentalNatives@Genesis@internal@v8@@AAE_NXZ)   v8_base.lib pconn
Error   27  error LNK2019: unresolved external symbol "public: static int __cdecl v8::internal::NativesCollection<1>::GetDebuggerCount(void)" (?GetDebuggerCount@?$NativesCollection@$00@internal@v8@@SAHXZ) referenced in function "private: bool __thiscall v8::internal::Genesis::InstallExperimentalNatives(void)" (?InstallExperimentalNatives@Genesis@internal@v8@@AAE_NXZ)   v8_base.lib pconn
Error   28  error LNK2019: unresolved external symbol "public: static int __cdecl v8::internal::NativesCollection<0>::GetIndex(char const *)" (?GetIndex@?$NativesCollection@$0A@@internal@v8@@SAHPBD@Z) referenced in function "public: bool __thiscall v8::internal::Debug::Load(void)" (?Load@Debug@internal@v8@@QAE_NXZ)    v8_base.lib pconn