nodejs c++插件扩展

nodejs c++插件扩展:
1)安装必要条件:nodejs、python2.7、vs开发工具
2)构建环境支持:(nodejs版本要v10.0以上)
   npm install --global --production windows-build-tools
   npm config set msvs_version 2013 --global
   npm install -g node-gyp-install
   npm install -g node-gyp
   npm install -g appium
3)编写gyp脚本(编写规则):https://blog.csdn.net/u013095415/article/details/83448725
4)测试demo及部骤:https://www.cnblogs.com/99code/p/5773165.html
5)复杂c++插件样例:https://blog.csdn.net/longji/article/details/81277091
6)nodejs c++插件说明:
   官方说明:https://nodejs.org/api/addons.html#addons_wrapping_c_objects
   参考说明:https://my.oschina.net/yushulx/blog/423704
   参考说明(基于集成开发环境vs,需将nodejs v10.x源码编成引用库):https://www.csdn.net/gather_2f/NtTaYg0sMjUtYmxvZwO0O0OO0O0O.html

转载于:https://my.oschina.net/renpeng/blog/3089907

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值