vcbuild does not always generate field <TargetMachine> in project files. #13569
Labels
build
Issues and PRs related to build files or the CI.
confirmed-bug
Issues with confirmed bugs.
help wanted
Issues that need assistance from volunteers or PRs that need help to proceed.
windows
Issues and PRs related to the Windows platform.
Projects
When generating project files for node, gyp does not include for librarian but does so for linker. As a result the linking fails as MSBuild will default unknown machine to x64 (on x64 platforms).
The result is as follows:
This is manually easily fixed by modyfying .vcxproj file to include proper inside .
For instance, from the above command, the node.vcxproj file in Debug|Win32 configuration has this entry:
If I modify it to
Everything works great.
Inside
node\tools\gyp\pylib\gyp\msvs_emulation.py
in function GetLibFlags (line: 515) it says to add specific machine, but for some reason it's not added later on to the project file.
The text was updated successfully, but these errors were encountered: