in_alaska@xxxx propel (grid)โบ ./tools/presubmit.js
Delete dir ./build
node ./tools/cpplint.js
python ./deps/cpplint/cpplint.py binding.cc check.h
Done processing binding.cc
Done processing check.h
node ./tools/tslint.js
node ./node_modules/tslint/bin/tslint -p /Users/in_alaska/propel
node ./tools/stylelint.js
node ./node_modules/stylelint/bin/stylelint.js --config stylelint.json website/main.scss website/normalize.scss website/skeleton.scss website/syntax.scss website/syntax_dark.scss website/syntax_light.scss
node ./tools/test.js
node ./tools/build_binding.js
mkdir /Users/in_alaska/propel/build
mkdir /Users/in_alaska/propel/build/Release
node tools/extract_so.js /Users/in_alaska/propel/build/Release
outDir /Users/in_alaska/propel/build/Release
Extracting /Users/in_alaska/propel/deps/libtensorflow/libtensorflow-cpu-darwin-x86_64.tar.gz
Extracting libtensorflow.so
/Users/in_alaska/propel/build/Release/libtensorflow.so
Extracting libtensorflow_framework.so
/Users/in_alaska/propel/build/Release/libtensorflow_framework.so
clang -c -o Release/binding.o ../binding.cc -I/usr/local/include/node -I/Users/in_alaska/propel/deps/libtensorflow/include -Wall -W -Wno-unused-parameter -std=gnu++0x -DNODE_GYP_MODULE_NAME=tensorflow-binding -DUSING_UV_SHARED=1 -DUSING_V8_SHARED=1 -DV8_DEPRECATION_WARNINGS=1 -D_DARWIN_USE_64_BIT_INODE=1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DBUILDING_NODE_EXTENSION -stdlib=libc++ -mmacosx-version-min=10.7 -arch x86_64
../binding.cc:703:50: error: use of undeclared identifier 'NAPI_AUTO_LENGTH'
nstatus = napi_create_string_utf8(env, device, NAPI_AUTO_LENGTH, &js_device);
^
../binding.cc:1006:7: error: use of undeclared identifier 'NAPI_AUTO_LENGTH'
NAPI_AUTO_LENGTH, // JavasScript class name length
^
../binding.cc:1019:7: error: use of undeclared identifier 'NAPI_AUTO_LENGTH'
NAPI_AUTO_LENGTH, // JavasScript class name length
^
../binding.cc:1123:33: error: cannot initialize a member subobject of type
'napi_addon_register_func' (aka 'void (*)(napi_env__ *, napi_value__ *, napi_value__
*, void *)') with an lvalue of type 'napi_value (napi_env, napi_value)' (aka
'napi_value__ *(napi_env__ *, napi_value__ *)'): different number of parameters
(4 vs 2)
NAPI_MODULE(tensorflow_binding, InitBinding)
^~~~~~~~~~~
/usr/local/include/node/node_api.h:103:26: note: expanded from macro 'NAPI_MODULE'
NAPI_MODULE_X(modname, regfunc, NULL, 0)
^~~~~~~
/usr/local/include/node/node_api.h:92:7: note: expanded from macro 'NAPI_MODULE_X'
regfunc, \
^~~~~~~
4 errors generated.
Error -c
Error ./tools/build_binding.js
Error ./tools/test.js
in_alaska@xxxx propel (grid)โบ node -v
v8.4.0