Repository navigation
Error in building the Windows x86 shared library #41559
Copy link
Copy link
Closed
Labels
buildIssues and PRs related to Node.js builds or CI infrastructure.Issues and PRs related to Node.js builds or CI infrastructure.shared_libIssues and PRs related to using Node.js as a shared library.Issues and PRs related to using Node.js as a shared library.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.
Description
Activity
- addedwindowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.buildIssues and PRs related to Node.js builds or CI infrastructure.Issues and PRs related to Node.js builds or CI infrastructure.shared_libIssues and PRs related to using Node.js as a shared library.Issues and PRs related to using Node.js as a shared library.
on Jan 16, 2022 Related: nodejs/help#2545 and #28845
Problem solving:
#34539 (comment)
#34539 (comment)
#34539 (comment)Issue resolved.
Reacted by Lin ZhangNow only x86 can pass build.
x64 can not pass build.
I testnode main branchandnode 16.x branchwithvs2022andvs2019
All x64 build will fail.D:\sdk\node> .\vcbuild debug vs2022 dll x64 Looking for Python Python found in C:\Python310\\python.exe Python 3.10.6 Looking for NASM Looking for Visual Studio 2022 calling: "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\\Auxiliary\Build\vcvarsall.bat" x86_x64 ********************************************************************** ** Visual Studio 2022 Developer Command Prompt v17.3.0 ** Copyright (c) 2022 Microsoft Corporation ********************************************************************** [vcvarsall.bat] Environment initialized for: 'x86_x64' Found MSVS version 17.0 configure --debug --shared --dest-cpu=x64 Node.js configure: Found Python 3.10.6... ?[1m?[32mINFO?[0m: configure completed successfully Project files generated. D:\sdk\node\node.sln.metaproj : error MSB4126: 指定的解决方案配置“Debug|x64”无效。请使用 Configuration 和 Platform 属性指定有效的解决方案配置(例如 MSBuild.exe Solution.sln /p:Configuration=Debug /p:Platform="Any CPU"),或者将这 些属性保留为空,以使用默认的解决方案配置。 [D:\sdk\node\no de.sln]Reasonably sure this has since been fixed. Closing.
Metadata
Metadata
Assignees
Labels
buildIssues and PRs related to Node.js builds or CI infrastructure.Issues and PRs related to Node.js builds or CI infrastructure.shared_libIssues and PRs related to using Node.js as a shared library.Issues and PRs related to using Node.js as a shared library.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.

Version
16.13.2
Platform
Microsoft Windows NT 10.0.22000.0 x64
Subsystem
No response
What steps will reproduce the bug?
Calling the command:
How often does it reproduce? Is there a required condition?
No response
What is the expected behavior?
No response
What do you see instead?
Additional information
No response