Hello!

I'm trying to build the 6.6 branch tip for WIndows. After installing 
depot_tools, I run the following commands in a Visual Studio 2017 prompt:

set DEPOT_TOOLS_WIN_TOOLCHAIN=0
gclient config https://chromium.googlesource.com/v8/v8
gclient sync -r 6.6.346.24
cd v8
gn gen out --args="is_debug=false v8_use_snapshot=true 
v8_use_external_startup_data=false v8_enable_i18n_support=false"
ninja -C out

Everything goes well until the final step, where the LINK tasks fail to 
resolve the Win32 entry points. Partial output:

>ninja -C out
ninja: Entering directory `out'
[639/1119] LINK mksnapshot.exe mksnapshot.exe.pdb
FAILED: mksnapshot.exe mksnapshot.exe.pdb
c:/Code/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
sampler.obj : error LNK2019: unresolved external symbol 
__imp_GetCurrentThreadId referenced in function "public: __cdecl 
v8::sampler::Sampler::Sampler(class v8::Isolate *)" 
(??0Sampler@sampler@v8@@QEAA@PEAVIsolate@2@@Z)
v8_libbase.lib(platform-win32.obj) : error LNK2001: unresolved external 
symbol __imp_GetCurrentThreadId
libcmt.lib(gs_support.obj) : error LNK2001: unresolved external symbol 
__imp_GetCurrentThreadId
libucrt.lib(per_thread_data.obj) : error LNK2001: unresolved external 
symbol __imp_GetCurrentThreadId
sampler.obj : error LNK2019: unresolved external symbol __imp_OpenThread 
referenced in function "public: __cdecl v8::sampler::Sampler::Sampler(class 
v8::Isolate *)" (??0Sampler@sampler@v8@@QEAA@PEAVIsolate@2@@Z)
libucrt.lib(thread.obj) : error LNK2001: unresolved external symbol 
__imp_CloseHandle
libucrt.lib(close.obj) : error LNK2001: unresolved external symbol 
__imp_CloseHandle
libucrt.lib(open.obj) : error LNK2001: unresolved external symbol 
__imp_CloseHandle
libucrt.lib(initcon.obj) : error LNK2001: unresolved external symbol 
__imp_CloseHandle
[TRIMMED]

Does anyone know what I'm doing wrong?

Thanks in advance!

-- 
-- 
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