Friday, 9 June 2017

Which combination of versions is proven to work (node, swig, node-gyp)

I am building an electron application that is supposed to access a custom C++ lib. Following this post (How can I use a C++ library from node.js?), I tried using swig for the job. Unfortunately, not even the given example is working on my machine (node-gyp build is returning errors in combination with V8). Since the post is from 2015 and I am running the latest versions of node, node-gyp, V8 and swig on my system, I am assuming some version incompatability problems. Currently I am running:

  • Node v8.0.0
  • V8 5.8.283.41
  • swigwin 3.0.12
  • node-gyp v3.6.2

What set of versions of the above tools is kown to work?



via maximilian009

No comments:

Post a Comment