getdns-node icon indicating copy to clipboard operation
getdns-node copied to clipboard

C++ Dependency Questions

Open aakilfernandes opened this issue 8 years ago • 1 comments

Hi,

I want to use this library in a desktop application (electron). Will end users need to install the c++ library? Or is that only required to build?

Cheers

aakilfernandes avatar Oct 23 '17 22:10 aakilfernandes

@aakilfernandes: getdns-node is currently "only" a wrapper around the locally installed getdns library C code, and it assumes node-gyp can find getdns.h in standard locations. Did you have any success with getdns in electron so far?

I'm not familiar with Electron, but it looks like npm dependencies which requires compilation, such as sqlite, can be included. In a similar way, you might be able to build and bundle the getdns library and external dependencies with your electron app.

This is related to #29; please follow that discussion for updates.

joelpurra avatar Dec 13 '17 08:12 joelpurra