Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pi@RaspbFranco:~/.node-red $ npm update && npm rebuild
- > i2c-bus@1.2.5 install /home/pi/.node-red/node_modules/i2c-bus
- > node-gyp rebuild
- make: Entering directory '/home/pi/.node-red/node_modules/i2c-bus/build'
- CXX(target) Release/obj.target/i2c/src/i2c.o
- In file included from ../node_modules/nan/nan_converters.h:67:0,
- from ../node_modules/nan/nan.h:202,
- from ../src/i2c.cc:2:
- ../node_modules/nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ToFactoryBase<v8::Boolean>::return_t Nan::imp::ToFactory<v8::Boolean>::convert(v8::Local<v8::Value>)’:
- ../node_modules/nan/nan_converters_43_inl.h:18:69: error: no matching function for call to ‘v8::Value::ToBoolean(v8::Local<v8::Context>)’
- val->To ## TYPE(v8::Isolate::GetCurrent()->GetCurrentContext()) \
- ^
- ../node_modules/nan/nan_converters_43_inl.h:22:1: note: in expansion of macro ‘X’
- X(Boolean)
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2848:18: note: candidate: v8::Local<v8::Boolean> v8::Value::ToBoolean(v8::Isolate*) const
- Local<Boolean> ToBoolean(Isolate* isolate) const;
- ^~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2848:18: note: no known conversion for argument 1 from ‘v8::Local<v8::Context>’ to ‘v8::Isolate*’
- In file included from ../node_modules/nan/nan_converters.h:67:0,
- from ../node_modules/nan/nan.h:202,
- from ../src/i2c.cc:2:
- ../node_modules/nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ValueFactoryBase<bool>::return_t Nan::imp::ToFactory<bool>::convert(v8::Local<v8::Value>)’:
- ../node_modules/nan/nan_converters_43_inl.h:37:57: error: no matching function for call to ‘v8::Value::BooleanValue(v8::Local<v8::Context>)’
- return val->NAME ## Value(isolate->GetCurrentContext()); \
- ^
- ../node_modules/nan/nan_converters_43_inl.h:40:1: note: in expansion of macro ‘X’
- X(bool, Boolean)
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2858:8: note: candidate: bool v8::Value::BooleanValue(v8::Isolate*) const
- bool BooleanValue(Isolate* isolate) const;
- ^~~~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2858:8: note: no known conversion for argument 1 from ‘v8::Local<v8::Context>’ to ‘v8::Isolate*’
- In file included from ../node_modules/nan/nan_new.h:189:0,
- from ../node_modules/nan/nan.h:203,
- from ../src/i2c.cc:2:
- ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)’:
- ../node_modules/nan/nan_implementation_12_inl.h:105:32: error: no matching function for call to ‘v8::Function::New(v8::Isolate*&, void (&)(const v8::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Object>&)’
- , obj));
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:4445:31: note: candidate: static v8::MaybeLocal<v8::Function> v8::Function::New(v8::Local<v8::Context>, v8::FunctionCallback, v8::Local<v8::Value>, int, v8::ConstructorBehavior, v8::SideEffectType)
- static MaybeLocal<Function> New(
- ^~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:4445:31: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’
- In file included from ../node_modules/nan/nan_new.h:189:0,
- from ../node_modules/nan/nan.h:203,
- from ../src/i2c.cc:2:
- ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::StringObject>::return_t Nan::imp::Factory<v8::StringObject>::New(v8::Local<v8::String>)’:
- ../node_modules/nan/nan_implementation_12_inl.h:337:37: error: no matching function for call to ‘v8::StringObject::New(v8::Local<v8::String>&)’
- return v8::StringObject::New(value).As<v8::StringObject>();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:5854:23: note: candidate: static v8::Local<v8::Value> v8::StringObject::New(v8::Isolate*, v8::Local<v8::String>)
- static Local<Value> New(Isolate* isolate, Local<String> value);
- ^~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:5854:23: note: candidate expects 2 arguments, 1 provided
- In file included from ../node_modules/nan/nan_new.h:189:0,
- from ../node_modules/nan/nan.h:203,
- from ../src/i2c.cc:2:
- ../node_modules/nan/nan_implementation_12_inl.h:337:58: error: expected primary-expression before ‘>’ token
- return v8::StringObject::New(value).As<v8::StringObject>();
- ^
- ../node_modules/nan/nan_implementation_12_inl.h:337:60: error: expected primary-expression before ‘)’ token
- return v8::StringObject::New(value).As<v8::StringObject>();
- ^
- In file included from ../src/i2c.cc:2:0:
- ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
- ../node_modules/nan/nan.h:840:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
- v8::Isolate::GetCurrent(), target, func, argc, argv);
- ^
- In file included from ../src/i2c.cc:1:0:
- /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:191:50: note: declared here
- NODE_EXTERN v8::Local<v8::Value> MakeCallback(
- ^
- /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:108:42: note: in definition of macro ‘NODE_DEPRECATED’
- __attribute__((deprecated(message))) declarator
- ^~~~~~~~~~
- In file included from ../src/i2c.cc:2:0:
- ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
- ../node_modules/nan/nan.h:855:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
- v8::Isolate::GetCurrent(), target, symbol, argc, argv);
- ^
- In file included from ../src/i2c.cc:1:0:
- /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:184:50: note: declared here
- NODE_EXTERN v8::Local<v8::Value> MakeCallback(
- ^
- /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:108:42: note: in definition of macro ‘NODE_DEPRECATED’
- __attribute__((deprecated(message))) declarator
- ^~~~~~~~~~
- In file included from ../src/i2c.cc:2:0:
- ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
- ../node_modules/nan/nan.h:870:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
- v8::Isolate::GetCurrent(), target, method, argc, argv);
- ^
- In file included from ../src/i2c.cc:1:0:
- /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:177:50: note: declared here
- NODE_EXTERN v8::Local<v8::Value> MakeCallback(
- ^
- /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:108:42: note: in definition of macro ‘NODE_DEPRECATED’
- __attribute__((deprecated(message))) declarator
- ^~~~~~~~~~
- In file included from ../src/i2c.cc:2:0:
- ../node_modules/nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::Value>)’:
- ../node_modules/nan/nan.h:916:53: error: no matching function for call to ‘v8::Value::ToString()’
- v8::Local<v8::String> string = from->ToString();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2810:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
- ^~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2810:44: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:2:0:
- ../node_modules/nan/nan.h:926:74: error: no matching function for call to ‘v8::String::WriteUtf8(char*&, int, int, const int&)’
- length_ = string->WriteUtf8(str_, static_cast<int>(len), 0, flags);
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3037:7: note: candidate: int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const
- int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
- ^~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3037:7: note: no known conversion for argument 1 from ‘char*’ to ‘v8::Isolate*’
- In file included from ../src/i2c.cc:2:0:
- ../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:
- ../node_modules/nan/nan.h:1484:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
- ));
- ^
- In file included from ../src/i2c.cc:1:0:
- /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:191:50: note: declared here
- NODE_EXTERN v8::Local<v8::Value> MakeCallback(
- ^
- /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:108:42: note: in definition of macro ‘NODE_DEPRECATED’
- __attribute__((deprecated(message))) declarator
- ^~~~~~~~~~
- In file included from ../src/i2c.cc:2:0:
- ../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:
- ../node_modules/nan/nan.h:1538:64: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, const v8::Local<v8::Value>&)’
- New(persistentHandle)->Set(New(key).ToLocalChecked(), value);
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3670:37: note: candidate: v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)
- V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
- ^~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3673:37: note: candidate: v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)
- V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
- ^~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
- In file included from ../src/i2c.cc:2:0:
- ../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)’:
- ../node_modules/nan/nan.h:1544:42: error: no matching function for call to ‘v8::Object::Set(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)’
- New(persistentHandle)->Set(key, value);
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3670:37: note: candidate: v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)
- V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
- ^~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3673:37: note: candidate: v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)
- V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
- ^~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
- In file included from ../src/i2c.cc:2:0:
- ../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Local<v8::Value>&)’:
- ../node_modules/nan/nan.h:1550:44: error: no matching function for call to ‘v8::Object::Set(uint32_t&, const v8::Local<v8::Value>&)’
- New(persistentHandle)->Set(index, value);
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3670:37: note: candidate: v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)
- V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
- ^~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3673:37: note: candidate: v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)
- V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
- ^~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
- In file included from ../src/i2c.cc:2:0:
- ../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:
- ../node_modules/nan/nan.h:1556:61: error: no matching function for call to ‘v8::Object::Get(v8::Local<v8::String>)’
- New(persistentHandle)->Get(New(key).ToLocalChecked()));
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)
- V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
- ^~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)
- V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
- ^~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided
- In file included from ../src/i2c.cc:2:0:
- ../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const v8::Local<v8::String>&) const’:
- ../node_modules/nan/nan.h:1562:55: error: no matching function for call to ‘v8::Object::Get(const v8::Local<v8::String>&)’
- return scope.Escape(New(persistentHandle)->Get(key));
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)
- V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
- ^~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)
- V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
- ^~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided
- In file included from ../src/i2c.cc:2:0:
- ../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(uint32_t) const’:
- ../node_modules/nan/nan.h:1567:57: error: no matching function for call to ‘v8::Object::Get(uint32_t&)’
- return scope.Escape(New(persistentHandle)->Get(index));
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)
- V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
- ^~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)
- V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
- ^~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided
- In file included from /usr/include/c++/6/cassert:44:0,
- from /home/pi/.cache/node-gyp/14.17.2/include/node/node_object_wrap.h:26,
- from ../node_modules/nan/nan.h:53,
- from ../src/i2c.cc:2:
- ../node_modules/nan/nan_object_wrap.h: In destructor ‘virtual Nan::ObjectWrap::~ObjectWrap()’:
- ../node_modules/nan/nan_object_wrap.h:24:25: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
- assert(persistent().IsNearDeath());
- ^
- In file included from ../node_modules/nan/nan.h:2365:0,
- from ../src/i2c.cc:2:
- ../node_modules/nan/nan_object_wrap.h: In member function ‘void Nan::ObjectWrap::MakeWeak()’:
- ../node_modules/nan/nan_object_wrap.h:67:18: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘MarkIndependent’
- persistent().MarkIndependent();
- ^~~~~~~~~~~~~~~
- In file included from /usr/include/c++/6/cassert:44:0,
- from /home/pi/.cache/node-gyp/14.17.2/include/node/node_object_wrap.h:26,
- from ../node_modules/nan/nan.h:53,
- from ../src/i2c.cc:2:
- ../node_modules/nan/nan_object_wrap.h: In static member function ‘static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’:
- ../node_modules/nan/nan_object_wrap.h:124:26: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
- assert(wrap->handle_.IsNearDeath());
- ^
- In file included from ../src/i2c.cc:95:0:
- ../src/./i2cfuncs.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE I2cFuncsAsync(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../src/./i2cfuncs.cc:48:32: error: no matching function for call to ‘v8::Value::Int32Value()’
- int fd = info[0]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:95:0:
- ../src/./i2cfuncs.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE I2cFuncsSync(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../src/./i2cfuncs.cc:60:32: error: no matching function for call to ‘v8::Value::Int32Value()’
- int fd = info[0]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:96:0:
- ../src/./readbyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadByteAsync(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../src/./readbyte.cc:49:32: error: no matching function for call to ‘v8::Value::Int32Value()’
- int fd = info[0]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:96:0:
- ../src/./readbyte.cc:50:34: error: no matching function for call to ‘v8::Value::Int32Value()’
- __u8 cmd = info[1]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:96:0:
- ../src/./readbyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadByteSync(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../src/./readbyte.cc:62:32: error: no matching function for call to ‘v8::Value::Int32Value()’
- int fd = info[0]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:96:0:
- ../src/./readbyte.cc:63:34: error: no matching function for call to ‘v8::Value::Int32Value()’
- __u8 cmd = info[1]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:97:0:
- ../src/./readword.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadWordAsync(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../src/./readword.cc:49:32: error: no matching function for call to ‘v8::Value::Int32Value()’
- int fd = info[0]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:97:0:
- ../src/./readword.cc:50:34: error: no matching function for call to ‘v8::Value::Int32Value()’
- __u8 cmd = info[1]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:97:0:
- ../src/./readword.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadWordSync(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../src/./readword.cc:62:32: error: no matching function for call to ‘v8::Value::Int32Value()’
- int fd = info[0]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:97:0:
- ../src/./readword.cc:63:34: error: no matching function for call to ‘v8::Value::Int32Value()’
- __u8 cmd = info[1]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:98:0:
- ../src/./readblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadBlockAsync(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../src/./readblock.cc:66:32: error: no matching function for call to ‘v8::Value::Int32Value()’
- int fd = info[0]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:98:0:
- ../src/./readblock.cc:67:34: error: no matching function for call to ‘v8::Value::Int32Value()’
- __u8 cmd = info[1]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:98:0:
- ../src/./readblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadBlockSync(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../src/./readblock.cc:98:32: error: no matching function for call to ‘v8::Value::Int32Value()’
- int fd = info[0]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:98:0:
- ../src/./readblock.cc:99:34: error: no matching function for call to ‘v8::Value::Int32Value()’
- __u8 cmd = info[1]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:99:0:
- ../src/./readi2cblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadI2cBlockAsync(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../src/./readi2cblock.cc:69:32: error: no matching function for call to ‘v8::Value::Int32Value()’
- int fd = info[0]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:99:0:
- ../src/./readi2cblock.cc:70:34: error: no matching function for call to ‘v8::Value::Int32Value()’
- __u8 cmd = info[1]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:99:0:
- ../src/./readi2cblock.cc:71:39: error: no matching function for call to ‘v8::Value::Uint32Value()’
- __u32 length = info[2]->Uint32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2866:41: note: candidate: v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
- ^~~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2866:41: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:99:0:
- ../src/./readi2cblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadI2cBlockSync(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../src/./readi2cblock.cc:109:32: error: no matching function for call to ‘v8::Value::Int32Value()’
- int fd = info[0]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:99:0:
- ../src/./readi2cblock.cc:110:34: error: no matching function for call to ‘v8::Value::Int32Value()’
- __u8 cmd = info[1]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:99:0:
- ../src/./readi2cblock.cc:111:39: error: no matching function for call to ‘v8::Value::Uint32Value()’
- __u32 length = info[2]->Uint32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2866:41: note: candidate: v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
- ^~~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2866:41: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:100:0:
- ../src/./receivebyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReceiveByteAsync(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../src/./receivebyte.cc:48:32: error: no matching function for call to ‘v8::Value::Int32Value()’
- int fd = info[0]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:100:0:
- ../src/./receivebyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReceiveByteSync(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../src/./receivebyte.cc:60:32: error: no matching function for call to ‘v8::Value::Int32Value()’
- int fd = info[0]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:101:0:
- ../src/./sendbyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE SendByteAsync(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../src/./sendbyte.cc:47:32: error: no matching function for call to ‘v8::Value::Int32Value()’
- int fd = info[0]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:101:0:
- ../src/./sendbyte.cc:48:35: error: no matching function for call to ‘v8::Value::Int32Value()’
- __u8 byte = info[1]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:101:0:
- ../src/./sendbyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE SendByteSync(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../src/./sendbyte.cc:60:32: error: no matching function for call to ‘v8::Value::Int32Value()’
- int fd = info[0]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:101:0:
- ../src/./sendbyte.cc:61:35: error: no matching function for call to ‘v8::Value::Int32Value()’
- __u8 byte = info[1]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:102:0:
- ../src/./setaddr.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE SetAddrAsync(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../src/./setaddr.cc:47:32: error: no matching function for call to ‘v8::Value::Int32Value()’
- int fd = info[0]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:102:0:
- ../src/./setaddr.cc:48:34: error: no matching function for call to ‘v8::Value::Int32Value()’
- int addr = info[1]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:102:0:
- ../src/./setaddr.cc:49:44: error: no matching function for call to ‘v8::Value::BooleanValue()’
- bool forceAccess = info[2]->BooleanValue();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2858:8: note: candidate: bool v8::Value::BooleanValue(v8::Isolate*) const
- bool BooleanValue(Isolate* isolate) const;
- ^~~~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2858:8: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:102:0:
- ../src/./setaddr.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE SetAddrSync(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../src/./setaddr.cc:61:32: error: no matching function for call to ‘v8::Value::Int32Value()’
- int fd = info[0]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:102:0:
- ../src/./setaddr.cc:62:34: error: no matching function for call to ‘v8::Value::Int32Value()’
- int addr = info[1]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:102:0:
- ../src/./setaddr.cc:63:44: error: no matching function for call to ‘v8::Value::BooleanValue()’
- bool forceAccess = info[2]->BooleanValue();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2858:8: note: candidate: bool v8::Value::BooleanValue(v8::Isolate*) const
- bool BooleanValue(Isolate* isolate) const;
- ^~~~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2858:8: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:103:0:
- ../src/./writebyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteByteAsync(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../src/./writebyte.cc:49:32: error: no matching function for call to ‘v8::Value::Int32Value()’
- int fd = info[0]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:103:0:
- ../src/./writebyte.cc:50:34: error: no matching function for call to ‘v8::Value::Int32Value()’
- __u8 cmd = info[1]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:103:0:
- ../src/./writebyte.cc:51:35: error: no matching function for call to ‘v8::Value::Int32Value()’
- __u8 byte = info[2]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:103:0:
- ../src/./writebyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteByteSync(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../src/./writebyte.cc:63:32: error: no matching function for call to ‘v8::Value::Int32Value()’
- int fd = info[0]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:103:0:
- ../src/./writebyte.cc:64:34: error: no matching function for call to ‘v8::Value::Int32Value()’
- __u8 cmd = info[1]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:103:0:
- ../src/./writebyte.cc:65:35: error: no matching function for call to ‘v8::Value::Int32Value()’
- __u8 byte = info[2]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:104:0:
- ../src/./writeword.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteWordAsync(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../src/./writeword.cc:49:32: error: no matching function for call to ‘v8::Value::Int32Value()’
- int fd = info[0]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:104:0:
- ../src/./writeword.cc:50:34: error: no matching function for call to ‘v8::Value::Int32Value()’
- __u8 cmd = info[1]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:104:0:
- ../src/./writeword.cc:51:36: error: no matching function for call to ‘v8::Value::Int32Value()’
- __u16 word = info[2]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:104:0:
- ../src/./writeword.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteWordSync(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../src/./writeword.cc:64:32: error: no matching function for call to ‘v8::Value::Int32Value()’
- int fd = info[0]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:104:0:
- ../src/./writeword.cc:65:34: error: no matching function for call to ‘v8::Value::Int32Value()’
- __u8 cmd = info[1]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:104:0:
- ../src/./writeword.cc:66:36: error: no matching function for call to ‘v8::Value::Int32Value()’
- __u16 word = info[2]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:105:0:
- ../src/./writeblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteBlockAsync(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../src/./writeblock.cc:70:32: error: no matching function for call to ‘v8::Value::Int32Value()’
- int fd = info[0]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:105:0:
- ../src/./writeblock.cc:71:34: error: no matching function for call to ‘v8::Value::Int32Value()’
- __u8 cmd = info[1]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:105:0:
- ../src/./writeblock.cc:72:39: error: no matching function for call to ‘v8::Value::Uint32Value()’
- __u32 length = info[2]->Uint32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2866:41: note: candidate: v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
- ^~~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2866:41: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:105:0:
- ../src/./writeblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteBlockSync(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../src/./writeblock.cc:110:32: error: no matching function for call to ‘v8::Value::Int32Value()’
- int fd = info[0]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:105:0:
- ../src/./writeblock.cc:111:34: error: no matching function for call to ‘v8::Value::Int32Value()’
- __u8 cmd = info[1]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:105:0:
- ../src/./writeblock.cc:112:39: error: no matching function for call to ‘v8::Value::Uint32Value()’
- __u32 length = info[2]->Uint32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2866:41: note: candidate: v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
- ^~~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2866:41: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:106:0:
- ../src/./writei2cblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteI2cBlockAsync(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../src/./writei2cblock.cc:68:32: error: no matching function for call to ‘v8::Value::Int32Value()’
- int fd = info[0]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:106:0:
- ../src/./writei2cblock.cc:69:34: error: no matching function for call to ‘v8::Value::Int32Value()’
- __u8 cmd = info[1]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:106:0:
- ../src/./writei2cblock.cc:70:39: error: no matching function for call to ‘v8::Value::Uint32Value()’
- __u32 length = info[2]->Uint32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2866:41: note: candidate: v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
- ^~~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2866:41: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:106:0:
- ../src/./writei2cblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteI2cBlockSync(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../src/./writei2cblock.cc:108:32: error: no matching function for call to ‘v8::Value::Int32Value()’
- int fd = info[0]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:106:0:
- ../src/./writei2cblock.cc:109:34: error: no matching function for call to ‘v8::Value::Int32Value()’
- __u8 cmd = info[1]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:106:0:
- ../src/./writei2cblock.cc:110:39: error: no matching function for call to ‘v8::Value::Uint32Value()’
- __u32 length = info[2]->Uint32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2866:41: note: candidate: v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
- ^~~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2866:41: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:107:0:
- ../src/./writequick.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteQuickAsync(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../src/./writequick.cc:47:32: error: no matching function for call to ‘v8::Value::Int32Value()’
- int fd = info[0]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:107:0:
- ../src/./writequick.cc:48:34: error: no matching function for call to ‘v8::Value::Int32Value()’
- __u8 bit = info[1]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:107:0:
- ../src/./writequick.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteQuickSync(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../src/./writequick.cc:60:32: error: no matching function for call to ‘v8::Value::Int32Value()’
- int fd = info[0]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/i2c.cc:107:0:
- ../src/./writequick.cc:61:34: error: no matching function for call to ‘v8::Value::Int32Value()’
- __u8 bit = info[1]->Int32Value();
- ^
- In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
- from ../src/i2c.cc:1:
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
- ^~~~~~~~~~
- /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
- i2c.target.mk:111: recipe for target 'Release/obj.target/i2c/src/i2c.o' failed
- make: *** [Release/obj.target/i2c/src/i2c.o] Error 1
- make: Leaving directory '/home/pi/.node-red/node_modules/i2c-bus/build'
- gyp ERR! build error
- gyp ERR! stack Error: `make` failed with exit code: 2
- gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
- gyp ERR! stack at ChildProcess.emit (events.js:375:28)
- gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
- gyp ERR! System Linux 4.19.66-v7+
- gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
- gyp ERR! cwd /home/pi/.node-red/node_modules/i2c-bus
- gyp ERR! node -v v14.17.2
- gyp ERR! node-gyp -v v5.1.0
- gyp ERR! not ok
- npm ERR! code ELIFECYCLE
- npm ERR! errno 1
- npm ERR! i2c-bus@1.2.5 install: `node-gyp rebuild`
- npm ERR! Exit status 1
- npm ERR!
- npm ERR! Failed at the i2c-bus@1.2.5 install script.
- npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
- npm ERR! A complete log of this run can be found in:
- npm ERR! /home/pi/.npm/_logs/2021-07-09T11_14_58_342Z-debug.log
- pi@RaspbFranco:~/.node-red $
Add Comment
Please, Sign In to add comment