Skip to content

Where to find "node.lib" for all operating systems and archs? #4787

Answered by Danielku15
Danielku15 asked this question in Q&A
Discussion options

You must be logged in to vote

building an add-on; needs node-gyp, anything else means you're on your own and godspeed (edit: take a look at cmake-js)

I can confirm that this point is my goal. node-gyp is not in my interest to use due to various reasons I can share if anyone is interested. The main reason is: I have already a fully working setup for cross compiling 16 static libs (skia) and 29 shared libs (my wrapper) targeting 2 other runtimes (.net & java) and don't want to reinvent the wheel for Node only with (especially considering nodejs/node-gyp#2295). 😫

The statement that node-gyp is mandatory is not fully true, this toolchain also just calls other compilers with the right inputs. It definitely makes things e…

Replies: 0 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@Danielku15
Comment options

Answer selected by Danielku15
@bnoordhuis
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants