-
-
Notifications
You must be signed in to change notification settings - Fork 34.6k
Description
- Version: 14.15.2
- Platform: Microsoft Windows NT 10.0.19042.0 x64
- Subsystem: Build
- Build: Visual Studio 2019 v16.8.1
What steps will reproduce the bug?
- Running: vcbuild.bat debug vs2019 dll x86
How often does it reproduce? Is there a required condition?
Occurs every time.
What is the expected behavior?
Build finishes successfully and produces a dll.
What do you see instead?
Creating library out\Debug\libnode.lib and object out\Debug\libnode.exp
v8_libbase.lib(platform-win32.obj) : error LNK2019: unresolved external symbol __imp__timeGetTime@0 referenced in function "public: void __thiscall v8::base::Win32Time::SetToCurrentTime(void)" (?SetToCurrentTime@Win32Time@base@v8@@QAEXXZ) [F:\Dev\Subversion\ProductToolsInternal\nodejs\node-14.15.2\libnode.vcxproj]
v8_libbase.lib(time.obj) : error LNK2001: unresolved external symbol __imp__timeGetTime@0 [F:\Dev\Subversion\ProductToolsInternal\nodejs\node-14.15.2\libnode.vcxproj]
out\Debug\libnode.dll : fatal error LNK1120: 1 unresolved externals [F:\Dev\Subversion\ProductToolsInternal\nodejs\node-14.15.2\libnode.vcxproj]
Additional information
Building "Release" produces the same result.
I've tried other versions (14.15.1, 15.4.0), I've tried static, dll, exe builds. I get different issues in some cases (e.g. error C2027: use of undefined type 'v8::internal::Map') but I can't get anything to build cleanly.
I believe I have all the right tools and versions. I even ran the Boxstarter configuration.