Greetings. I would like to describe a build problem with x64 Windows and 
V8. The build configuration (args.gn) is:

is_debug = false
target_cpu = "x64"
is_component_build = false
v8_static_library = true

The ninja process gets to mksnapshot.exe and then, apparently, isn't 
linking in kernel32.lib, et cetera. I'm using VS 2017 and 
version 10.0.16299.0 of the Windows SDK.

Any advice or recommendations? Is the x64 Windows static library build 
process working for others? Thank you.



FAILED: mksnapshot.exe mksnapshot.exe.pdb
C:/Libraries/V8/depot_tools/win_tools-2_7_6_bin/python/bin/python.exe 
../../build/toolchain/win/tool_wrapper.py link-wrapper environment.x64 
False link.exe /nologo /OUT:./mksnapshot.exe /PDB:./mksnapshot.exe.pdb 
@./mksnapshot.exe.rsp
v8_libbase.lib(platform-win32.obj) : error LNK2019: unresolved external 
symbol __imp_SystemTimeToFileTime referenced in function "public: __cdecl 
v8::base::Win32Time::Win32Time(int,int,int,int,int,int)" 
(??0Win32Time@base@v8@@QEAA@HHHHHH@Z)
libcpmt.lib(winapisupp.obj) : error LNK2001: unresolved external symbol 
__imp_GetSystemTimeAsFileTime
libucrt.lib(winapi_thunks.obj) : error LNK2001: unresolved external symbol 
__imp_GetSystemTimeAsFileTime
v8_libbase.lib(platform-win32.obj) : error LNK2001: unresolved external 
symbol __imp_GetSystemTimeAsFileTime
v8_libbase.lib(time.obj) : error LNK2001: unresolved external symbol 
__imp_GetSystemTimeAsFileTime
icuuc.lib(putil.obj) : error LNK2001: unresolved external symbol 
__imp_GetSystemTimeAsFileTime
libcmt.lib(gs_support.obj) : error LNK2001: unresolved external symbol 
__imp_GetSystemTimeAsFileTime
v8_libbase.lib(platform-win32.obj) : error LNK2019: unresolved external 
symbol __imp_timeGetTime referenced in function "public: void __cdecl 
v8::base::Win32Time::SetToCurrentTime(void)" 
(?SetToCurrentTime@Win32Time@base@v8@@QEAAXXZ)
v8_libbase.lib(time.obj) : error LNK2001: unresolved external symbol 
__imp_timeGetTime
v8_libbase.lib(platform-win32.obj) : error LNK2019: unresolved external 
symbol __imp_GetTimeZoneInformation referenced in function "public: void 
__cdecl v8::base::WindowsTimezoneCache::InitializeIfNeeded(void)" 
(?InitializeIfNeeded@WindowsTimezoneCache@base@v8@@QEAAXXZ)
icuuc.lib(wintz.obj) : error LNK2001: unresolved external symbol 
__imp_GetTimeZoneInformation
libucrt.lib(tzset.obj) : error LNK2001: unresolved external symbol 
__imp_GetTimeZoneInformation
icui18n.lib(windtfmt.obj) : error LNK2001: unresolved external symbol 
__imp_GetTimeZoneInformation
libucrt.lib(lcmapstringa.obj) : error LNK2001: unresolved external symbol 
__imp_WideCharToMultiByte
libucrt.lib(string_utilities.obj) : error LNK2001: unresolved external 
symbol __imp_WideCharToMultiByte
libucrt.lib(widechartomultibyte.obj) : error LNK2001: unresolved external 
symbol __imp_WideCharToMultiByte
libucrt.lib(get_environment_from_os.obj) : error LNK2001: unresolved 
external symbol __imp_WideCharToMultiByte
libucrt.lib(getlocaleinfoa.obj) : error LNK2001: unresolved external symbol 
__imp_WideCharToMultiByte
libucrt.lib(tzset.obj) : error LNK2001: unresolved external symbol 
__imp_WideCharToMultiByte
libucrt.lib(environment_initialization.obj) : error LNK2001: unresolved 
external symbol __imp_WideCharToMultiByte
libucrt.lib(strftime.obj) : error LNK2001: unresolved external symbol 
__imp_WideCharToMultiByte
libucrt.lib(write.obj) : error LNK2001: unresolved external symbol 
__imp_WideCharToMultiByte
v8_libbase.lib(platform-win32.obj) : error LNK2001: unresolved external 
symbol __imp_WideCharToMultiByte
libcpmt.lib(syserror.obj) : error LNK2001: unresolved external symbol 
__imp_WideCharToMultiByte
libcpmt.lib(xwctomb.obj) : error LNK2001: unresolved external symbol 
__imp_WideCharToMultiByte
libcpmt.lib(StlLCMapStringA.obj) : error LNK2001: unresolved external 
symbol __imp_WideCharToMultiByte
v8_libbase.lib(platform-win32.obj) : error LNK2019: unresolved external 
symbol __imp_GetCurrentThread referenced in function "public: static int 
__cdecl v8::base::OS::GetUserTime(unsigned int *,unsigned int *)" 
(?GetUserTime@OS@base@v8@@SAHPEAI0@Z)
v8_libbase.lib(time.obj) : error LNK2001: unresolved external symbol 
__imp_GetCurrentThread
libucrt.lib(per_thread_data.obj) : error LNK2001: unresolved external 
symbol __imp_GetCurrentThread
v8_libbase.lib(stack_trace_win.obj) : error LNK2001: unresolved external 
symbol __imp_GetCurrentThread
v8_libbase.lib(platform-win32.obj) : error LNK2019: unresolved external 
symbol __imp_GetThreadTimes referenced in function "public: static int 
__cdecl v8::base::OS::GetUserTime(unsigned int *,unsigned int *)" 
(?GetUserTime@OS@base@v8@@SAHPEAI0@Z)
icui18n.lib(windtfmt.obj) : error LNK2001: unresolved external symbol 
__imp_GetLastError
libucrt.lib(initcon.obj) : error LNK2001: unresolved external symbol 
__imp_GetLastError
libucrt.lib(chsize.obj) : error LNK2001: unresolved external symbol 
__imp_GetLastError
v8_libbase.lib(stack_trace_win.obj) : error LNK2001: unresolved external 
symbol __imp_GetLastError
icui18n.lib(winnmfmt.obj) : error LNK2001: unresolved external symbol 
__imp_GetLastError
libucrt.lib(osfinfo.obj) : error LNK2001: unresolved external symbol 
__imp_GetLastError
libucrt.lib(mbstowcs.obj) : error LNK2001: unresolved external symbol 
__imp_GetLastError
libucrt.lib(getlocaleinfoa.obj) : error LNK2001: unresolved external symbol 
__imp_GetLastError
libucrt.lib(open.obj) : error LNK2001: unresolved external symbol 
__imp_GetLastError
libucrt.lib(string_utilities.obj) : error LNK2001: unresolved external 
symbol __imp_GetLastError
libucrt.lib(wunlink.obj) : error LNK2001: unresolved external symbol 
__imp_GetLastError
libucrt.lib(commit.obj) : error LNK2001: unresolved external symbol 
__imp_GetLastError
libucrt.lib(expand.obj) : error LNK2001: unresolved external symbol 
__imp_GetLastError
libucrt.lib(per_thread_data.obj) : error LNK2001: unresolved external 
symbol __imp_GetLastError
libucrt.lib(winapi_thunks.obj) : error LNK2001: unresolved external symbol 
__imp_GetLastError
libucrt.lib(wctomb.obj) : error LNK2001: unresolved external symbol 
__imp_GetLastError
libucrt.lib(write.obj) : error LNK2001: unresolved external symbol 
__imp_GetLastError
libucrt.lib(strftime.obj) : error LNK2001: unresolved external symbol 
__imp_GetLastError
libucrt.lib(lseek.obj) : error LNK2001: unresolved external symbol 
__imp_GetLastError
libucrt.lib(read.obj) : error LNK2001: unresolved external symbol 
__imp_GetLastError
libucrt.lib(close.obj) : error LNK2001: unresolved external symbol 
__imp_GetLastError
libucrt.lib(signal.obj) : error LNK2001: unresolved external symbol 
__imp_GetLastError
libucrt.lib(thread.obj) : error LNK2001: unresolved external symbol 
__imp_GetLastError
libucrt.lib(wcstombs.obj) : error LNK2001: unresolved external symbol 
__imp_GetLastError
libucrt.lib(free_base.obj) : error LNK2001: unresolved external symbol 
__imp_GetLastError
v8_libbase.lib(platform-win32.obj) : error LNK2001: unresolved external 
symbol __imp_GetLastError
libcpmt.lib(xonce.obj) : error LNK2001: unresolved external symbol 
__imp_GetLastError
libvcruntime.lib(winapi_downlevel.obj) : error LNK2001: unresolved external 
symbol __imp_GetLastError
libvcruntime.lib(per_thread_data.obj) : error LNK2001: unresolved external 
symbol __imp_GetLastError
v8_libbase.lib(platform-win32.obj) : error LNK2019: unresolved external 
symbol __imp_GetCurrentProcessId referenced in function "public: static int 
__cdecl v8::base::OS::GetCurrentProcessId(void)" 
(?GetCurrentProcessId@OS@base@v8@@SAHXZ)
...



Best regards,
Adam Sobieski
http://www.phoster.com/contents/

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to