-
-
Notifications
You must be signed in to change notification settings - Fork 35.3k
Linker error, while compiling node js from source (as a shared library) - v 6.11.2 #15195
Copy link
Copy link
Closed
Closed
Copy link
Labels
buildIssues and PRs related to build files or the CI.Issues and PRs related to build files or the CI.embeddingIssues and PRs related to embedding Node.js in another project.Issues and PRs related to embedding Node.js in another project.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.
Description
- Version: 6.11.2
- Platform: Windows
- Subsystem: build,shared
I am trying to compile node js as a shared library from source on Windows.
Currently i am following vcbuild.bat - by passing "release" "x64" "dll" as arguments to the script.
Error (listing only one, but contains about 50+ all linker errors to v8_base_3.lib):
v8_base_3.lib(api.obj) : error LNK2005: "public: __cdecl v8::HandleScope::HandleScope(class v8::Isolate *)" (??0HandleScope@v8@@QEAA@PEAVIsolate@1@@Z) already defined in node.lib(node.dll) [D:\node-v6.11.2\cctest.vcxproj]
refack: formatted
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
buildIssues and PRs related to build files or the CI.Issues and PRs related to build files or the CI.embeddingIssues and PRs related to embedding Node.js in another project.Issues and PRs related to embedding Node.js in another project.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.