Closed buggedcom closed 5 years ago
I can't get it to install on Node 12.2.0. It seems to fail when attempting node-gyp rebuild.
What version of node is supported by the library?
ubuntu@ubuntu:~$ npm install > easybotics-rpi-rgb-led-matrix@0.2.6 install /home/ubuntu/node_modules/easybotics-rpi-rgb-led-matrix > node-gyp rebuild make: Entering directory '/home/ubuntu/node_modules/easybotics-rpi-rgb-led-matrix/build' CXX(target) Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/transformer.o CXX(target) Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/thread.o CXX(target) Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/pixel-mapper.o CXX(target) Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/options-initialize.o CXX(target) Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/multiplex-mappers.o CXX(target) Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/led-matrix-c.o CXX(target) Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/led-matrix.o CXX(target) Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/graphics.o CXX(target) Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/gpio.o ../external/matrix/lib/gpio.cc: In function ‘void rgb_matrix::{anonymous}::DisableRealtimeThrottling()’: ../external/matrix/lib/gpio.cc:330:8: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] write(out, "-1", 2); ~~~~~^~~~~~~~~~~~~~ CXX(target) Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/framebuffer.o CXX(target) Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/content-streamer.o CXX(target) Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/bdf-font.o CC(target) Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/hardware-mapping.o AR(target) Release/obj.target/rpi-rgb-led-matrix.a COPY Release/rpi-rgb-led-matrix.a CXX(target) Release/obj.target/node-rpi-rgb-led-matrix/src/base.o CXX(target) Release/obj.target/node-rpi-rgb-led-matrix/src/ledmatrix.o ../src/ledmatrix.cc: In static member function ‘static void LedMatrix::Init(v8::Local<v8::Object>)’: ../src/ledmatrix.cc:78:37: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’ constructor.Reset(tpl->GetFunction()); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:5947:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>) V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction( ^~~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:5947:46: note: candidate expects 1 argument, 0 provided ../src/ledmatrix.cc:80:72: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’ exports->Set(Nan::New("LedMatrix").ToLocalChecked(), tpl->GetFunction()); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:5947:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>) V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction( ^~~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:5947:46: note: candidate expects 1 argument, 0 provided ../src/ledmatrix.cc: In static member function ‘static void LedMatrix::DrawText(const Nan::FunctionCallbackInfo<v8::Value>&)’: ../src/ledmatrix.cc:201:26: error: no matching function for call to ‘v8::Value::ToInteger()’ x = args[0]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:206:26: error: no matching function for call to ‘v8::Value::ToInteger()’ y = args[1]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:211:47: error: no matching function for call to ‘v8::Value::ToString()’ v8::String::Utf8Value str(args[2]->ToString()); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2528:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString( ^~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2528:44: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2544:35: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const Local<String> ToString(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2544:35: note: candidate expects 1 argument, 0 provided Local<String> ToString(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:217:47: error: no matching function for call to ‘v8::Value::ToString()’ v8::String::Utf8Value str(args[3]->ToString()); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2528:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString( ^~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2528:44: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2544:35: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const Local<String> ToString(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2544:35: note: candidate expects 1 argument, 0 provided Local<String> ToString(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:223:26: error: no matching function for call to ‘v8::Value::ToInteger()’ r = args[4]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:228:26: error: no matching function for call to ‘v8::Value::ToInteger()’ g = args[5]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:233:26: error: no matching function for call to ‘v8::Value::ToInteger()’ b = args[6]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc: In static member function ‘static void LedMatrix::DrawCircle(const Nan::FunctionCallbackInfo<v8::Value>&)’: ../src/ledmatrix.cc:259:26: error: no matching function for call to ‘v8::Value::ToInteger()’ x = args[0]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:264:26: error: no matching function for call to ‘v8::Value::ToInteger()’ y = args[1]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:269:31: error: no matching function for call to ‘v8::Value::ToInteger()’ radius = args[2]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:274:26: error: no matching function for call to ‘v8::Value::ToInteger()’ r = args[3]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:279:26: error: no matching function for call to ‘v8::Value::ToInteger()’ g = args[4]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:284:26: error: no matching function for call to ‘v8::Value::ToInteger()’ b = args[5]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc: In static member function ‘static void LedMatrix::DrawLine(const Nan::FunctionCallbackInfo<v8::Value>&)’: ../src/ledmatrix.cc:310:27: error: no matching function for call to ‘v8::Value::ToInteger()’ x0 = args[0]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:315:27: error: no matching function for call to ‘v8::Value::ToInteger()’ y0 = args[1]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:320:27: error: no matching function for call to ‘v8::Value::ToInteger()’ x1 = args[2]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:325:27: error: no matching function for call to ‘v8::Value::ToInteger()’ y1 = args[3]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:330:26: error: no matching function for call to ‘v8::Value::ToInteger()’ r = args[4]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:335:26: error: no matching function for call to ‘v8::Value::ToInteger()’ g = args[5]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:341:26: error: no matching function for call to ‘v8::Value::ToInteger()’ b = args[6]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc: In static member function ‘static void LedMatrix::Brightness(const Nan::FunctionCallbackInfo<v8::Value>&)’: ../src/ledmatrix.cc:357:25: error: no matching function for call to ‘v8::Value::ToInteger()’ b = args[0]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc: In static member function ‘static void LedMatrix::New(const Nan::FunctionCallbackInfo<v8::Value>&)’: ../src/ledmatrix.cc:384:29: error: no matching function for call to ‘v8::Value::ToInteger()’ rows = args[0]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:387:29: error: no matching function for call to ‘v8::Value::ToInteger()’ cols = args[1]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:391:32: error: no matching function for call to ‘v8::Value::ToInteger()’ chained = args[2]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:394:33: error: no matching function for call to ‘v8::Value::ToInteger()’ parallel = args[3]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:398:35: error: no matching function for call to ‘v8::Value::ToInteger()’ brightness = args[4]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:404:47: error: no matching function for call to ‘v8::Value::ToString()’ v8::String::Utf8Value str(args[5]->ToString()); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2528:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString( ^~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2528:44: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2544:35: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const Local<String> ToString(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2544:35: note: candidate expects 1 argument, 0 provided Local<String> ToString(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:410:47: error: no matching function for call to ‘v8::Value::ToString()’ v8::String::Utf8Value str(args[6]->ToString()); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2528:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString( ^~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2528:44: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2544:35: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const Local<String> ToString(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2544:35: note: candidate expects 1 argument, 0 provided Local<String> ToString(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc: In static member function ‘static void LedMatrix::SetPixel(const Nan::FunctionCallbackInfo<v8::Value>&)’: ../src/ledmatrix.cc:444:31: error: no matching function for call to ‘v8::Value::ToInteger()’ int x = args[0]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:445:31: error: no matching function for call to ‘v8::Value::ToInteger()’ int y = args[1]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:446:31: error: no matching function for call to ‘v8::Value::ToInteger()’ int r = args[2]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:447:31: error: no matching function for call to ‘v8::Value::ToInteger()’ int g = args[3]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:448:31: error: no matching function for call to ‘v8::Value::ToInteger()’ int b = args[4]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc: In static member function ‘static void LedMatrix::Clear(const Nan::FunctionCallbackInfo<v8::Value>&)’: ../src/ledmatrix.cc:458:30: error: no matching function for call to ‘v8::Value::ToInteger()’ int x = args[0]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:459:32: error: no matching function for call to ‘v8::Value::ToInteger()’ int y = args[1]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:460:32: error: no matching function for call to ‘v8::Value::ToInteger()’ int w = args[2]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:461:32: error: no matching function for call to ‘v8::Value::ToInteger()’ int h = args[3]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc: In static member function ‘static void LedMatrix::Fill(const Nan::FunctionCallbackInfo<v8::Value>&)’: ../src/ledmatrix.cc:476:29: error: no matching function for call to ‘v8::Value::ToInteger()’ int r = args[0]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:477:31: error: no matching function for call to ‘v8::Value::ToInteger()’ int g = args[1]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:478:31: error: no matching function for call to ‘v8::Value::ToInteger()’ int b = args[2]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc: In static member function ‘static void LedMatrix::SetImageBuffer(const Nan::FunctionCallbackInfo<v8::Value>&)’: ../src/ledmatrix.cc:490:45: error: no matching function for call to ‘v8::Value::ToObject()’ char* buf = Buffer::Data(args[0]->ToObject()); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2532:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject( ^~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2546:35: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const Local<Object> ToObject(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2546:35: note: candidate expects 1 argument, 0 provided Local<Object> ToObject(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:491:49: error: no matching function for call to ‘v8::Value::ToObject()’ size_t bufl = Buffer::Length(args[0]->ToObject()); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2532:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject( ^~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2546:35: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const Local<Object> ToObject(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2546:35: note: candidate expects 1 argument, 0 provided Local<Object> ToObject(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:492:33: error: no matching function for call to ‘v8::Value::ToInteger()’ int width = args[1]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:493:34: error: no matching function for call to ‘v8::Value::ToInteger()’ int height = args[2]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc: In static member function ‘static void LedMatrix::Draw(const Nan::FunctionCallbackInfo<v8::Value>&)’: ../src/ledmatrix.cc:522:75: error: no matching function for call to ‘v8::Value::ToInteger()’ if(args.Length() > 0 && args[0]->IsNumber()) startx = args[0]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:523:75: error: no matching function for call to ‘v8::Value::ToInteger()’ if(args.Length() > 1 && args[1]->IsNumber()) starty = args[1]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:532:74: error: no matching function for call to ‘v8::Value::ToInteger()’ if(args.Length() > 2 && args[2]->IsNumber()) width = args[2]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:533:75: error: no matching function for call to ‘v8::Value::ToInteger()’ if(args.Length() > 3 && args[3]->IsNumber()) height = args[3]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:534:73: error: no matching function for call to ‘v8::Value::ToInteger()’ if(args.Length() > 4 && args[4]->IsNumber()) imgx = args[4]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:535:73: error: no matching function for call to ‘v8::Value::ToInteger()’ if(args.Length() > 5 && args[5]->IsNumber()) imgy = args[5]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:536:75: error: no matching function for call to ‘v8::Value::ToBoolean()’ if(args.Length() > 6 && args[6]->IsBoolean()) looph = args[6]->ToBoolean()->Value(); ^ In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2524:63: note: candidate: v8::MaybeLocal<v8::Boolean> v8::Value::ToBoolean(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean( ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2524:63: note: candidate expects 1 argument, 0 provided V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean( ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2540:18: note: candidate: v8::Local<v8::Boolean> v8::Value::ToBoolean(v8::Isolate*) const Local<Boolean> ToBoolean(Isolate* isolate) const; ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2540:18: note: candidate expects 1 argument, 0 provided ../src/ledmatrix.cc:537:75: error: no matching function for call to ‘v8::Value::ToBoolean()’ if(args.Length() > 7 && args[7]->IsBoolean()) loopv = args[7]->ToBoolean()->Value(); ^ In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2524:63: note: candidate: v8::MaybeLocal<v8::Boolean> v8::Value::ToBoolean(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean( ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2524:63: note: candidate expects 1 argument, 0 provided V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean( ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2540:18: note: candidate: v8::Local<v8::Boolean> v8::Value::ToBoolean(v8::Isolate*) const Local<Boolean> ToBoolean(Isolate* isolate) const; ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2540:18: note: candidate expects 1 argument, 0 provided ../src/ledmatrix.cc: In static member function ‘static void LedMatrix::Scroll(const Nan::FunctionCallbackInfo<v8::Value>&)’: ../src/ledmatrix.cc:553:75: error: no matching function for call to ‘v8::Value::ToInteger()’ if(args.Length() > 1 && args[1]->IsNumber()) startx = args[1]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:554:75: error: no matching function for call to ‘v8::Value::ToInteger()’ if(args.Length() > 2 && args[2]->IsNumber()) starty = args[2]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:562:75: error: no matching function for call to ‘v8::Value::ToInteger()’ if(args.Length() > 3 && args[3]->IsNumber()) width = args[3]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:563:76: error: no matching function for call to ‘v8::Value::ToInteger()’ if(args.Length() > 4 && args[4]->IsNumber()) height = args[4]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:564:76: error: no matching function for call to ‘v8::Value::ToInteger()’ if(args.Length() > 5 && args[5]->IsNumber()) scroll = args[5]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:565:75: error: no matching function for call to ‘v8::Value::ToInteger()’ if(args.Length() > 6 && args[6]->IsNumber()) speed = args[6]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc:566:74: error: no matching function for call to ‘v8::Value::ToInteger()’ if(args.Length() > 7 && args[7]->IsNumber()) loop = args[7]->ToInteger()->Value(); ^ In file included from ../src/ledmatrix.cc:9:0: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger( ^~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2534:45: note: candidate expects 1 argument, 0 provided In file included from /home/ubuntu/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:25, from ../src/ledmatrix.cc:9: /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/ubuntu/.node-gyp/12.2.0/include/node/v8.h:2548:36: note: candidate expects 1 argument, 0 provided Local<Integer> ToInteger(Isolate* isolate) const); ^ /home/ubuntu/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/ledmatrix.cc: In static member function ‘static void LedMatrix::UV_AfterScroll(uv_work_t*, int)’: ../src/ledmatrix.cc:681:25: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] uv->callback->Call(0, 0); ^ In file included from ../include/ledmatrix.h:17:0, from ../src/ledmatrix.cc:17: ../../nan/nan.h:1740:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ node-rpi-rgb-led-matrix.target.mk:118: recipe for target 'Release/obj.target/node-rpi-rgb-led-matrix/src/ledmatrix.o' failed make: *** [Release/obj.target/node-rpi-rgb-led-matrix/src/ledmatrix.o] Error 1 make: Leaving directory '/home/ubuntu/node_modules/easybotics-rpi-rgb-led-matrix/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:262:23) gyp ERR! stack at ChildProcess.emit (events.js:196:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:257:12) gyp ERR! System Linux 4.15.0-1031-raspi2 gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/ubuntu/node_modules/easybotics-rpi-rgb-led-matrix gyp ERR! node -v v12.2.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"}) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! easybotics-rpi-rgb-led-matrix@0.2.6 install: `node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the easybotics-rpi-rgb-led-matrix@0.2.6 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/ubuntu/.npm/_logs/2019-05-17T11_03_11_274Z-debug.log
We're using node.js v8.16.0, it should work fine under that version.
I can't get it to install on Node 12.2.0. It seems to fail when attempting node-gyp rebuild.
What version of node is supported by the library?