We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NodeRT package(s) are very old. They were made in the Win8 UWP era. They require the /ZW flag (C++/CX | Windows Runtime Compilation).
/ZW
Node v22 started to use /std:c++20. That's an issue because it's incompatible with /ZW (C++/CX).
/std:c++20
command line error D8016: '/ZW' and '/std:c++20' command-line options are incompatible
And this is unlikely to change because Microsoft has abandoned UWP/WinRT and recommends to move to C++/WinRT from C++/CX.
Altho forcing /std:c++17 worked before when building native addons for Node v22; Electron v32 requires it.
/std:c++17
...\prebuildify\electron\32.0.0\include\node\v8config.h(13,1): error C1189: #error: "C++20 or later required." [...\node-nodeRT\node_modules\@nodert-win10-rs4\windows.devices.lights\build\binding.vcxproj] (compiling source file '../_nodert_generated.cpp')
The text was updated successfully, but these errors were encountered:
No branches or pull requests
NodeRT package(s) are very old. They were made in the Win8 UWP era.
They require the
/ZW
flag (C++/CX | Windows Runtime Compilation).Node v22 started to use
/std:c++20
.That's an issue because it's incompatible with
/ZW
(C++/CX).And this is unlikely to change because Microsoft has abandoned UWP/WinRT and recommends to move to C++/WinRT from C++/CX.
Altho forcing
/std:c++17
worked before when building native addons for Node v22; Electron v32 requires it.The text was updated successfully, but these errors were encountered: