node.js - Does Simplified Wrapper and Interface Generator generate Javascript -
i need use swig connect c code nodejs after run command:
sudo apt-get install swig
and use command :
swig -javascript -node -c++ example.i
i got error message: swig erro:inrecognized javascript option.
you can find supported languages of swig on http://www.swig.org/compat.html. can see javascript added in version 3.0.1. install swig 3 use:
sudo apt-get install swig3
and create javascript proxy use:
swig3 -javascript -node -c++ example.i
Comments
Post a Comment