Replies: 2 comments 2 replies
-
@nodejs/embedders |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm hitting the same thing and curious about this as well, any new information? Thanks |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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