Closed LittleMonsterAK closed 9 years ago
I get the same
Same happens for iojs @ 1.0.2 (which is part of #20):
In file included from ../src/msgpack.cc:9:0:
../node_modules/nan/nan.h:409:19: error: 'NanNew' declared as an 'inline' variable
../node_modules/nan/nan.h:409:19: warning: 'always_inline' attribute ignored [-Wattributes]
../node_modules/nan/nan.h:409:19: error: 'v8::Local<v8::String> NanNew' redeclared as different kind of symbol
../node_modules/nan/nan.h:403:36: error: previous declaration of 'v8::Local<v8::String> NanNew(v8::String::ExternalStringResource*)'
../node_modules/nan/nan.h:409:7: error: 'ExternalAsciiStringResource' is not a member of 'v8::String'
../node_modules/nan/nan.h:409:48: error: 'resource' was not declared in this scope
../node_modules/nan/nan.h: In function 'bool _NanGetExternalParts(v8::Handle<v8::Value>, const char**, size_t*)':
../node_modules/nan/nan.h:1728:12: error: 'class v8::String' has no member named 'IsExternalAscii'
../node_modules/nan/nan.h:1729:11: error: 'ExternalAsciiStringResource' in 'class v8::String' does not name a type
../node_modules/nan/nan.h:1730:5: error: 'ext' was not declared in this scope
../node_modules/nan/nan.h:1730:16: error: 'class v8::String' has no member named 'GetExternalAsciiStringResource'
make: *** [Release/obj.target/msgpackBinding/src/msgpack.o] Error 1
I think this is resolved.
when i install msgpack with node 0.11.12,there is so many errors occured ,just like below:
CXX(target) Release/obj.target/hashvalue/src/hashvalue.o In file included from ../src/hashvalue.cc:1: ../node_modules/nan/nan.h:189:74: error: too many arguments to function call, expected at most 3, have 4 return v8::Signature::New(v8::Isolate::GetCurrent(), receiver, argc, argv);