Replies: 0 comments 4 replies
This discussion is being transferred. The timeline may not be complete until it finishes.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I'm trying to embed Node.js in my application (use its C++ API such as
node::InitializeNodeWithArgs
) and for that I want to buildnode
as a static library. Apparently./configure --enable-static --fully-static
before build is what should do the job, but I'm lost in the output directory (out/Release
) after my build succeeds. There is alibnode.a
file but just copying it to my project does not work - I get a huge list of undefined reference errors, a lot of them arev8
. I'm not very familiar with C/C++ build magic so I would appreciate an advice on how it can be done!Alternatively, I wonder what is the recommended way to use the API like
node::InitializeNodeWithArgs
without a static build? Where should I putnode
?Beta Was this translation helpful? Give feedback.
All reactions