CNode

nodejs从0.10升级到5.2.0问题请教

问答
Cchenqy2018发布于10 年前最后回复10 年前1 回复3733 浏览0 收藏

在进行node-gyp configure build 出现这样错误: node-gyp/5.2.0/include/node/node.h:419:43: error: overloaded function with no contextual type information (node::addon_register_func) (regfunc),
在其他的Ubuntu环境下没问题

查看回复

回复 (1)

W
wssgcg1213#1·10 年前

你自己写的c艹模块还是第三方的,估计是nan版本不兼容。从0.10到5经历了0.12,4几个v8大版本升级,nan的写法也升级了好几次,如果模块没更新的话编译通不过的。 From Noder

参与回复
登录后即可参与回复。登录