Giter Site home page Giter Site logo

easybotics / node-rpi-rgb-led-matrix Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zeitungen/node-rpi-rgb-led-matrix

56.0 56.0 17.0 110 KB

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!

License: Do What The F*ck You Want To Public License

Python 4.24% C++ 88.63% JavaScript 7.13%

node-rpi-rgb-led-matrix's People

Contributors

clowrey avatar felixmc avatar hzeller avatar keptan avatar lehni avatar ryanmich251 avatar sebleedelisle avatar zeitungen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

node-rpi-rgb-led-matrix's Issues

unable to build

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 [email protected]
npm info using [email protected]
npm verb npm-session e32da28d17d9cbb5
npm info lifecycle [email protected]~preinstall: [email protected]
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 [email protected]~preinstall: [email protected]
npm timing action:preinstall Completed in 4ms
npm info linkStuff [email protected]
npm timing action:build Completed in 6ms
npm info lifecycle [email protected]~install: [email protected]

> [email protected] 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 [email protected]
gyp info using [email protected] | 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 [email protected]~install: unsafe-perm in lifecycle true
npm verb lifecycle [email protected]~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 [email protected]~install: CWD: /home/ubuntu/node-rgb-rpi/node_modules/easybotics-rpi-rgb-led-matrix
npm info lifecycle [email protected]~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 [email protected] No description
npm WARN [email protected] No repository field.

npm verb stack Error: [email protected] 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 [email protected]
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! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] 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
```

Cannot import this module with a dependency resolver

Im trying to use your library in a project of my own and want to be able to build my app using Rollup. But whenever I go to run my script I get

"Error: Cannot find module '/home/pi/node-led-display/dist/build/Release/node-rpi-rgb-led-matrix.node'"

I believe the issue is line 12 in your index.js file. It looks like you're trying to import the old node rpi led matrix (https://www.npmjs.com/package/node-rpi-rgb-led-matrix) but doing it in a weird way. Why wasnt it just listed as a dependency in your package.json? I believe this would fix my issue and my dependency resolver would be able to find the original node-rip-rgb-led-matrix package.

Failed to install with "unknown type name 'cpu_set_t'"

I noticed you committed a fix for Issue #1 (Many thanks). I tried to install the latest version from npm, at version 0.3.0, but I get the following error.

$ npm install

> [email protected] install /Users/xxxxxxx/workspace/repo/lightmessage/node_modules/easybotics-rpi-rgb-led-matrix
> node-gyp rebuild

  CXX(target) Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/transformer.o
  CXX(target) Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/thread.o
../external/matrix/lib/thread.cc:58:5: error: unknown type name 'cpu_set_t'
    cpu_set_t cpu_mask;
    ^
1 error generated.
make: *** [Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/thread.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/xxxxxxx/.nodenv/versions/10.15.3/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:189:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Darwin 17.2.0
gyp ERR! command "/Users/xxxxxxx/.nodenv/versions/10.15.3/bin/node" "/Users/xxxxxxx/.nodenv/versions/10.15.3/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/xxxxxxx/workspace/repo/lightmessage/node_modules/easybotics-rpi-rgb-led-matrix
gyp ERR! node -v v10.15.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok 
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1

I removed all my old node_modules in case there was a clash with my local workaround but, same error. Fingers crossed it's something at my end...

Seems --led-slowdown-gpio is not supported?

I have to use --led-slowdown-gpio option for my panels to not be glitchy but passing it in cli flags like "--led-slowdown-gpio=4" doesn't work. It works when using the c++ lib directly. The lib even complains when I set an invalid value.

Any idea why?

Lots of flickering with fill

var LedMatrix = require("easybotics-rpi-rgb-led-matrix");

//init a 16 rows  by 16 cols led matrix 
//default hardware mapping is 'regular', could be 'adafruit-hat-pwm' ect 
var matrix = new LedMatrix(64, 64, 1, 3, 100, 'adafruit-hat', 'RGB', '--led-slowdown-gpio=4');
console.log(matrix.getHeight());
matrix.fill(255, 50, 100);
matrix.drawLine (0, 0, 64, 64, 0, 0, 255)
matrix.update();
while (true){
}

running this code on my 64x64 set of 3 panels creates a very messy and flickering display. The documentation doesnt really show how to add the cli flags, I am guessing I have it wrong because gpio slowdown should help with it. Beyond that the colors dont even seem to be consistent across the panel. Is there something I am missing or is it just buggy?

Also is there an example file that I can work with for testing the library?

Latest version in npm

There is 0.4.1 version in npm that seems like some debug version of that project.
Current master branch has 0.3.0 and it works just fine, but version 0.4.1 from npm produces weird results. Can you remove it or release a new one?

matrix.update never returns or displays on Pi 4

Hi! I put the sample code under "Get some fun" into a file, and invoked it with sudo node display.js. The call to matrix.update() never returns, and nothing is shown on the display. I'm using Node 10.16.2 under Raspbian Lite on a Raspberry Pi 4. For interfacing, I'm using one of hzeller's active 3-chain boards. The displays are 32x64 P3 panels, with the FM6126 chipset. Using hzeller's library directly works. Any thoughts?

drawText don't work.

Hi,
the drawText function is not working on my setup.
RPI 3+, Adafruit HAT, Node 8.11

Let me know if i've made a code mistake:
matrix.drawText(0,0,0,50,255,'text','10x20.bdf'); matrix.update();

No error messages etc.

All other functions are working.

Regards,
Flo

any plan for implementing images

This is more of a feature request, or for someone to point me in the right direction: is there any plan to support images using the setImageBuffer method or any similar? i see images are supported within easybotics/node-red-contrib-easybotics-led-matrix, but i see no documentation about images for nodejs.

Update readme with more example

Pls may you add example for scroll some text or display and image? I'm not really skillful the a help will be more appreciated.
Thanks.

Error installing node-rpi-rgb-matrix

I had installed node-red in my rpi3
when try install node-rpi-rgb-matrix, the log install show

any idea?

Thks....


2019-07-25T09:24:28.596Z Install : node-red-contrib-easybotics-led-matrix 1.2.3

2019-07-25T09:24:28.722Z npm install --no-audit --no-update-notifier --save --save-prefix="~" --production [email protected]
2019-07-25T09:24:43.156Z [out]
2019-07-25T09:24:43.156Z [out] > [email protected] install /home/pi/.node-red/node_modules/easybotics-rpi-rgb-led-matrix
2019-07-25T09:24:43.156Z [out] > node-gyp rebuild
2019-07-25T09:24:43.156Z [out]
2019-07-25T09:24:45.595Z [out] make: Entering directory '/home/pi/.node-red/node_modules/easybotics-rpi-rgb-led-matrix/build'
2019-07-25T09:24:45.597Z [out] CXX(target) Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/transformer.o
2019-07-25T09:24:47.227Z [out] CXX(target) Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/thread.o
2019-07-25T09:24:47.609Z [out] CXX(target) Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/pixel-mapper.o
2019-07-25T09:24:50.546Z [out] CXX(target) Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/options-initialize.o
2019-07-25T09:24:53.011Z [out] CXX(target) Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/multiplex-mappers.o
2019-07-25T09:24:54.867Z [out] CXX(target) Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/led-matrix-c.o
2019-07-25T09:24:56.645Z [out] CXX(target) Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/led-matrix.o
2019-07-25T09:24:59.120Z [out] CXX(target) Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/graphics.o
2019-07-25T09:25:00.868Z [out] CXX(target) Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/gpio.o
2019-07-25T09:25:01.495Z [err] ../external/matrix/lib/gpio.cc: In function ‘uint32_t* rgb_matrix::mmap_bcm_register(bool, off_t)’:
2019-07-25T09:25:01.495Z [err] ../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=]
2019-07-25T09:25:01.495Z [err] isRPi2 ? "RPi2,3" : "RPi1", base, register_offset);
2019-07-25T09:25:01.495Z [err] ^
2019-07-25T09:25:01.495Z [err] ../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=]
2019-07-25T09:25:03.445Z [out] CXX(target) Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/framebuffer.o
2019-07-25T09:25:06.238Z [out] CXX(target) Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/content-streamer.o
2019-07-25T09:25:08.011Z [out] CXX(target) Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/bdf-font.o
2019-07-25T09:25:10.344Z [out] CC(target) Release/obj.target/rpi-rgb-led-matrix/external/matrix/lib/hardware-mapping.o
2019-07-25T09:25:10.479Z [out] AR(target) Release/obj.target/rpi-rgb-led-matrix.a
2019-07-25T09:25:10.510Z [out] COPY Release/rpi-rgb-led-matrix.a
2019-07-25T09:25:10.534Z [out] CXX(target) Release/obj.target/node-rpi-rgb-led-matrix/src/base.o
2019-07-25T09:25:14.087Z [out] CXX(target) Release/obj.target/node-rpi-rgb-led-matrix/src/ledmatrix.o
2019-07-25T09:25:17.687Z [err] ../src/ledmatrix.cc: In constructor ‘LedMatrix::LedMatrix(int, int, int, int, int, const char*, const char*, std::vector<std::__cxx11::basic_string >)’:
2019-07-25T09:25:17.687Z [err] ../src/ledmatrix.cc:36:24: warning: ISO C++ forbids converting a string constant to ‘std::vector<char*>::value_type {aka char*}’ [-Wwrite-strings]
2019-07-25T09:25:17.687Z [err] c_strs.push_back("bin");
2019-07-25T09:25:17.687Z [err] ^
2019-07-25T09:25:17.873Z [err] ../src/ledmatrix.cc: In static member function ‘static void LedMatrix::DrawText(const Nan::FunctionCallbackInfov8::Value&)’:
2019-07-25T09:25:17.873Z [err] ../src/ledmatrix.cc:223:26: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:17.873Z [err] x = args[0]->ToInteger()->Value();
2019-07-25T09:25:17.873Z [err] ^
2019-07-25T09:25:17.877Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:17.877Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:17.877Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:17.877Z [err] ^~~~~
2019-07-25T09:25:17.877Z [err] ../src/ledmatrix.cc:228:26: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:17.877Z [err] y = args[1]->ToInteger()->Value();
2019-07-25T09:25:17.877Z [err] ^
2019-07-25T09:25:17.878Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:17.878Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:17.878Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:17.878Z [err] ^~~~~
2019-07-25T09:25:17.879Z [err] ../src/ledmatrix.cc:233:48: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Localv8::Value)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
2019-07-25T09:25:17.879Z [err] v8::String::Utf8Value str(args[2]->ToString());
2019-07-25T09:25:17.879Z [err] ^
2019-07-25T09:25:17.879Z [err] In file included from /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:26:0,
2019-07-25T09:25:17.879Z [err] from ../src/ledmatrix.cc:9:
2019-07-25T09:25:17.879Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
2019-07-25T09:25:17.879Z [err] explicit Utf8Value(Localv8::Value obj));
2019-07-25T09:25:17.879Z [err] ^
2019-07-25T09:25:17.879Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
2019-07-25T09:25:17.879Z [err] declarator attribute((deprecated(message)))
2019-07-25T09:25:17.879Z [err] ^~~~~~~~~~
2019-07-25T09:25:17.881Z [err] ../src/ledmatrix.cc:239:48: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Localv8::Value)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
2019-07-25T09:25:17.881Z [err] v8::String::Utf8Value str(args[3]->ToString());
2019-07-25T09:25:17.881Z [err] ^
2019-07-25T09:25:17.882Z [err] In file included from /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:26:0,
2019-07-25T09:25:17.882Z [err] from ../src/ledmatrix.cc:9:
2019-07-25T09:25:17.882Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
2019-07-25T09:25:17.882Z [err] explicit Utf8Value(Localv8::Value obj));
2019-07-25T09:25:17.882Z [err] ^
2019-07-25T09:25:17.882Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
2019-07-25T09:25:17.882Z [err] declarator attribute((deprecated(message)))
2019-07-25T09:25:17.882Z [err] ^~~~~~~~~~
2019-07-25T09:25:17.883Z [err] ../src/ledmatrix.cc:245:26: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:17.883Z [err] r = args[4]->ToInteger()->Value();
2019-07-25T09:25:17.883Z [err] ^
2019-07-25T09:25:17.885Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:17.885Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:17.885Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:17.885Z [err] ^~~~~
2019-07-25T09:25:17.886Z [err] ../src/ledmatrix.cc:250:26: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:17.886Z [err] g = args[5]->ToInteger()->Value();
2019-07-25T09:25:17.886Z [err] ^
2019-07-25T09:25:17.886Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:17.886Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:17.886Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:17.886Z [err] ^~~~~
2019-07-25T09:25:17.886Z [err] ../src/ledmatrix.cc:255:26: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:17.886Z [err] b = args[6]->ToInteger()->Value();
2019-07-25T09:25:17.886Z [err] ^
2019-07-25T09:25:17.886Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:17.886Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:17.886Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:17.886Z [err] ^~~~~
2019-07-25T09:25:17.978Z [err] ../src/ledmatrix.cc: In static member function ‘static void LedMatrix::DrawCircle(const Nan::FunctionCallbackInfov8::Value&)’:
2019-07-25T09:25:17.978Z [err] ../src/ledmatrix.cc:281:26: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:17.978Z [err] x = args[0]->ToInteger()->Value();
2019-07-25T09:25:17.978Z [err] ^
2019-07-25T09:25:17.978Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:17.978Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:17.978Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:17.978Z [err] ^~~~~
2019-07-25T09:25:17.979Z [err] ../src/ledmatrix.cc:286:26: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:17.979Z [err] y = args[1]->ToInteger()->Value();
2019-07-25T09:25:17.979Z [err] ^
2019-07-25T09:25:17.979Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:17.979Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:17.979Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:17.979Z [err] ^~~~~
2019-07-25T09:25:17.980Z [err] ../src/ledmatrix.cc:291:31: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:17.980Z [err] radius = args[2]->ToInteger()->Value();
2019-07-25T09:25:17.980Z [err] ^
2019-07-25T09:25:17.980Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:17.980Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:17.980Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:17.980Z [err] ^~~~~
2019-07-25T09:25:17.980Z [err] ../src/ledmatrix.cc:296:26: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:17.980Z [err] r = args[3]->ToInteger()->Value();
2019-07-25T09:25:17.980Z [err] ^
2019-07-25T09:25:17.981Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:17.981Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:17.981Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:17.981Z [err] ^~~~~
2019-07-25T09:25:17.981Z [err] ../src/ledmatrix.cc:301:26: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:17.981Z [err] g = args[4]->ToInteger()->Value();
2019-07-25T09:25:17.981Z [err] ^
2019-07-25T09:25:17.981Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:17.981Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:17.981Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:17.981Z [err] ^~~~~
2019-07-25T09:25:17.981Z [err] ../src/ledmatrix.cc:306:26: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:17.981Z [err] b = args[5]->ToInteger()->Value();
2019-07-25T09:25:17.981Z [err] ^
2019-07-25T09:25:17.982Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:17.982Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:17.982Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:17.982Z [err] ^~~~~
2019-07-25T09:25:17.988Z [err] ../src/ledmatrix.cc: In static member function ‘static void LedMatrix::DrawLine(const Nan::FunctionCallbackInfov8::Value&)’:
2019-07-25T09:25:17.988Z [err] ../src/ledmatrix.cc:332:27: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:17.988Z [err] x0 = args[0]->ToInteger()->Value();
2019-07-25T09:25:17.988Z [err] ^
2019-07-25T09:25:17.988Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:17.988Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:17.988Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:17.988Z [err] ^~~~~
2019-07-25T09:25:17.989Z [err] ../src/ledmatrix.cc:337:27: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:17.989Z [err] y0 = args[1]->ToInteger()->Value();
2019-07-25T09:25:17.989Z [err] ^
2019-07-25T09:25:17.989Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:17.989Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:17.989Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:17.989Z [err] ^~~~~
2019-07-25T09:25:17.989Z [err] ../src/ledmatrix.cc:342:27: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:17.989Z [err] x1 = args[2]->ToInteger()->Value();
2019-07-25T09:25:17.989Z [err] ^
2019-07-25T09:25:17.990Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:17.990Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:17.990Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:17.990Z [err] ^~~~~
2019-07-25T09:25:17.990Z [err] ../src/ledmatrix.cc:347:27: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:17.990Z [err] y1 = args[3]->ToInteger()->Value();
2019-07-25T09:25:17.990Z [err] ^
2019-07-25T09:25:17.990Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:17.990Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:17.990Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:17.990Z [err] ^~~~~
2019-07-25T09:25:17.991Z [err] ../src/ledmatrix.cc:352:26: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:17.991Z [err] r = args[4]->ToInteger()->Value();
2019-07-25T09:25:17.991Z [err] ^
2019-07-25T09:25:17.991Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:17.991Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:17.991Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:17.991Z [err] ^~~~~
2019-07-25T09:25:17.991Z [err] ../src/ledmatrix.cc:357:26: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:17.991Z [err] g = args[5]->ToInteger()->Value();
2019-07-25T09:25:17.991Z [err] ^
2019-07-25T09:25:17.992Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:17.992Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:17.992Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:17.992Z [err] ^~~~~
2019-07-25T09:25:17.992Z [err] ../src/ledmatrix.cc:363:26: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:17.992Z [err] b = args[6]->ToInteger()->Value();
2019-07-25T09:25:17.992Z [err] ^
2019-07-25T09:25:17.992Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:17.992Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:17.992Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:17.992Z [err] ^~~~~
2019-07-25T09:25:17.996Z [err] ../src/ledmatrix.cc: In static member function ‘static void LedMatrix::Brightness(const Nan::FunctionCallbackInfov8::Value&)’:
2019-07-25T09:25:17.996Z [err] ../src/ledmatrix.cc:379:25: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:17.996Z [err] b = args[0]->ToInteger()->Value();
2019-07-25T09:25:17.996Z [err] ^
2019-07-25T09:25:17.996Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:17.996Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:17.996Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:17.996Z [err] ^~~~~
2019-07-25T09:25:17.999Z [err] ../src/ledmatrix.cc: In static member function ‘static void LedMatrix::New(const Nan::FunctionCallbackInfov8::Value&)’:
2019-07-25T09:25:17.999Z [err] ../src/ledmatrix.cc:408:29: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:17.999Z [err] rows = args[0]->ToInteger()->Value();
2019-07-25T09:25:17.999Z [err] ^
2019-07-25T09:25:17.999Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:17.999Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:17.999Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:17.999Z [err] ^~~~~
2019-07-25T09:25:17.999Z [err] ../src/ledmatrix.cc:411:29: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:17.999Z [err] cols = args[1]->ToInteger()->Value();
2019-07-25T09:25:17.999Z [err] ^
2019-07-25T09:25:17.999Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:17.999Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:17.999Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:17.999Z [err] ^~~~~
2019-07-25T09:25:18.000Z [err] ../src/ledmatrix.cc:415:32: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:18.000Z [err] chained = args[2]->ToInteger()->Value();
2019-07-25T09:25:18.000Z [err] ^
2019-07-25T09:25:18.000Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:18.000Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:18.000Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:18.000Z [err] ^~~~~
2019-07-25T09:25:18.000Z [err] ../src/ledmatrix.cc:418:33: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:18.000Z [err] parallel = args[3]->ToInteger()->Value();
2019-07-25T09:25:18.000Z [err] ^
2019-07-25T09:25:18.000Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:18.000Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:18.000Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:18.000Z [err] ^~~~~
2019-07-25T09:25:18.001Z [err] ../src/ledmatrix.cc:422:35: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:18.001Z [err] brightness = args[4]->ToInteger()->Value();
2019-07-25T09:25:18.001Z [err] ^
2019-07-25T09:25:18.001Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:18.001Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:18.001Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:18.001Z [err] ^~~~~
2019-07-25T09:25:18.002Z [err] ../src/ledmatrix.cc:428:48: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Localv8::Value)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
2019-07-25T09:25:18.002Z [err] v8::String::Utf8Value str(args[5]->ToString());
2019-07-25T09:25:18.002Z [err] ^
2019-07-25T09:25:18.002Z [err] In file included from /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:26:0,
2019-07-25T09:25:18.002Z [err] from ../src/ledmatrix.cc:9:
2019-07-25T09:25:18.002Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
2019-07-25T09:25:18.002Z [err] explicit Utf8Value(Localv8::Value obj));
2019-07-25T09:25:18.002Z [err] ^
2019-07-25T09:25:18.002Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
2019-07-25T09:25:18.002Z [err] declarator attribute((deprecated(message)))
2019-07-25T09:25:18.002Z [err] ^~~~~~~~~~
2019-07-25T09:25:18.004Z [err] ../src/ledmatrix.cc:434:48: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Localv8::Value)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
2019-07-25T09:25:18.004Z [err] v8::String::Utf8Value str(args[6]->ToString());
2019-07-25T09:25:18.004Z [err] ^
2019-07-25T09:25:18.004Z [err] In file included from /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:26:0,
2019-07-25T09:25:18.004Z [err] from ../src/ledmatrix.cc:9:
2019-07-25T09:25:18.004Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
2019-07-25T09:25:18.004Z [err] explicit Utf8Value(Localv8::Value obj));
2019-07-25T09:25:18.004Z [err] ^
2019-07-25T09:25:18.004Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
2019-07-25T09:25:18.004Z [err] declarator attribute((deprecated(message)))
2019-07-25T09:25:18.004Z [err] ^~~~~~~~~~
2019-07-25T09:25:18.010Z [err] ../src/ledmatrix.cc:450:57: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Localv8::Value)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
2019-07-25T09:25:18.010Z [err] strings.push_back(std::string( String::Utf8Value(val)));
2019-07-25T09:25:18.010Z [err] ^
2019-07-25T09:25:18.010Z [err] In file included from /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:26:0,
2019-07-25T09:25:18.010Z [err] from ../src/ledmatrix.cc:9:
2019-07-25T09:25:18.010Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
2019-07-25T09:25:18.010Z [err] explicit Utf8Value(Localv8::Value obj));
2019-07-25T09:25:18.010Z [err] ^
2019-07-25T09:25:18.010Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
2019-07-25T09:25:18.010Z [err] declarator attribute((deprecated(message)))
2019-07-25T09:25:18.010Z [err] ^~~~~~~~~~
2019-07-25T09:25:18.024Z [err] ../src/ledmatrix.cc: In static member function ‘static void LedMatrix::SetPixel(const Nan::FunctionCallbackInfov8::Value&)’:
2019-07-25T09:25:18.024Z [err] ../src/ledmatrix.cc:483:31: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:18.024Z [err] int x = args[0]->ToInteger()->Value();
2019-07-25T09:25:18.024Z [err] ^
2019-07-25T09:25:18.026Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:18.026Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:18.026Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:18.026Z [err] ^~~~~
2019-07-25T09:25:18.026Z [err] ../src/ledmatrix.cc:484:31: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:18.026Z [err] int y = args[1]->ToInteger()->Value();
2019-07-25T09:25:18.026Z [err] ^
2019-07-25T09:25:18.027Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:18.027Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:18.027Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:18.027Z [err] ^~~~~
2019-07-25T09:25:18.027Z [err] ../src/ledmatrix.cc:485:31: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:18.027Z [err] int r = args[2]->ToInteger()->Value();
2019-07-25T09:25:18.027Z [err] ^
2019-07-25T09:25:18.027Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:18.027Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:18.027Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:18.027Z [err] ^~~~~
2019-07-25T09:25:18.028Z [err] ../src/ledmatrix.cc:486:31: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:18.028Z [err] int g = args[3]->ToInteger()->Value();
2019-07-25T09:25:18.028Z [err] ^
2019-07-25T09:25:18.028Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:18.028Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:18.028Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:18.028Z [err] ^~~~~
2019-07-25T09:25:18.028Z [err] ../src/ledmatrix.cc:487:31: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:18.028Z [err] int b = args[4]->ToInteger()->Value();
2019-07-25T09:25:18.028Z [err] ^
2019-07-25T09:25:18.028Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:18.028Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:18.028Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:18.028Z [err] ^~~~~
2019-07-25T09:25:18.032Z [err] ../src/ledmatrix.cc: In static member function ‘static void LedMatrix::Clear(const Nan::FunctionCallbackInfov8::Value&)’:
2019-07-25T09:25:18.032Z [err] ../src/ledmatrix.cc:497:30: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:18.032Z [err] int x = args[0]->ToInteger()->Value();
2019-07-25T09:25:18.032Z [err] ^
2019-07-25T09:25:18.032Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:18.032Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:18.032Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:18.032Z [err] ^~~~~
2019-07-25T09:25:18.032Z [err] ../src/ledmatrix.cc:498:32: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:18.032Z [err] int y = args[1]->ToInteger()->Value();
2019-07-25T09:25:18.032Z [err] ^
2019-07-25T09:25:18.032Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:18.032Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:18.032Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:18.032Z [err] ^~~~~
2019-07-25T09:25:18.032Z [err] ../src/ledmatrix.cc:499:32: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:18.032Z [err] int w = args[2]->ToInteger()->Value();
2019-07-25T09:25:18.032Z [err] ^
2019-07-25T09:25:18.032Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:18.032Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:18.032Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:18.032Z [err] ^~~~~
2019-07-25T09:25:18.033Z [err] ../src/ledmatrix.cc:500:32: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:18.033Z [err] int h = args[3]->ToInteger()->Value();
2019-07-25T09:25:18.033Z [err] ^
2019-07-25T09:25:18.033Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:18.033Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:18.033Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:18.033Z [err] ^~~~~
2019-07-25T09:25:18.035Z [err] ../src/ledmatrix.cc: In static member function ‘static void LedMatrix::Fill(const Nan::FunctionCallbackInfov8::Value&)’:
2019-07-25T09:25:18.035Z [err] ../src/ledmatrix.cc:515:29: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:18.035Z [err] int r = args[0]->ToInteger()->Value();
2019-07-25T09:25:18.035Z [err] ^
2019-07-25T09:25:18.035Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:18.035Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:18.035Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:18.035Z [err] ^~~~~
2019-07-25T09:25:18.036Z [err] ../src/ledmatrix.cc:516:31: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:18.036Z [err] int g = args[1]->ToInteger()->Value();
2019-07-25T09:25:18.036Z [err] ^
2019-07-25T09:25:18.036Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:18.036Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:18.036Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:18.036Z [err] ^~~~~
2019-07-25T09:25:18.036Z [err] ../src/ledmatrix.cc:517:31: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:18.036Z [err] int b = args[2]->ToInteger()->Value();
2019-07-25T09:25:18.036Z [err] ^
2019-07-25T09:25:18.036Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:18.036Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:18.036Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:18.036Z [err] ^~~~~
2019-07-25T09:25:18.038Z [err] ../src/ledmatrix.cc: In static member function ‘static void LedMatrix::SetImageBuffer(const Nan::FunctionCallbackInfov8::Value&)’:
2019-07-25T09:25:18.038Z [err] ../src/ledmatrix.cc:529:45: warning: ‘v8::Localv8::Object v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:18.038Z [err] char
buf = Buffer::Data(args[0]->ToObject());
2019-07-25T09:25:18.038Z [err] ^
2019-07-25T09:25:18.039Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:18.039Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
2019-07-25T09:25:18.039Z [err] Local Value::ToObject() const {
2019-07-25T09:25:18.039Z [err] ^~~~~
2019-07-25T09:25:18.039Z [err] ../src/ledmatrix.cc:530:49: warning: ‘v8::Localv8::Object v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:18.039Z [err] size_t bufl = Buffer::Length(args[0]->ToObject());
2019-07-25T09:25:18.039Z [err] ^
2019-07-25T09:25:18.039Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:18.039Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
2019-07-25T09:25:18.039Z [err] Local Value::ToObject() const {
2019-07-25T09:25:18.039Z [err] ^~~~~
2019-07-25T09:25:18.040Z [err] ../src/ledmatrix.cc:531:33: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:18.040Z [err] int width = args[1]->ToInteger()->Value();
2019-07-25T09:25:18.040Z [err] ^
2019-07-25T09:25:18.040Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:18.040Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:18.040Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:18.040Z [err] ^~~~~
2019-07-25T09:25:18.040Z [err] ../src/ledmatrix.cc:532:34: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:18.040Z [err] int height = args[2]->ToInteger()->Value();
2019-07-25T09:25:18.040Z [err] ^
2019-07-25T09:25:18.040Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:18.040Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:18.040Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:18.040Z [err] ^~~~~
2019-07-25T09:25:18.045Z [err] ../src/ledmatrix.cc: In static member function ‘static void LedMatrix::Draw(const Nan::FunctionCallbackInfov8::Value&)’:
2019-07-25T09:25:18.045Z [err] ../src/ledmatrix.cc:561:75: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:18.045Z [err] if(args.Length() > 0 && args[0]->IsNumber()) startx = args[0]->ToInteger()->Value();
2019-07-25T09:25:18.045Z [err] ^
2019-07-25T09:25:18.045Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:18.045Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:18.045Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:18.045Z [err] ^~~~~
2019-07-25T09:25:18.045Z [err] ../src/ledmatrix.cc:562:75: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:18.045Z [err] if(args.Length() > 1 && args[1]->IsNumber()) starty = args[1]->ToInteger()->Value();
2019-07-25T09:25:18.045Z [err] ^
2019-07-25T09:25:18.046Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:18.046Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:18.046Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:18.046Z [err] ^~~~~
2019-07-25T09:25:18.046Z [err] ../src/ledmatrix.cc:571:74: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:18.046Z [err] if(args.Length() > 2 && args[2]->IsNumber()) width = args[2]->ToInteger()->Value();
2019-07-25T09:25:18.046Z [err] ^
2019-07-25T09:25:18.047Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:18.047Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:18.047Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:18.047Z [err] ^~~~~
2019-07-25T09:25:18.047Z [err] ../src/ledmatrix.cc:572:75: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:18.047Z [err] if(args.Length() > 3 && args[3]->IsNumber()) height = args[3]->ToInteger()->Value();
2019-07-25T09:25:18.047Z [err] ^
2019-07-25T09:25:18.047Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:18.047Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:18.047Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:18.047Z [err] ^~~~~
2019-07-25T09:25:18.048Z [err] ../src/ledmatrix.cc:573:73: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:18.048Z [err] if(args.Length() > 4 && args[4]->IsNumber()) imgx = args[4]->ToInteger()->Value();
2019-07-25T09:25:18.048Z [err] ^
2019-07-25T09:25:18.048Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:18.048Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:18.048Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:18.048Z [err] ^~~~~
2019-07-25T09:25:18.049Z [err] ../src/ledmatrix.cc:574:73: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:18.049Z [err] if(args.Length() > 5 && args[5]->IsNumber()) imgy = args[5]->ToInteger()->Value();
2019-07-25T09:25:18.049Z [err] ^
2019-07-25T09:25:18.049Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:18.049Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:18.049Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:18.049Z [err] ^~~~~
2019-07-25T09:25:18.049Z [err] ../src/ledmatrix.cc:575:75: warning: ‘v8::Localv8::Boolean v8::Value::ToBoolean() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:18.049Z [err] if(args.Length() > 6 && args[6]->IsBoolean()) looph = args[6]->ToBoolean()->Value();
2019-07-25T09:25:18.049Z [err] ^
2019-07-25T09:25:18.049Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:18.049Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10034:16: note: declared here
2019-07-25T09:25:18.049Z [err] Local Value::ToBoolean() const {
2019-07-25T09:25:18.049Z [err] ^~~~~
2019-07-25T09:25:18.050Z [err] ../src/ledmatrix.cc:576:75: warning: ‘v8::Localv8::Boolean v8::Value::ToBoolean() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:18.050Z [err] if(args.Length() > 7 && args[7]->IsBoolean()) loopv = args[7]->ToBoolean()->Value();
2019-07-25T09:25:18.050Z [err] ^
2019-07-25T09:25:18.050Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:18.050Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10034:16: note: declared here
2019-07-25T09:25:18.050Z [err] Local Value::ToBoolean() const {
2019-07-25T09:25:18.050Z [err] ^~~~~
2019-07-25T09:25:18.053Z [err] ../src/ledmatrix.cc: In static member function ‘static void LedMatrix::Scroll(const Nan::FunctionCallbackInfov8::Value&)’:
2019-07-25T09:25:18.053Z [err] ../src/ledmatrix.cc:592:75: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:18.053Z [err] if(args.Length() > 1 && args[1]->IsNumber()) startx = args[1]->ToInteger()->Value();
2019-07-25T09:25:18.053Z [err] ^
2019-07-25T09:25:18.053Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:18.053Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:18.053Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:18.053Z [err] ^~~~~
2019-07-25T09:25:18.053Z [err] ../src/ledmatrix.cc:593:75: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:18.053Z [err] if(args.Length() > 2 && args[2]->IsNumber()) starty = args[2]->ToInteger()->Value();
2019-07-25T09:25:18.053Z [err] ^
2019-07-25T09:25:18.054Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:18.054Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:18.054Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:18.054Z [err] ^~~~~
2019-07-25T09:25:18.055Z [err] ../src/ledmatrix.cc:601:75: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:18.055Z [err] if(args.Length() > 3 && args[3]->IsNumber()) width = args[3]->ToInteger()->Value();
2019-07-25T09:25:18.055Z [err] ^
2019-07-25T09:25:18.055Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:18.055Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:18.055Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:18.055Z [err] ^~~~~
2019-07-25T09:25:18.055Z [err] ../src/ledmatrix.cc:602:76: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:18.055Z [err] if(args.Length() > 4 && args[4]->IsNumber()) height = args[4]->ToInteger()->Value();
2019-07-25T09:25:18.055Z [err] ^
2019-07-25T09:25:18.055Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:18.055Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:18.055Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:18.055Z [err] ^~~~~
2019-07-25T09:25:18.056Z [err] ../src/ledmatrix.cc:603:76: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:18.056Z [err] if(args.Length() > 5 && args[5]->IsNumber()) scroll = args[5]->ToInteger()->Value();
2019-07-25T09:25:18.056Z [err] ^
2019-07-25T09:25:18.056Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:18.056Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:18.056Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:18.056Z [err] ^~~~~
2019-07-25T09:25:18.056Z [err] ../src/ledmatrix.cc:604:75: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:18.056Z [err] if(args.Length() > 6 && args[6]->IsNumber()) speed = args[6]->ToInteger()->Value();
2019-07-25T09:25:18.056Z [err] ^
2019-07-25T09:25:18.056Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:18.056Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:18.056Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:18.056Z [err] ^~~~~
2019-07-25T09:25:18.057Z [err] ../src/ledmatrix.cc:605:74: warning: ‘v8::Localv8::Integer v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
2019-07-25T09:25:18.057Z [err] if(args.Length() > 7 && args[7]->IsNumber()) loop = args[7]->ToInteger()->Value();
2019-07-25T09:25:18.057Z [err] ^
2019-07-25T09:25:18.057Z [err] In file included from ../src/ledmatrix.cc:9:0:
2019-07-25T09:25:18.057Z [err] /home/pi/.cache/node-gyp/10.16.0/include/node/v8.h:10052:16: note: declared here
2019-07-25T09:25:18.057Z [err] Local Value::ToInteger() const {
2019-07-25T09:25:18.057Z [err] ^~~~~
2019-07-25T09:25:18.069Z [err] ../src/ledmatrix.cc: In static member function ‘static void LedMatrix::UV_AfterScroll(uv_work_t*, int)’:
2019-07-25T09:25:18.069Z [err] ../src/ledmatrix.cc:720:25: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value*) const’ is deprecated [-Wdeprecated-declarations]
2019-07-25T09:25:18.069Z [err] uv->callback->Call(0, 0);
2019-07-25T09:25:18.069Z [err] ^
2019-07-25T09:25:18.070Z [err] In file included from ../include/ledmatrix.h:19:0,
2019-07-25T09:25:18.070Z [err] from ../src/ledmatrix.cc:18:
2019-07-25T09:25:18.070Z [err] ../../nan/nan.h:1740:3: note: declared here
2019-07-25T09:25:18.070Z [err] Call(int argc, v8::Localv8::Value argv[]) const {
2019-07-25T09:25:18.070Z [err] ^~~~
2019-07-25T09:25:24.437Z [out] CXX(target) Release/obj.target/node-rpi-rgb-led-matrix/src/image.o
2019-07-25T09:25:24.782Z [out] SOLINK_MODULE(target) Release/obj.target/node-rpi-rgb-led-matrix.node
2019-07-25T09:25:25.237Z [out] COPY Release/node-rpi-rgb-led-matrix.node
2019-07-25T09:25:25.257Z [out] make: Leaving directory '/home/pi/.node-red/node_modules/easybotics-rpi-rgb-led-matrix/build'
2019-07-25T09:25:26.195Z [err] npm
2019-07-25T09:25:26.196Z [err] WARN [email protected] No repository field.
2019-07-25T09:25:26.196Z [err] npm
2019-07-25T09:25:26.196Z [err] WARN [email protected] No license field.
2019-07-25T09:25:26.198Z [err]
2019-07-25T09:25:26.203Z [out] + [email protected]
2019-07-25T09:25:26.203Z [out] added 55 packages from 72 contributors in 55.025s
2019-07-25T09:25:26.259Z rc=0

How to use scroll?

I see on a commit you added a scoll feature. Can you please provide an example on how to use?

matrix.scroll(callback, startx, starty, width, height, direction, speed, loop) ?
matrix.drawText(32, 0, 'text!', font, 255, 255, 255.scroll({}, 0, 0, 20, 20, left??, 30, true ? 1) ???

From the code I can see something like
.scroll(callback, startx, starty, width, height, direction, speed, loop)

I haven't been able to reverse engineer and figure out how to use it. I tried a few times and got a segmentation fault a few times

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.