node-png icon indicating copy to clipboard operation
node-png copied to clipboard

Cannot build under Windows 10 - node 0.12.7 - node-gyp 3.3.1

Open jamesjessian opened this issue 9 years ago • 3 comments

Various build errors. Full log of the build errors is attached. Any help appreciated, thanks.

node-png - build dump.txt

jamesjessian avatar Mar 28 '16 11:03 jamesjessian

Errors include:

..\src\common.cpp(10): error C2248: 'v8::HandleScope::HandleScope': cannot access protected member declared in  class 'v8::HandleScope'
..\src\common.cpp(11): error C2039: 'New': is not a member of 'v8::String'
..\src\common.cpp(17): error C3861: 'ThrowException': identifier not found 
fixed_png_stack.h(9): error C2039: 'ObjectWrap': is not a
member of 'node' (compiling source file ..\src\fixed_png_stack.cpp)module.cpp 
fixed_png_stack.h(25): error C2143: syntax error: missing
',' before '&' (compiling source file ..\src\fixed_png_stack.cpp) 

jamesjessian avatar Mar 28 '16 11:03 jamesjessian

I've cloned the "node-v12" branch of https://github.com/Garciat/node-png.git instead, which compiles OK.

jamesjessian avatar Mar 29 '16 08:03 jamesjessian

It even fails in the node-v12 branch , which version of node are you in ?

sayantan94 avatar Jan 13 '17 05:01 sayantan94