2
我試圖鏈接到我在Visual Studio 2008中用/ MDd選項編譯的V8庫(v8_base.lib)。當我從另一個庫鏈接到它時,出現如下錯誤:鏈接到V8快照
Error 4 error LNK2001: unresolved external symbol "private: static int const v8::internal::Snapshot::size_" ([email protected]@[email protected]@@0HB) v8_base.lib myapp
我該如何解決這些問題?
(所有錯誤的列表)
Error 1 error LNK2019: unresolved external symbol "public: static int __cdecl v8::internal::NativesCollection<0>::GetBuiltinsCount(void)" ([email protected][email protected][email protected]@[email protected]@@SAHXZ) referenced in function "private: bool __thiscall v8::internal::Heap::CreateInitialObjects(void)" ([email protected]@[email protected]@@AAE_NXZ) v8_base.lib pconn
Error 2 error LNK2001: unresolved external symbol "public: static int __cdecl v8::internal::NativesCollection<0>::GetBuiltinsCount(void)" ([email protected][email protected][email protected]@[email protected]@@SAHXZ) v8_base.lib pconn
Error 3 error LNK2001: unresolved external symbol "public: static int __cdecl v8::internal::NativesCollection<0>::GetBuiltinsCount(void)" ([email protected][email protected][email protected]@[email protected]@@SAHXZ) v8_base.lib pconn
Error 4 error LNK2001: unresolved external symbol "private: static int const v8::internal::Snapshot::size_" ([email protected]@[email protected]@@0HB) v8_base.lib pconn
Error 5 error LNK2001: unresolved external symbol "private: static int const v8::internal::Snapshot::size_" ([email protected]@[email protected]@@0HB) v8_base.lib pconn
Error 6 error LNK2001: unresolved external symbol "private: static int const v8::internal::Snapshot::size_" ([email protected]@[email protected]@@0HB) v8_base.lib pconn
Error 7 error LNK2001: unresolved external symbol "private: static unsigned char const * const v8::internal::Snapshot::raw_data_" ([email protected]@[email protected]@@0PBEB) v8_base.lib pconn
Error 8 error LNK2001: unresolved external symbol "private: static int const v8::internal::Snapshot::raw_size_" ([email protected]@[email protected]@@0HB) v8_base.lib pconn
Error 9 error LNK2001: unresolved external symbol "private: static unsigned char const * const v8::internal::Snapshot::context_raw_data_" ([email protected]@[email protected]@@0PBEB) v8_base.lib pconn
Error 10 error LNK2001: unresolved external symbol "private: static int const v8::internal::Snapshot::context_raw_size_" ([email protected]@[email protected]@@0HB) v8_base.lib pconn
Error 11 error LNK2001: unresolved external symbol "private: static int const v8::internal::Snapshot::new_space_used_" ([email protected]@[email protected]@@0HB) v8_base.lib pconn
Error 12 error LNK2001: unresolved external symbol "private: static int const v8::internal::Snapshot::pointer_space_used_" ([email protected]@[email protected]@@0HB) v8_base.lib pconn
Error 13 error LNK2001: unresolved external symbol "private: static int const v8::internal::Snapshot::data_space_used_" ([email protected]@[email protected]@@0HB) v8_base.lib pconn
Error 14 error LNK2001: unresolved external symbol "private: static int const v8::internal::Snapshot::code_space_used_" ([email protected]@[email protected]@@0HB) v8_base.lib pconn
Error 15 error LNK2001: unresolved external symbol "private: static int const v8::internal::Snapshot::map_space_used_" ([email protected]@[email protected]@@0HB) v8_base.lib pconn
Error 16 error LNK2001: unresolved external symbol "private: static int const v8::internal::Snapshot::cell_space_used_" ([email protected]@[email protected]@@0HB) v8_base.lib pconn
Error 17 error LNK2001: unresolved external symbol "private: static int const v8::internal::Snapshot::large_space_used_" ([email protected]@[email protected]@@0HB) v8_base.lib pconn
Error 18 error LNK2001: unresolved external symbol "private: static int const v8::internal::Snapshot::context_size_" ([email protected]@[email protected]@@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)" ([email protected][email protected][email protected]@[email protected]@@[email protected][email protected]@[email protected]) referenced in function "public: class v8::internal::Handle<class v8::internal::String> __thiscall v8::internal::Bootstrapper::NativesSourceLookup(int)" ([email protected]@[email protected]@@[email protected]@[email protected]@@@[email protected]@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)" ([email protected][email protected][email protected]@[email protected]@@[email protected][email protected]@[email protected]) 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)" ([email protected][email protected][email protected]@[email protected]@@[email protected][email protected]@[email protected]) referenced in function "private: static bool __cdecl v8::internal::Genesis::CompileBuiltin(class v8::internal::Isolate *,int)" ([email protected]@[email protected]@@[email protected]@[email protected]) 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)" ([email protected][email protected][email protected]@[email protected]@@[email protected][email protected]@[email protected]) 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)" ([email protected][email protected][email protected]@[email protected]@[email protected][email protected]@[email protected]) referenced in function "private: static bool __cdecl v8::internal::Genesis::CompileExperimentalBuiltin(class v8::internal::Isolate *,int)" ([email protected]@[email protected]@@[email protected]@[email protected]) 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)" ([email protected][email protected][email protected]@[email protected]@[email protected][email protected]@[email protected]) referenced in function "private: static bool __cdecl v8::internal::Genesis::CompileExperimentalBuiltin(class v8::internal::Isolate *,int)" ([email protected]@[email protected]@@[email protected]@[email protected]) v8_base.lib pconn
Error 25 error LNK2019: unresolved external symbol "public: static int __cdecl v8::internal::NativesCollection<0>::GetDebuggerCount(void)" ([email protected][email protected][email protected]@[email protected]@@SAHXZ) referenced in function "private: bool __thiscall v8::internal::Genesis::InstallNatives(void)" ([email protected]@[email protected]@@AAE_NXZ) v8_base.lib pconn
Error 26 error LNK2019: unresolved external symbol "public: static int __cdecl v8::internal::NativesCollection<1>::GetBuiltinsCount(void)" ([email protected][email protected][email protected]@[email protected]@SAHXZ) referenced in function "private: bool __thiscall v8::internal::Genesis::InstallExperimentalNatives(void)" ([email protected]@[email protected]@@AAE_NXZ) v8_base.lib pconn
Error 27 error LNK2019: unresolved external symbol "public: static int __cdecl v8::internal::NativesCollection<1>::GetDebuggerCount(void)" ([email protected][email protected][email protected]@[email protected]@SAHXZ) referenced in function "private: bool __thiscall v8::internal::Genesis::InstallExperimentalNatives(void)" ([email protected]@[email protected]@@AAE_NXZ) v8_base.lib pconn
Error 28 error LNK2019: unresolved external symbol "public: static int __cdecl v8::internal::NativesCollection<0>::GetIndex(char const *)" ([email protected][email protected][email protected]@[email protected]@@[email protected]) referenced in function "public: bool __thiscall v8::internal::Debug::Load(void)" ([email protected]@[email protected]@@QAE_NXZ) v8_base.lib pconn