node-native-boilerplate icon indicating copy to clipboard operation
node-native-boilerplate copied to clipboard

cannot compile hello.cc

Open exebook opened this issue 9 years ago • 0 comments

gyp info using [email protected] | linux | x64
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/home/me/hello/build'
  CXX(target) Release/obj.target/hello/hello.o
../hello.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Method(Nan::NAN_METHOD_ARGS_TYPE)’:
../hello.cc:6:12: error: ‘NanScope’ was not declared in this scope
   NanScope();
            ^

exebook avatar May 17 '16 05:05 exebook