You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a C++ project with a lot of libraries (A, B, C ...). I would like to have one "nbind" library for each of them (nbind_A, nbind_B, nbind_C ...).
I managed to compile the nbind_X.node libraries using node-cmake but I am not sure how to use them in a JS script. How would you do to be able to requiere these nbind_X libraries from a JS script?
Thank you for your help
The text was updated successfully, but these errors were encountered:
BotellaA
changed the title
Output name other than nbind
Several libraries with nbind
Jan 12, 2018
I understood that I needed a nbind_X.js for each library. Having done that (by copying and editing your nbind.js), I can require all my nbind_X libraries.
However, is it possible to use a function defined in the nbind_B that takes as parameter an object defined in nbind_A? I get an "Unbound type" error if I try.
Hello,
I have a C++ project with a lot of libraries (A, B, C ...). I would like to have one "nbind" library for each of them (nbind_A, nbind_B, nbind_C ...).
I managed to compile the nbind_X.node libraries using node-cmake but I am not sure how to use them in a JS script. How would you do to be able to requiere these nbind_X libraries from a JS script?
Thank you for your help
The text was updated successfully, but these errors were encountered: