Skip to content

v14.6.0 dll build error #34539

Closed
Closed
@Reveares

Description

@Reveares
  • Version: 14.6.0
  • Platform: 64-bit Windows 10
  • Subsystem:

What steps will reproduce the bug?

Build Node 14.6.0 as 64-bit and shared linkage under windows. Meanwhile static linkage works fine for me.

.\vcbuild.bat dll

Results in:

      Creating library out\Release\libnode.lib and object out\Release\libnode.exp
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) [C:\Users\janek\source\repos\node-14.6.0\libnode.vcxproj]
v8_libbase.lib(time.obj) : error LNK2001: unresolved external symbol __imp_timeGetTime [C:\Users\janek\source\repos\node-14.6.0\libnode.vcxproj]
out\Release\libnode.dll : fatal error LNK1120: 1 unresolved externals [C:\Users\janek\source\repos\node-14.6.0\libnode.vcxproj]

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildIssues and PRs related to build files or the CI.windowsIssues and PRs related to the Windows platform.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions