Closed billtohara closed 1 month ago
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 am using node 20.8.0. I have compiled it to a static library by passing
--fully-static --enable-static
to the configure script and building as normal. I'm following the embedding guide (and also a simpler version simply callingnode::Start(argc, argv);
from my test main program.This works fine as documented. But I'm lost when trying to write a new add-on, with the code in the same binary, and using it from within the embedded node.
Is there a guide or example of how to achieve this? Any pointers welcome!
Node.js version
Example code
where my main program is
Operating system
macOS (14.0) ubuntu 22.04
Scope
Embedding, statically linked, statically linked add on
Module and version
Not applicable.