-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compilation fails #47
Comments
Did I understand correctly that you want to compile an executable which does not use Node.js, and include In that case just put If instead you're trying to cross-compile a Node.js addon without the Node.js headers installed, the addon won't work. |
There's simply no standard mechanism for your executable to communicate with Node. I'm interested in adding a new communication channel that would work by sending binary messages in a standard format between C++ and JavaScript, and would somewhat fit your case. However, it's still in planning and unimplemented. Also, I was still planning the C++ code to run in the same process as Node.js. Your case sounds like it would involve some sort of inter-process communication. That's not entirely out of scope of |
If you have time and interest, I can help you extend |
well, to be honest, I will use some other solution or approach, but I will send you my contact now, to see if I can help you in some way. |
Thanks! I'll close this for now, then. A better solution will probably appear some day, but unfortunately not any time soon. |
Hi,
Is is possible to prebuild c++ file without node present? That is - to have my working c++ project, and just to include nbind/nbind.h like in examples, and then just compile using g++ or windows studio and have a working exec? I'm trying to do this with visual studio 2015, but
there is also error with callback function...
I'm interested in doing it this way, since I plan to use node in embedded enviroment, and it complicated to cross compile.
Maybe I'm just missing something trivial?
The text was updated successfully, but these errors were encountered: