I got LNK2001 error when building V8 with MSVC

63 views
Skip to first unread message

Kazuya Hiruma

unread,
May 4, 2022, 8:18:53 PM5/4/22
to v8-users
I'm sorry this is re-post from below link because I can't post a new message on it. (I got "The message has been deleted")
https://groups.google.com/g/v8-users/c/SCxoTZRpUbc

I built V8 belongs to the advice of its post but I still get the error "LNK2001".

I tried to add the flag "use_custom_libcxx=false" but it didn't change.

I'm not sure why the linking process will fail.

* I replaced "@" to "_" because this system detect attached message as email addresses.

Error message:
[2790/3116] LINK(DLL) v8.dll v8.dll.lib v8.dll.pdb
FAILED: v8.dll v8.dll.lib v8.dll.pdb
D:/MyDesktop/Apps/bin/depot_tools/bootstrap-2_3_8_10_chromium_23_bin/python3/bin/python3.exe ../../build/toolchain/win/tool_wrapper.py link-wrapper environment.x64 False link.exe /OUT:./v8.dll /nologo /IMPLIB:./v8.dll.lib /DLL /PDB:./v8.dll.pdb _./v8.dll.rsp
b'int64-lowering.obj : error LNK2001: unresolved external symbol "public: void __cdecl v8::internal::FixedArray::set(int,class v8::internal::Smi)" (?set_FixedArray_internal_v8__QEAAXHVSmi_23__Z)\r\n'
b'wasm-escape-analysis.obj : error LNK2001: unresolved external symbol "public: void __cdecl v8::internal::FixedArray::set(int,class v8::internal::Smi)" (?set_FixedArray_internal_v8__QEAAXHVSmi_23__Z)\r\n'
Reply all
Reply to author
Forward
0 new messages