Closed Kam1ni closed 2 months ago
cc @nodejs/gyp
It seems there has been no activity on this issue for a while, and it is being closed in 30 days. If you believe this issue should remain open, please leave a comment. If you need further assistance or have questions, you can also search for similar issues on Stack Overflow. Make sure to look at the README file for the most updated links.
It seems there has been no activity on this issue for a while, and it is being closed. If you believe this issue should remain open, please leave a comment. If you need further assistance or have questions, you can also search for similar issues on Stack Overflow. Make sure to look at the README file for the most updated links.
Details
I have a project that relies on some third party C++ closed source libraries that I want to make bindings for in Node.js. It builds fine in Node V16 but starting from V17.0.0 and above (also tested with the latest release of v18 and v20) it fails with a LNK2001 error. But only when I use a few specific functions from that lib. What changed?
The output:
Node.js version
This one works
This one and everything above fails
Example code
My
bindings.gyp
Operating system
Microsoft Windows [Version 10.0.19045.3208]
Scope
issue with node-gyp build
Module and version
Not applicable.