easybotics / node-rpi-rgb-led-matrix

Pilot your rgb led matrix with Nodejs ! Nodejs binding of rpi-rgb-led-matrix library https://github.com/hzeller/rpi-rgb-led-matrix - Actively Maintained!
Do What The F*ck You Want To Public License
56 stars 16 forks source link

unable to build #12

Closed chollan closed 4 years ago

chollan commented 4 years ago

i'm sure i'm missing something here, but i'm unable to build this package. after i type npm i easybotics-rpi-rgb-led-matrix i recieve the following error:

ubuntu@ubuntu:~/node-rgb-rpi$ npm --verbose i
npm info it worked if it ends with ok
npm verb cli [ '/usr/bin/node', '/usr/bin/npm', '--verbose', 'i' ]
npm info using npm@6.13.4
npm info using node@v12.16.1
npm verb npm-session e32da28d17d9cbb5
npm info lifecycle node-rpi-screen@1.0.0~preinstall: node-rpi-screen@1.0.0
npm timing stage:loadCurrentTree Completed in 291ms
npm timing stage:loadIdealTree:cloneCurrentTree Completed in 4ms
npm timing stage:loadIdealTree:loadShrinkwrap Completed in 130ms
npm timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 133ms
npm timing stage:loadIdealTree Completed in 314ms
npm timing stage:generateActionsToTake Completed in 30ms
npm verb correctMkdir /home/ubuntu/.npm/_locks correctMkdir not in flight; initializing
npm verb lock using /home/ubuntu/.npm/_locks/staging-1307d7cddbcb5783.lock for /home/ubuntu/node-rgb-rpi/node_modules/.staging
npm timing audit submit Completed in 414ms
npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/audits/quick 416ms
npm timing audit body Completed in 6ms
npm timing action:extract Completed in 1242ms
npm timing action:finalize Completed in 20ms
npm timing action:refresh-package-json Completed in 40ms
npm info lifecycle easybotics-rpi-rgb-led-matrix@0.3.0~preinstall: easybotics-rpi-rgb-led-matrix@0.3.0
npm timing action:preinstall Completed in 4ms
npm info linkStuff easybotics-rpi-rgb-led-matrix@0.3.0
npm timing action:build Completed in 6ms
npm info lifecycle easybotics-rpi-rgb-led-matrix@0.3.0~install: easybotics-rpi-rgb-led-matrix@0.3.0

> easybotics-rpi-rgb-led-matrix@0.3.0 install /home/ubuntu/node-rgb-rpi/node_modules/easybotics-rpi-rgb-led-matrix
> node-gyp rebuild

gyp info it worked if it ends with ok
gyp verb cli [
gyp verb cli   '/usr/bin/node',
gyp verb cli   '/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli   'rebuild'
gyp verb cli ]
gyp info using node-gyp@5.0.5
gyp info using node@12.16.1 | linux | arm
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb find Python Python is not set from command line or npm configuration
gyp verb find Python Python is not set from environment variable PYTHON
gyp verb find Python checking if "python" can be used
gyp verb find Python - executing "python" to get executable path
gyp verb find Python - executable path is "/usr/bin/python"
gyp verb find Python - executing "/usr/bin/python" to get version
gyp verb find Python - version is "2.7.12"
gyp info find Python using Python version 2.7.12 found at "/usr/bin/python"
gyp verb get node dir no --target version specified, falling back to host node version: 12.16.1
gyp verb command install [ '12.16.1' ]
gyp verb install input version string "12.16.1"
gyp verb install installing version: 12.16.1
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 12.16.1
gyp verb build dir attempting to create "build" dir: /home/ubuntu/node-rgb-rpi/node_modules/easybotics-rpi-rgb-led-matrix/build
gyp verb build dir "build" dir needed to be created? /home/ubuntu/node-rgb-rpi/node_modules/easybotics-rpi-rgb-led-matrix/build
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file: /home/ubuntu/node-rgb-rpi/node_modules/easybotics-rpi-rgb-led-matrix/build/config.gypi
gyp verb config.gypi checking for gypi file: /home/ubuntu/node-rgb-rpi/node_modules/easybotics-rpi-rgb-led-matrix/config.gypi
gyp verb common.gypi checking for gypi file: /home/ubuntu/node-rgb-rpi/node_modules/easybotics-rpi-rgb-led-matrix/common.gypi
gyp verb gyp gyp format was not specified; forcing "make"
gyp info spawn /usr/bin/python
gyp info spawn args [
gyp info spawn args   '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/home/ubuntu/node-rgb-rpi/node_modules/easybotics-rpi-rgb-led-matrix/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/home/ubuntu/.cache/node-gyp/12.16.1/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/home/ubuntu/.cache/node-gyp/12.16.1',
gyp info spawn args   '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/home/ubuntu/.cache/node-gyp/12.16.1/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/home/ubuntu/node-rgb-rpi/node_modules/easybotics-rpi-rgb-led-matrix',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.'
gyp info spawn args ]
gyp verb command build []
gyp verb build type Release
gyp verb architecture arm
gyp verb node dev dir /home/ubuntu/.cache/node-gyp/12.16.1
gyp verb `which` succeeded for `make` /usr/bin/make
gyp info spawn make
gyp info spawn args [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/home/ubuntu/node-rgb-rpi/node_modules/easybotics-rpi-rgb-led-matrix/build'
  g++ '-DNODE_GYP_MODULE_NAME=rpi-rgb-led-matrix' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DDFIXED_FRAME_MICROSECONDS=8500' -I/home/ubuntu/.cache/node-gyp/12.16.1/include/node -I/home/ubuntu/.cache/node-gyp/12.16.1/src -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/openssl/config -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/openssl/openssl/include -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/uv/include -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/zlib -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/v8/include -I../external/matrix/include  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++1y -MMD -MF ./Release/.deps/Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/transformer.o.d.raw   -c -o Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/transformer.o ../external/matrix/lib/transformer.cc
  g++ '-DNODE_GYP_MODULE_NAME=rpi-rgb-led-matrix' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DDFIXED_FRAME_MICROSECONDS=8500' -I/home/ubuntu/.cache/node-gyp/12.16.1/include/node -I/home/ubuntu/.cache/node-gyp/12.16.1/src -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/openssl/config -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/openssl/openssl/include -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/uv/include -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/zlib -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/v8/include -I../external/matrix/include  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++1y -MMD -MF ./Release/.deps/Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/thread.o.d.raw   -c -o Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/thread.o ../external/matrix/lib/thread.cc
  g++ '-DNODE_GYP_MODULE_NAME=rpi-rgb-led-matrix' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DDFIXED_FRAME_MICROSECONDS=8500' -I/home/ubuntu/.cache/node-gyp/12.16.1/include/node -I/home/ubuntu/.cache/node-gyp/12.16.1/src -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/openssl/config -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/openssl/openssl/include -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/uv/include -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/zlib -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/v8/include -I../external/matrix/include  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++1y -MMD -MF ./Release/.deps/Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/pixel-mapper.o.d.raw   -c -o Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/pixel-mapper.o ../external/matrix/lib/pixel-mapper.cc
  g++ '-DNODE_GYP_MODULE_NAME=rpi-rgb-led-matrix' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DDFIXED_FRAME_MICROSECONDS=8500' -I/home/ubuntu/.cache/node-gyp/12.16.1/include/node -I/home/ubuntu/.cache/node-gyp/12.16.1/src -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/openssl/config -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/openssl/openssl/include -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/uv/include -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/zlib -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/v8/include -I../external/matrix/include  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++1y -MMD -MF ./Release/.deps/Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/options-initialize.o.d.raw   -c -o Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/options-initialize.o ../external/matrix/lib/options-initialize.cc
  g++ '-DNODE_GYP_MODULE_NAME=rpi-rgb-led-matrix' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DDFIXED_FRAME_MICROSECONDS=8500' -I/home/ubuntu/.cache/node-gyp/12.16.1/include/node -I/home/ubuntu/.cache/node-gyp/12.16.1/src -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/openssl/config -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/openssl/openssl/include -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/uv/include -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/zlib -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/v8/include -I../external/matrix/include  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++1y -MMD -MF ./Release/.deps/Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/multiplex-mappers.o.d.raw   -c -o Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/multiplex-mappers.o ../external/matrix/lib/multiplex-mappers.cc
  g++ '-DNODE_GYP_MODULE_NAME=rpi-rgb-led-matrix' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DDFIXED_FRAME_MICROSECONDS=8500' -I/home/ubuntu/.cache/node-gyp/12.16.1/include/node -I/home/ubuntu/.cache/node-gyp/12.16.1/src -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/openssl/config -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/openssl/openssl/include -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/uv/include -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/zlib -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/v8/include -I../external/matrix/include  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++1y -MMD -MF ./Release/.deps/Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/led-matrix-c.o.d.raw   -c -o Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/led-matrix-c.o ../external/matrix/lib/led-matrix-c.cc
  g++ '-DNODE_GYP_MODULE_NAME=rpi-rgb-led-matrix' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DDFIXED_FRAME_MICROSECONDS=8500' -I/home/ubuntu/.cache/node-gyp/12.16.1/include/node -I/home/ubuntu/.cache/node-gyp/12.16.1/src -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/openssl/config -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/openssl/openssl/include -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/uv/include -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/zlib -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/v8/include -I../external/matrix/include  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++1y -MMD -MF ./Release/.deps/Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/led-matrix.o.d.raw   -c -o Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/led-matrix.o ../external/matrix/lib/led-matrix.cc
  g++ '-DNODE_GYP_MODULE_NAME=rpi-rgb-led-matrix' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DDFIXED_FRAME_MICROSECONDS=8500' -I/home/ubuntu/.cache/node-gyp/12.16.1/include/node -I/home/ubuntu/.cache/node-gyp/12.16.1/src -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/openssl/config -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/openssl/openssl/include -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/uv/include -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/zlib -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/v8/include -I../external/matrix/include  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++1y -MMD -MF ./Release/.deps/Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/graphics.o.d.raw   -c -o Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/graphics.o ../external/matrix/lib/graphics.cc
  g++ '-DNODE_GYP_MODULE_NAME=rpi-rgb-led-matrix' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DDFIXED_FRAME_MICROSECONDS=8500' -I/home/ubuntu/.cache/node-gyp/12.16.1/include/node -I/home/ubuntu/.cache/node-gyp/12.16.1/src -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/openssl/config -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/openssl/openssl/include -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/uv/include -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/zlib -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/v8/include -I../external/matrix/include  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++1y -MMD -MF ./Release/.deps/Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/gpio.o.d.raw   -c -o Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/gpio.o ../external/matrix/lib/gpio.cc
../external/matrix/lib/gpio.cc:16:0: warning: "__STDC_FORMAT_MACROS" redefined
 #define __STDC_FORMAT_MACROS
 ^
<command-line>:0:0: note: this is the location of the previous definition
../external/matrix/lib/gpio.cc: In function ‘uint32_t* rgb_matrix::mmap_bcm_register(bool, off_t)’:
../external/matrix/lib/gpio.cc:245:62: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘off_t {aka long long int}’ [-Wformat=]
             isRPi2 ? "RPi2,3" : "RPi1", base, register_offset);
                                                              ^
../external/matrix/lib/gpio.cc:245:62: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘off_t {aka long long int}’ [-Wformat=]
../external/matrix/lib/gpio.cc: In function ‘void rgb_matrix::{anonymous}::DisableRealtimeThrottling()’:
../external/matrix/lib/gpio.cc:330:22: 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);
                      ^
  g++ '-DNODE_GYP_MODULE_NAME=rpi-rgb-led-matrix' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DDFIXED_FRAME_MICROSECONDS=8500' -I/home/ubuntu/.cache/node-gyp/12.16.1/include/node -I/home/ubuntu/.cache/node-gyp/12.16.1/src -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/openssl/config -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/openssl/openssl/include -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/uv/include -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/zlib -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/v8/include -I../external/matrix/include  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++1y -MMD -MF ./Release/.deps/Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/framebuffer.o.d.raw   -c -o Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/framebuffer.o ../external/matrix/lib/framebuffer.cc
  g++ '-DNODE_GYP_MODULE_NAME=rpi-rgb-led-matrix' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DDFIXED_FRAME_MICROSECONDS=8500' -I/home/ubuntu/.cache/node-gyp/12.16.1/include/node -I/home/ubuntu/.cache/node-gyp/12.16.1/src -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/openssl/config -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/openssl/openssl/include -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/uv/include -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/zlib -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/v8/include -I../external/matrix/include  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++1y -MMD -MF ./Release/.deps/Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/content-streamer.o.d.raw   -c -o Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/content-streamer.o ../external/matrix/lib/content-streamer.cc
  g++ '-DNODE_GYP_MODULE_NAME=rpi-rgb-led-matrix' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DDFIXED_FRAME_MICROSECONDS=8500' -I/home/ubuntu/.cache/node-gyp/12.16.1/include/node -I/home/ubuntu/.cache/node-gyp/12.16.1/src -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/openssl/config -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/openssl/openssl/include -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/uv/include -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/zlib -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/v8/include -I../external/matrix/include  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++1y -MMD -MF ./Release/.deps/Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/bdf-font.o.d.raw   -c -o Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/bdf-font.o ../external/matrix/lib/bdf-font.cc
  cc '-DNODE_GYP_MODULE_NAME=rpi-rgb-led-matrix' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DDFIXED_FRAME_MICROSECONDS=8500' -I/home/ubuntu/.cache/node-gyp/12.16.1/include/node -I/home/ubuntu/.cache/node-gyp/12.16.1/src -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/openssl/config -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/openssl/openssl/include -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/uv/include -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/zlib -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/v8/include -I../external/matrix/include  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -O3 -fno-omit-frame-pointer  -MMD -MF ./Release/.deps/Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/hardware-mapping.o.d.raw   -c -o Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/hardware-mapping.o ../external/matrix/lib/hardware-mapping.c
  rm -f Release/obj.target/rpi-rgb-led-matrix.a && ar crs Release/obj.target/rpi-rgb-led-matrix.a Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/transformer.o Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/thread.o Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/pixel-mapper.o Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/options-initialize.o Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/multiplex-mappers.o Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/led-matrix-c.o Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/led-matrix.o Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/graphics.o Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/gpio.o Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/framebuffer.o Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/content-streamer.o Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/bdf-font.o Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/hardware-mapping.o
  rm -rf "Release/rpi-rgb-led-matrix.a" && cp -af "Release/obj.target/rpi-rgb-led-matrix.a" "Release/rpi-rgb-led-matrix.a"
  g++ '-DNODE_GYP_MODULE_NAME=node-rpi-rgb-led-matrix' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DBUILDING_NODE_EXTENSION' -I/home/ubuntu/.cache/node-gyp/12.16.1/include/node -I/home/ubuntu/.cache/node-gyp/12.16.1/src -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/openssl/config -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/openssl/openssl/include -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/uv/include -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/zlib -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/v8/include -I../external/matrix/include -I../include -I../../nan -I../external/matrix/include  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++1y -MMD -MF ./Release/.deps/Release/obj.target/node-rpi-rgb-led-matrix/src/base.o.d.raw   -c -o Release/obj.target/node-rpi-rgb-led-matrix/src/base.o ../src/base.cc
  g++ '-DNODE_GYP_MODULE_NAME=node-rpi-rgb-led-matrix' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DBUILDING_NODE_EXTENSION' -I/home/ubuntu/.cache/node-gyp/12.16.1/include/node -I/home/ubuntu/.cache/node-gyp/12.16.1/src -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/openssl/config -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/openssl/openssl/include -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/uv/include -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/zlib -I/home/ubuntu/.cache/node-gyp/12.16.1/deps/v8/include -I../external/matrix/include -I../include -I../../nan -I../external/matrix/include  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++1y -MMD -MF ./Release/.deps/Release/obj.target/node-rpi-rgb-led-matrix/src/ledmatrix.o.d.raw   -c -o Release/obj.target/node-rpi-rgb-led-matrix/src/ledmatrix.o ../src/ledmatrix.cc
../src/ledmatrix.cc: In constructor ‘LedMatrix::LedMatrix(int, int, int, int, int, const char*, const char*, std::vector<std::__cxx11::basic_string<char> >)’:
../src/ledmatrix.cc:36:24: warning: ISO C++ forbids converting a string constant to ‘std::vector<char*>::value_type {aka char*}’ [-Wwrite-strings]
  c_strs.push_back("bin");
                        ^
../src/ledmatrix.cc: In static member function ‘static void LedMatrix::Init(v8::Local<v8::Object>)’:
../src/ledmatrix.cc:100: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/.cache/node-gyp/12.16.1/include/node/v8.h:6126:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
                                              ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:6126:46: note:   candidate expects 1 argument, 0 provided
../src/ledmatrix.cc:102: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/.cache/node-gyp/12.16.1/include/node/v8.h:6126:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
                                              ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:6126: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:223: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:228: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:233: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/.cache/node-gyp/12.16.1/include/node/v8.h:2668:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                            ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2684:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:239: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/.cache/node-gyp/12.16.1/include/node/v8.h:2668:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                            ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2684:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:245: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:250: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:255: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc: In static member function ‘static void LedMatrix::DrawCircle(const Nan::FunctionCallbackInfo<v8::Value>&)’:
../src/ledmatrix.cc:281: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:286: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:291: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:296: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:301: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:306: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc: In static member function ‘static void LedMatrix::DrawLine(const Nan::FunctionCallbackInfo<v8::Value>&)’:
../src/ledmatrix.cc:332: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:337: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:342: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:347: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:352: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:357: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:363: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc: In static member function ‘static void LedMatrix::Brightness(const Nan::FunctionCallbackInfo<v8::Value>&)’:
../src/ledmatrix.cc:379: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc: In static member function ‘static void LedMatrix::New(const Nan::FunctionCallbackInfo<v8::Value>&)’:
../src/ledmatrix.cc:408: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:411: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:415: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:418: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:422: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:428: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/.cache/node-gyp/12.16.1/include/node/v8.h:2668:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                            ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2684:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:434: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/.cache/node-gyp/12.16.1/include/node/v8.h:2668:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                            ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2684:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:440:2: error: ‘Handle’ was not declared in this scope
  Handle<Value> val;
  ^
../src/ledmatrix.cc:440:14: error: expected primary-expression before ‘>’ token
  Handle<Value> val;
              ^
../src/ledmatrix.cc:440:16: error: ‘val’ was not declared in this scope
  Handle<Value> val;
                ^
../src/ledmatrix.cc:446:15: error: expected primary-expression before ‘>’ token
   Handle<Array> jsArray = Handle<Array>::Cast(args[7]);
               ^
../src/ledmatrix.cc:446:17: error: ‘jsArray’ was not declared in this scope
   Handle<Array> jsArray = Handle<Array>::Cast(args[7]);
                 ^
../src/ledmatrix.cc:446:39: error: expected primary-expression before ‘>’ token
   Handle<Array> jsArray = Handle<Array>::Cast(args[7]);
                                       ^
../src/ledmatrix.cc:446:40: error: ‘::Cast’ has not been declared
   Handle<Array> jsArray = Handle<Array>::Cast(args[7]);
                                        ^
../src/ledmatrix.cc: In static member function ‘static void LedMatrix::SetPixel(const Nan::FunctionCallbackInfo<v8::Value>&)’:
../src/ledmatrix.cc:483: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:484: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:485: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:486: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:487: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc: In static member function ‘static void LedMatrix::Clear(const Nan::FunctionCallbackInfo<v8::Value>&)’:
../src/ledmatrix.cc:497: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:498: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:499: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:500: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc: In static member function ‘static void LedMatrix::Fill(const Nan::FunctionCallbackInfo<v8::Value>&)’:
../src/ledmatrix.cc:515: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:516: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:517: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc: In static member function ‘static void LedMatrix::SetImageBuffer(const Nan::FunctionCallbackInfo<v8::Value>&)’:
../src/ledmatrix.cc:529: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/.cache/node-gyp/12.16.1/include/node/v8.h:2672:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
                                            ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2672:44: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2686:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
                 Local<Object> ToObject(Isolate* isolate) const);
                               ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2686:31: note:   candidate expects 1 argument, 0 provided
                 Local<Object> ToObject(Isolate* isolate) const);
                               ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:530: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/.cache/node-gyp/12.16.1/include/node/v8.h:2672:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
                                            ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2672:44: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2686:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
                 Local<Object> ToObject(Isolate* isolate) const);
                               ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2686:31: note:   candidate expects 1 argument, 0 provided
                 Local<Object> ToObject(Isolate* isolate) const);
                               ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:531: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:532: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc: In static member function ‘static void LedMatrix::Draw(const Nan::FunctionCallbackInfo<v8::Value>&)’:
../src/ledmatrix.cc:561: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:562: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:571: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:572: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:573: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:574: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:575: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/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2664:59: note: candidate: v8::MaybeLocal<v8::Boolean> v8::Value::ToBoolean(v8::Local<v8::Context>) const
                 V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
                                                           ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2664:59: note:   candidate expects 1 argument, 0 provided
                 V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
                                                           ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../src/ledmatrix.cc:9:0:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2680:18: note: candidate: v8::Local<v8::Boolean> v8::Value::ToBoolean(v8::Isolate*) const
   Local<Boolean> ToBoolean(Isolate* isolate) const;
                  ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2680:18: note:   candidate expects 1 argument, 0 provided
../src/ledmatrix.cc:576: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/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2664:59: note: candidate: v8::MaybeLocal<v8::Boolean> v8::Value::ToBoolean(v8::Local<v8::Context>) const
                 V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
                                                           ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2664:59: note:   candidate expects 1 argument, 0 provided
                 V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
                                                           ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../src/ledmatrix.cc:9:0:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2680:18: note: candidate: v8::Local<v8::Boolean> v8::Value::ToBoolean(v8::Isolate*) const
   Local<Boolean> ToBoolean(Isolate* isolate) const;
                  ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2680: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:592: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:593: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:601: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:602: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:603: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:604: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc:605: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/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note: candidate: v8::MaybeLocal<v8::Integer> v8::Value::ToInteger(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Integer> ToInteger(
                                             ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2674:45: note:   candidate expects 1 argument, 0 provided
In file included from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from ../src/ledmatrix.cc:9:
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note: candidate: v8::Local<v8::Integer> v8::Value::ToInteger(v8::Isolate*) const
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8.h:2688:32: note:   candidate expects 1 argument, 0 provided
                 Local<Integer> ToInteger(Isolate* isolate) const);
                                ^
/home/ubuntu/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/ledmatrix.cc: In static member function ‘static void LedMatrix::UV_AfterScroll(uv_work_t*, int)’:
../src/ledmatrix.cc:720: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:19:0,
                 from ../src/ledmatrix.cc:18:
../../nan/nan.h:1740:3: note: declared here
   Call(int argc, v8::Local<v8::Value> argv[]) const {
   ^
node-rpi-rgb-led-matrix.target.mk:120: 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-rgb-rpi/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:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:311:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 4.4.0-1129-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-rgb-rpi/node_modules/easybotics-rpi-rgb-led-matrix
gyp ERR! node -v v12.16.1
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok 
npm verb lifecycle easybotics-rpi-rgb-led-matrix@0.3.0~install: unsafe-perm in lifecycle true
npm verb lifecycle easybotics-rpi-rgb-led-matrix@0.3.0~install: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/ubuntu/node-rgb-rpi/node_modules/easybotics-rpi-rgb-led-matrix/node_modules/.bin:/home/ubuntu/node-rgb-rpi/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
npm verb lifecycle easybotics-rpi-rgb-led-matrix@0.3.0~install: CWD: /home/ubuntu/node-rgb-rpi/node_modules/easybotics-rpi-rgb-led-matrix
npm info lifecycle easybotics-rpi-rgb-led-matrix@0.3.0~install: Failed to exec install script
npm timing action:install Completed in 32657ms
npm verb unlock done using /home/ubuntu/.npm/_locks/staging-1307d7cddbcb5783.lock for /home/ubuntu/node-rgb-rpi/node_modules/.staging
npm timing stage:rollbackFailedOptional Completed in 185ms
npm timing stage:runTopLevelLifecycles Completed in 35152ms
npm WARN node-rpi-screen@1.0.0 No description
npm WARN node-rpi-screen@1.0.0 No repository field.

npm verb stack Error: easybotics-rpi-rgb-led-matrix@0.3.0 install: `node-gyp rebuild`
npm verb stack Exit status 1
npm verb stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
npm verb stack     at EventEmitter.emit (events.js:311:20)
npm verb stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
npm verb stack     at ChildProcess.emit (events.js:311:20)
npm verb stack     at maybeClose (internal/child_process.js:1021:16)
npm verb stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
npm verb pkgid easybotics-rpi-rgb-led-matrix@0.3.0
npm verb cwd /home/ubuntu/node-rgb-rpi
npm verb Linux 4.4.0-1129-raspi2
npm verb argv "/usr/bin/node" "/usr/bin/npm" "--verbose" "i"
npm verb node v12.16.1
npm verb npm  v6.13.4
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! easybotics-rpi-rgb-led-matrix@0.3.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the easybotics-rpi-rgb-led-matrix@0.3.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm verb exit [ 1, true ]
npm timing npm Completed in 36592ms

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/ubuntu/.npm/_logs/2020-02-20T05_31_02_785Z-debug.log
chollan commented 4 years ago

FWIW i was able to get this to build successfully in node 8. i was in node 12 and it was failing.

keptan commented 4 years ago

Hello. you're not the first with this issue we dont have a build enviorment with modern node so we don't really address this yet https://github.com/easybotics/node-rpi-rgb-led-matrix/pull/9 for now you can check out this guys fork

soon we'll probably merge it

chollan commented 4 years ago

thanks for the update. i'm seeing some color issues. I'm going to open a new issue for it.