How to build nodejs as a shared library from source code
问题 I need to include node.h in my c++ project, I tried to build node from source code using: ./configure sudo make I got a node executable and some object files and .a files, I need to build as .so file to use it in my c++ code. I tried to build libnode, but I got cmakelists error and this is not official nodejs project. if anybody know how to build nodejs from source code as .so file will be great, a similar question in a google group but the answer is not working. 回答1: I think it is easier to