Newbie question here.
I would like to build a custom node to get images from a thermal camera directly in Node-Red. In order to do that I need to create a NodeJS wrapper to a C++ DLL available in the camera SDK. The SDK is available online either for Windows and Linux.
Here the question, what is the best way to package a node which uses an external compiled library? Should I let the user download the SDK or should I create a script for automatically downloading the SDK from the remote server?
While I would lean towards making it as easy as possible for the user (e.g. a script that downloads and installs it) it will depend on under what restrictions the SDK is made available. It may be that the people providing the SDK require users to accept certain terms and conditions before downloading, that would mean that a script would circumvent that requirement.
I completly understand. I think I will start by letting user downloading the SDK. In the documentation I will explain how to get the SDK and how to properly configure the node.
No, actually I'm using the node-ffi-napi module. Not sure it is the best way to do that but, it is definitely the easiest way to call the DLL functions within NodeJS.