Open seanmcilvenna opened 8 years ago
Here are the errors I am getting with 4.2.1:
> saxon-node@0.0.5 install c:\MYPROJECT\node.js\node_modules\saxon-node
> node-pre-gyp install --fallback-to-build
c:\MYPROJECT\node.js\node_modules\saxon-node>if not defined npm_config_node_gyp (node "C:\Users\Sean\AppData\Roaming\nvm\v4.2.1\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" clean ) else (node clean )
c:\MYPROJECT\node.js\node_modules\saxon-node>if not defined npm_config_node_gyp (node "C:\Users\Sean\AppData\Roaming\nvm\v4.2.1\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" configure --fallback-to-build --module=c:\MYPROJECT\node.js\node_modules\saxon-node\lib\binding\saxonXslt.node --module_name=saxonXslt --module_path=c:\MYPROJECT\node.js\node_modules\saxon-node\lib\binding ) else (node configure --fallback-to-build --module=c:\MYPROJECT\node.js\node_modules\saxon-node\lib\binding\saxonXslt.node --module_name=saxonXslt --module_path=c:\MYPROJECT\node.js\node_modules\saxon-node\lib\binding )
c:\MYPROJECT\node.js\node_modules\saxon-node>if not defined npm_config_node_gyp (node "C:\Users\Sean\AppData\Roaming\nvm\v4.2.1\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" build --fallback-to-build --module=c:\MYPROJECT\node.js\node_modules\saxon-node\lib\binding\saxonXslt.node --module_name=saxonXslt --module_path=c:\MYPROJECT\node.js\node_modules\saxon-node\lib\binding ) else (node build --fallback-to-build --module=c:\MYPROJECT\node.js\node_modules\saxon-node\lib\binding\saxonXslt.node --module_name=saxonXslt --module_path=c:\MYPROJECT\node.js\node_modules\saxon-node\lib\binding )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
SaxonProcessor.cpp
SaxonProcessorJS.cxx
saxonXslt.cxx
..\src\SaxonProcessor.cpp(160): warning C4101: 'mID' : unreferenced local variable [c:\MYPROJECT\node.js\node_modules\saxon-node\build\saxonXslt.vcxproj]
..\src\SaxonProcessor.cpp(161): warning C4101: 'obj' : unreferenced local variable [c:\MYPROJECT\node.js\node_modules\saxon-node\build\saxonXslt.vcxproj]
..\src\SaxonProcessor.cpp(174): warning C4101: 'mID' : unreferenced local variable [c:\MYPROJECT\node.js\node_modules\saxon-node\build\saxonXslt.vcxproj]
..\src\SaxonProcessor.cpp(193): warning C4101: 'mID' : unreferenced local variable [c:\MYPROJECT\node.js\node_modules\saxon-node\build\saxonXslt.vcxproj]
c:\MYPROJECT\node.js\node_modules\saxon-node\src\XsltProcessorJS.hpp(202): error C2665: 'node::Buffer::New' : none of the 4 overloads could convert all the argument types (..\src\saxonXslt.cxx) [c:\MYPROJECT\node.js\node_modules\saxon-node\build\saxonXslt.vcxproj]
C:\Users\Sean\.node-gyp\4.2.1\include\node\node_buffer.h(43): could be 'v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate *,char *,size_t)'
C:\Users\Sean\.node-gyp\4.2.1\include\node\node_buffer.h(31): or 'v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate *,v8::Local<v8::String>,node::encoding)'
while trying to match the argument list '(v8::Isolate *, const char *, size_t)'
c:\MYPROJECT\node.js\node_modules\saxon-node\src\XsltProcessorJS.hpp(210): error C2039: 'IsDirty' : is not a member of 'v8::Object' (..\src\saxonXslt.cxx) [c:\MYPROJECT\node.js\node_modules\saxon-node\build\saxonXslt.vcxproj]
c:\users\sean\.node-gyp\4.2.1\include\node\v8.h(2587) : see declaration of 'v8::Object'
c:\MYPROJECT\node.js\node_modules\saxon-node\src\XsltProcessorJS.hpp(235): error C2665: 'node::Buffer::New' : none of the 4 overloads could convert all the argument types (..\src\saxonXslt.cxx) [c:\MYPROJECT\node.js\node_modules\saxon-node\build\saxonXslt.vcxproj]
C:\Users\Sean\.node-gyp\4.2.1\include\node\node_buffer.h(43): could be 'v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate *,char *,size_t)'
C:\Users\Sean\.node-gyp\4.2.1\include\node\node_buffer.h(31): or 'v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate *,v8::Local<v8::String>,node::encoding)'
while trying to match the argument list '(v8::Isolate *, const char *, size_t)'
c:\MYPROJECT\node.js\node_modules\saxon-node\src\XsltProcessorJS.hpp(202): error C2665: 'node::Buffer::New' : none of the 4 overloads could convert all the argument types (..\src\SaxonProcessorJS.cxx) [c:\MYPROJECT\node.js\node_modules\saxon-node\build\saxonXslt.vcxproj]
C:\Users\Sean\.node-gyp\4.2.1\include\node\node_buffer.h(43): could be 'v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate *,char *,size_t)'
C:\Users\Sean\.node-gyp\4.2.1\include\node\node_buffer.h(31): or 'v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate *,v8::Local<v8::String>,node::encoding)'
while trying to match the argument list '(v8::Isolate *, const char *, size_t)'
c:\MYPROJECT\node.js\node_modules\saxon-node\src\XsltProcessorJS.hpp(252): error C2665: 'node::Buffer::New' : none of the 4 overloads could convert all the argument types (..\src\saxonXslt.cxx) [c:\MYPROJECT\node.js\node_modules\saxon-node\build\saxonXslt.vcxproj]
C:\Users\Sean\.node-gyp\4.2.1\include\node\node_buffer.h(43): could be 'v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate *,char *,size_t)'
C:\Users\Sean\.node-gyp\4.2.1\include\node\node_buffer.h(31): or 'v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate *,v8::Local<v8::String>,node::encoding)'
while trying to match the argument list '(v8::Isolate *, const char *, size_t)'
c:\MYPROJECT\node.js\node_modules\saxon-node\src\XsltProcessorJS.hpp(210): error C2039: 'IsDirty' : is not a member of 'v8::Object' (..\src\SaxonProcessorJS.cxx) [c:\MYPROJECT\node.js\node_modules\saxon-node\build\saxonXslt.vcxproj]
C:\Users\Sean\.node-gyp\4.2.1\include\node\v8.h(2587) : see declaration of 'v8::Object'
c:\MYPROJECT\node.js\node_modules\saxon-node\src\XsltProcessorJS.hpp(235): error C2665: 'node::Buffer::New' : none of the 4 overloads could convert all the argument types (..\src\SaxonProcessorJS.cxx) [c:\MYPROJECT\node.js\node_modules\saxon-node\build\saxonXslt.vcxproj]
C:\Users\Sean\.node-gyp\4.2.1\include\node\node_buffer.h(43): could be 'v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate *,char *,size_t)'
C:\Users\Sean\.node-gyp\4.2.1\include\node\node_buffer.h(31): or 'v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate *,v8::Local<v8::String>,node::encoding)'
while trying to match the argument list '(v8::Isolate *, const char *, size_t)'
c:\MYPROJECT\node.js\node_modules\saxon-node\src\XsltProcessorJS.hpp(252): error C2665: 'node::Buffer::New' : none of the 4 overloads could convert all the argument types (..\src\SaxonProcessorJS.cxx) [c:\MYPROJECT\node.js\node_modules\saxon-node\build\saxonXslt.vcxproj]
C:\Users\Sean\.node-gyp\4.2.1\include\node\node_buffer.h(43): could be 'v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate *,char *,size_t)'
C:\Users\Sean\.node-gyp\4.2.1\include\node\node_buffer.h(31): or 'v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate *,v8::Local<v8::String>,node::encoding)'
while trying to match the argument list '(v8::Isolate *, const char *, size_t)'
c:\MYPROJECT\node.js\node_modules\saxon-node\src\XQueryProcessorJS.hpp(198): error C2039: 'IsDirty' : is not a member of 'v8::Object' (..\src\saxonXslt.cxx) [c:\MYPROJECT\node.js\node_modules\saxon-node\build\saxonXslt.vcxproj]
c:\users\sean\.node-gyp\4.2.1\include\node\v8.h(2587) : see declaration of 'v8::Object'
c:\MYPROJECT\node.js\node_modules\saxon-node\src\XQueryProcessorJS.hpp(214): error C2665: 'node::Buffer::New' : none of the 4 overloads could convert all the argument types (..\src\saxonXslt.cxx) [c:\MYPROJECT\node.js\node_modules\saxon-node\build\saxonXslt.vcxproj]
C:\Users\Sean\.node-gyp\4.2.1\include\node\node_buffer.h(43): could be 'v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate *,char *,size_t)'
C:\Users\Sean\.node-gyp\4.2.1\include\node\node_buffer.h(31): or 'v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate *,v8::Local<v8::String>,node::encoding)'
while trying to match the argument list '(v8::Isolate *, const char *, size_t)'
c:\MYPROJECT\node.js\node_modules\saxon-node\src\XQueryProcessorJS.hpp(198): error C2039: 'IsDirty' : is not a member of 'v8::Object' (..\src\SaxonProcessorJS.cxx) [c:\MYPROJECT\node.js\node_modules\saxon-node\build\saxonXslt.vcxproj]
C:\Users\Sean\.node-gyp\4.2.1\include\node\v8.h(2587) : see declaration of 'v8::Object'
c:\MYPROJECT\node.js\node_modules\saxon-node\src\XQueryProcessorJS.hpp(214): error C2665: 'node::Buffer::New' : none of the 4 overloads could convert all the argument types (..\src\SaxonProcessorJS.cxx) [c:\MYPROJECT\node.js\node_modules\saxon-node\build\saxonXslt.vcxproj]
C:\Users\Sean\.node-gyp\4.2.1\include\node\node_buffer.h(43): could be 'v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate *,char *,size_t)'
C:\Users\Sean\.node-gyp\4.2.1\include\node\node_buffer.h(31): or 'v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate *,v8::Local<v8::String>,node::encoding)'
while trying to match the argument list '(v8::Isolate *, const char *, size_t)'
c:\MYPROJECT\node.js\node_modules\saxon-node\src\XQueryProcessorJS.hpp(244): error C2665: 'node::Buffer::New' : none of the 4 overloads could convert all the argument types (..\src\saxonXslt.cxx) [c:\MYPROJECT\node.js\node_modules\saxon-node\build\saxonXslt.vcxproj]
C:\Users\Sean\.node-gyp\4.2.1\include\node\node_buffer.h(43): could be 'v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate *,char *,size_t)'
C:\Users\Sean\.node-gyp\4.2.1\include\node\node_buffer.h(31): or 'v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate *,v8::Local<v8::String>,node::encoding)'
while trying to match the argument list '(v8::Isolate *, const char *, size_t)'
c:\MYPROJECT\node.js\node_modules\saxon-node\src\XQueryProcessorJS.hpp(261): error C2665: 'node::Buffer::New' : none of the 4 overloads could convert all the argument types (..\src\saxonXslt.cxx) [c:\MYPROJECT\node.js\node_modules\saxon-node\build\saxonXslt.vcxproj]
C:\Users\Sean\.node-gyp\4.2.1\include\node\node_buffer.h(43): could be 'v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate *,char *,size_t)'
C:\Users\Sean\.node-gyp\4.2.1\include\node\node_buffer.h(31): or 'v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate *,v8::Local<v8::String>,node::encoding)'
while trying to match the argument list '(v8::Isolate *, const char *, size_t)'
c:\MYPROJECT\node.js\node_modules\saxon-node\src\XQueryProcessorJS.hpp(244): error C2665: 'node::Buffer::New' : none of the 4 overloads could convert all the argument types (..\src\SaxonProcessorJS.cxx) [c:\MYPROJECT\node.js\node_modules\saxon-node\build\saxonXslt.vcxproj]
C:\Users\Sean\.node-gyp\4.2.1\include\node\node_buffer.h(43): could be 'v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate *,char *,size_t)'
C:\Users\Sean\.node-gyp\4.2.1\include\node\node_buffer.h(31): or 'v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate *,v8::Local<v8::String>,node::encoding)'
while trying to match the argument list '(v8::Isolate *, const char *, size_t)'
c:\MYPROJECT\node.js\node_modules\saxon-node\src\XQueryProcessorJS.hpp(261): error C2665: 'node::Buffer::New' : none of the 4 overloads could convert all the argument types (..\src\SaxonProcessorJS.cxx) [c:\MYPROJECT\node.js\node_modules\saxon-node\build\saxonXslt.vcxproj]
C:\Users\Sean\.node-gyp\4.2.1\include\node\node_buffer.h(43): could be 'v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate *,char *,size_t)'
C:\Users\Sean\.node-gyp\4.2.1\include\node\node_buffer.h(31): or 'v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate *,v8::Local<v8::String>,node::encoding)'
while trying to match the argument list '(v8::Isolate *, const char *, size_t)'
Failed to execute 'node-gyp.cmd build --fallback-to-build --module=c:\MYPROJECT\node.js\node_modules\saxon-node\lib\binding\saxonXslt.node --module_name=saxonXslt --module_path=c:\MYPROJECT\node.js\node_modules\saxon-node\lib\binding' (1)
I'm also testing v5.0.0
with v5.0.0 it built a prebuilt for this package at v0.1.1
Hi, would it be possible to add support for the latest version of Node.JS?