Sitelet https://github.com/nodejs/node/issues/41559
Skip to content

Error in building the Windows x86 shared library #41559

Description

@The2Alert

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:

 .\vcbuild release vs2019 dll x86

How often does it reproduce? Is there a required condition?

No response

What is the expected behavior?

No response

What do you see instead?

Screenshot_1

Additional information

No response

Activity

  1. added
    windowsIssues and PRs related to the Windows platform.
    buildIssues and PRs related to Node.js builds or CI infrastructure.
    shared_libIssues and PRs related to using Node.js as a shared library.
    on Jan 16, 2022
  2. mscdex commented on Jan 16, 2022

    @mscdex
    Contributor
  3. The2Alert commented on Jan 18, 2022

    @The2Alert
    Author

    New error:
    Screenshot_1

  4. The2Alert commented on Jan 18, 2022

    @The2Alert
    Author

    Problem solving:
    #34539 (comment)
    #34539 (comment)
    #34539 (comment)

    Issue resolved.

  5. xland commented on Aug 16, 2022

    @xland

    @lux01

    Now only x86 can pass build.
    x64 can not pass build.
    I test node main branch and node 16.x branch with vs2022 and vs2019
    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]
    
  6. bnoordhuis commented on Jan 22, 2023

    @bnoordhuis
    Member

    Reasonably sure this has since been fixed. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildIssues and PRs related to Node.js builds or CI infrastructure.shared_libIssues and PRs related to using Node.js as a shared library.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