Compile fails on node >= 11
Closed this issue · 2 comments
matteoantoci commented
First of all, thank you for such a useful tool. Next, the issue: when trying to install on node 11.x or 12.x or 13.x compilation fails with this error:
error /Users/xxx/workplace/yyy/node_modules/talib-binding: Command failed.
Exit code: 1
Command: ./node_modules/.bin/node-gyp configure build -j4
Arguments:
Directory: /Users/xxx/workplace/yyy/node_modules/talib-binding
Output:
gyp info it worked if it ends with ok
gyp info using node-gyp@3.8.0
gyp info using node@12.13.0 | darwin | x64
gyp info spawn /usr/bin/python
gyp info spawn args [
gyp info spawn args '/Users/xxx/workplace/yyy/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 '/Users/xxx/workplace/yyy/node_modules/talib-binding/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/xxx/workplace/yyy/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/xxx/.node-gyp/12.13.0/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Users/xxx/.node-gyp/12.13.0',
gyp info spawn args '-Dnode_gyp_dir=/Users/xxx/workplace/yyy/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/Users/xxx/.node-gyp/12.13.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/Users/xxx/workplace/yyy/node_modules/talib-binding',
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 info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_abstract/frames/ta_frame.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_abstract/ta_abstract.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_abstract/ta_def_ui.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_abstract/ta_func_api.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_abstract/ta_group_idx.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_abstract/tables/table_a.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_abstract/tables/table_b.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_abstract/tables/table_c.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_abstract/tables/table_d.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_abstract/tables/table_e.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_abstract/tables/table_f.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_abstract/tables/table_g.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_abstract/tables/table_h.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_abstract/tables/table_i.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_abstract/tables/table_j.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_abstract/tables/table_k.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_abstract/tables/table_l.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_abstract/tables/table_m.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_abstract/tables/table_n.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_abstract/tables/table_o.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_abstract/tables/table_p.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_abstract/tables/table_q.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_abstract/tables/table_r.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_abstract/tables/table_s.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_abstract/tables/table_t.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_abstract/tables/table_u.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_abstract/tables/table_v.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_abstract/tables/table_w.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_abstract/tables/table_x.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_abstract/tables/table_y.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_abstract/tables/table_z.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_common/ta_global.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_common/ta_retcode.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_common/ta_version.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_ACCBANDS.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_ACOS.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_AD.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_ADD.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_ADOSC.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_ADX.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_ADXR.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_APO.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_AROON.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_AROONOSC.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_ASIN.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_ATAN.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_ATR.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_AVGDEV.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_AVGPRICE.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_BBANDS.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_BETA.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_BOP.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CCI.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDL2CROWS.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDL3BLACKCROWS.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDL3INSIDE.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDL3LINESTRIKE.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDL3OUTSIDE.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDL3STARSINSOUTH.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDL3WHITESOLDIERS.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLABANDONEDBABY.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLADVANCEBLOCK.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLBELTHOLD.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLBREAKAWAY.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLCLOSINGMARUBOZU.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLCONCEALBABYSWALL.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLCOUNTERATTACK.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLDARKCLOUDCOVER.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLDOJI.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLDOJISTAR.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLDRAGONFLYDOJI.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLENGULFING.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLEVENINGDOJISTAR.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLEVENINGSTAR.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLGAPSIDESIDEWHITE.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLGRAVESTONEDOJI.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLHAMMER.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLHANGINGMAN.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLHARAMI.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLHARAMICROSS.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLHIGHWAVE.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLHIKKAKE.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLHIKKAKEMOD.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLHOMINGPIGEON.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLIDENTICAL3CROWS.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLINNECK.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLINVERTEDHAMMER.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLKICKING.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLKICKINGBYLENGTH.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLLADDERBOTTOM.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLLONGLEGGEDDOJI.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLLONGLINE.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLMARUBOZU.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLMATCHINGLOW.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLMATHOLD.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLMORNINGDOJISTAR.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLMORNINGSTAR.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLONNECK.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLPIERCING.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLRICKSHAWMAN.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLRISEFALL3METHODS.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLSEPARATINGLINES.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLSHOOTINGSTAR.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLSHORTLINE.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLSPINNINGTOP.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLSTALLEDPATTERN.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLSTICKSANDWICH.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLTAKURI.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLTASUKIGAP.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLTHRUSTING.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLTRISTAR.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLUNIQUE3RIVER.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLUPSIDEGAP2CROWS.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CDLXSIDEGAP3METHODS.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CEIL.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CMO.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_CORREL.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_COS.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_COSH.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_DEMA.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_DIV.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_DX.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_EMA.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_EXP.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_FLOOR.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_HT_DCPERIOD.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_HT_DCPHASE.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_HT_PHASOR.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_HT_SINE.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_HT_TRENDLINE.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_HT_TRENDMODE.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_IMI.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_KAMA.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_LINEARREG_ANGLE.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_LINEARREG_INTERCEPT.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_LINEARREG_SLOPE.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_LINEARREG.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_LN.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_LOG10.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_MA.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_MACD.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_MACDEXT.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_MACDFIX.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_MAMA.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_MAVP.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_MAX.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_MAXINDEX.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_MEDPRICE.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_MFI.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_MIDPOINT.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_MIDPRICE.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_MIN.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_MININDEX.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_MINMAX.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_MINMAXINDEX.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_MINUS_DI.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_MINUS_DM.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_MOM.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_MULT.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_NATR.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_NVI.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_OBV.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_PLUS_DI.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_PLUS_DM.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_PPO.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_PVI.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_ROC.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_ROCP.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_ROCR.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_ROCR100.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_RSI.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_SAR.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_SAREXT.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_SIN.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_SINH.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_SMA.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_SQRT.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_STDDEV.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_STOCH.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_STOCHF.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_STOCHRSI.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_SUB.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_SUM.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_T3.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_TAN.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_TANH.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_TEMA.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_TRANGE.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_TRIMA.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_TRIX.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_TSF.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_TYPPRICE.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_ULTOSC.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_utility.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_VAR.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_WCLPRICE.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_WILLR.o
CC(target) Release/obj.target/talib_binding/ta-lib/c/src/ta_func/ta_WMA.o
CXX(target) Release/obj.target/talib_binding/src/talib-binding.generated.o
../src/talib-binding.generated.cc:18:20: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
outAll_JS->Set(0, outRealUpperBand_JS);
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:3411:3: note: 'Set' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
../src/talib-binding.generated.cc:19:20: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
outAll_JS->Set(1, outRealMiddleBand_JS);
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:3411:3: note: 'Set' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
../src/talib-binding.generated.cc:20:20: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
outAll_JS->Set(2, outRealLowerBand_JS);
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:3411:3: note: 'Set' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
../src/talib-binding.generated.cc:25:18: warning: 'Get' is deprecated: Use maybe version [-Wdeprecated-declarations]
if (inFirst->Get(0)->IsObject()) {
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:3461:3: note: 'Get' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index));
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
../src/talib-binding.generated.cc:43:36: warning: 'Get' is deprecated: Use maybe version [-Wdeprecated-declarations]
inHigh[i] = inHigh_JS->Get(i)->NumberValue();
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:3461:3: note: 'Get' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index));
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
../src/talib-binding.generated.cc:43:56: error: too few arguments to function call, single argument 'context' was not specified
inHigh[i] = inHigh_JS->Get(i)->NumberValue();
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:2608:3: note: 'NumberValue' declared here
V8_WARN_UNUSED_RESULT Maybe<double> NumberValue(Local<Context> context) const;
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8config.h:351:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
^
../src/talib-binding.generated.cc:44:34: warning: 'Get' is deprecated: Use maybe version [-Wdeprecated-declarations]
inLow[i] = inLow_JS->Get(i)->NumberValue();
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:3461:3: note: 'Get' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index));
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
../src/talib-binding.generated.cc:44:54: error: too few arguments to function call, single argument 'context' was not specified
inLow[i] = inLow_JS->Get(i)->NumberValue();
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:2608:3: note: 'NumberValue' declared here
V8_WARN_UNUSED_RESULT Maybe<double> NumberValue(Local<Context> context) const;
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8config.h:351:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
^
../src/talib-binding.generated.cc:45:38: warning: 'Get' is deprecated: Use maybe version [-Wdeprecated-declarations]
inClose[i] = inClose_JS->Get(i)->NumberValue();
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:3461:3: note: 'Get' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index));
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
../src/talib-binding.generated.cc:45:58: error: too few arguments to function call, single argument 'context' was not specified
inClose[i] = inClose_JS->Get(i)->NumberValue();
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:2608:3: note: 'NumberValue' declared here
V8_WARN_UNUSED_RESULT Maybe<double> NumberValue(Local<Context> context) const;
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8config.h:351:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
^
../src/talib-binding.generated.cc:47:80: error: too few arguments to function call, single argument 'context' was not specified
optTime_Period = argc > 3 && info[3]->IsInt32() ? info[3]->Int32Value() : optTime_Period;
~~~~~~~~~~~~~~~~~~~ ^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:2613:3: note: 'Int32Value' declared here
V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8config.h:351:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
^
../src/talib-binding.generated.cc:48:73: error: too few arguments to function call, single argument 'context' was not specified
startIdx = argc > 4 && info[4]->IsInt32() ? info[4]->Int32Value() : startIdx;
~~~~~~~~~~~~~~~~~~~ ^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:2613:3: note: 'Int32Value' declared here
V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8config.h:351:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
^
../src/talib-binding.generated.cc:49:71: error: too few arguments to function call, single argument 'context' was not specified
endIdx = argc > 5 && info[5]->IsInt32() ? info[5]->Int32Value() : endIdx;
~~~~~~~~~~~~~~~~~~~ ^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:2613:3: note: 'Int32Value' declared here
V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8config.h:351:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
^
../src/talib-binding.generated.cc:56:33: warning: 'Get' is deprecated: Use maybe version [-Wdeprecated-declarations]
inObject = inFirst->Get(i)->ToObject();
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:3461:3: note: 'Get' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index));
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
../src/talib-binding.generated.cc:56:41: error: no matching member function for call to 'ToObject'
inObject = inFirst->Get(i)->ToObject();
~~~~~~~~~~~~~~~~~^~~~~~~~
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:2576:44: note: candidate function not viable: requires single argument 'context', but no arguments were provided
V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:2590:31: note: candidate function not viable: requires single argument 'isolate', but no arguments were provided
Local<Object> ToObject(Isolate* isolate) const);
^
../src/talib-binding.generated.cc:57:35: warning: 'Get' is deprecated: Use maybe version [-Wdeprecated-declarations]
inHigh[i] = inObject->Get(inHighName)->NumberValue();
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:3457:3: note: 'Get' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
../src/talib-binding.generated.cc:57:64: error: too few arguments to function call, single argument 'context' was not specified
inHigh[i] = inObject->Get(inHighName)->NumberValue();
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:2608:3: note: 'NumberValue' declared here
V8_WARN_UNUSED_RESULT Maybe<double> NumberValue(Local<Context> context) const;
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8config.h:351:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
^
../src/talib-binding.generated.cc:58:34: warning: 'Get' is deprecated: Use maybe version [-Wdeprecated-declarations]
inLow[i] = inObject->Get(inLowName)->NumberValue();
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:3457:3: note: 'Get' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
../src/talib-binding.generated.cc:58:62: error: too few arguments to function call, single argument 'context' was not specified
inLow[i] = inObject->Get(inLowName)->NumberValue();
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:2608:3: note: 'NumberValue' declared here
V8_WARN_UNUSED_RESULT Maybe<double> NumberValue(Local<Context> context) const;
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8config.h:351:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
^
../src/talib-binding.generated.cc:59:36: warning: 'Get' is deprecated: Use maybe version [-Wdeprecated-declarations]
inClose[i] = inObject->Get(inCloseName)->NumberValue();
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:3457:3: note: 'Get' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
../src/talib-binding.generated.cc:59:66: error: too few arguments to function call, single argument 'context' was not specified
inClose[i] = inObject->Get(inCloseName)->NumberValue();
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:2608:3: note: 'NumberValue' declared here
V8_WARN_UNUSED_RESULT Maybe<double> NumberValue(Local<Context> context) const;
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8config.h:351:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
^
../src/talib-binding.generated.cc:61:80: error: too few arguments to function call, single argument 'context' was not specified
optTime_Period = argc > 1 && info[1]->IsInt32() ? info[1]->Int32Value() : optTime_Period;
~~~~~~~~~~~~~~~~~~~ ^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:2613:3: note: 'Int32Value' declared here
V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8config.h:351:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
^
../src/talib-binding.generated.cc:62:73: error: too few arguments to function call, single argument 'context' was not specified
startIdx = argc > 2 && info[2]->IsInt32() ? info[2]->Int32Value() : startIdx;
~~~~~~~~~~~~~~~~~~~ ^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:2613:3: note: 'Int32Value' declared here
V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8config.h:351:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
^
../src/talib-binding.generated.cc:63:71: error: too few arguments to function call, single argument 'context' was not specified
endIdx = argc > 3 && info[3]->IsInt32() ? info[3]->Int32Value() : endIdx;
~~~~~~~~~~~~~~~~~~~ ^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:2613:3: note: 'Int32Value' declared here
V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8config.h:351:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
^
../src/talib-binding.generated.cc:78:20: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
outAll_JS->Set(0, outRealUpperBand_JS);
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:3411:3: note: 'Set' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
../src/talib-binding.generated.cc:79:20: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
outAll_JS->Set(1, outRealMiddleBand_JS);
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:3411:3: note: 'Set' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
../src/talib-binding.generated.cc:80:20: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
outAll_JS->Set(2, outRealLowerBand_JS);
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:3411:3: note: 'Set' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
../src/talib-binding.generated.cc:110:16: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
outAll_JS->Set(0, outRealUpperBand_JS);
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:3411:3: note: 'Set' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
../src/talib-binding.generated.cc:111:16: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
outAll_JS->Set(1, outRealMiddleBand_JS);
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:3411:3: note: 'Set' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
../src/talib-binding.generated.cc:112:16: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
outAll_JS->Set(2, outRealLowerBand_JS);
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:3411:3: note: 'Set' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
../src/talib-binding.generated.cc:114:30: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
outRealUpperBand_JS->Set(i, Nan::New<v8::Number>(outRealUpperBand[i]));
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:3411:3: note: 'Set' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
../src/talib-binding.generated.cc:115:31: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
outRealMiddleBand_JS->Set(i, Nan::New<v8::Number>(outRealMiddleBand[i]));
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:3411:3: note: 'Set' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
../src/talib-binding.generated.cc:116:30: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
outRealLowerBand_JS->Set(i, Nan::New<v8::Number>(outRealLowerBand[i]));
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:3411:3: note: 'Set' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
../src/talib-binding.generated.cc:140:18: warning: 'Get' is deprecated: Use maybe version [-Wdeprecated-declarations]
if (inFirst->Get(0)->IsObject()) {
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:3461:3: note: 'Get' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index));
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
../src/talib-binding.generated.cc:153:36: warning: 'Get' is deprecated: Use maybe version [-Wdeprecated-declarations]
inReal[i] = inReal_JS->Get(i)->NumberValue();
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:3461:3: note: 'Get' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index));
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
../src/talib-binding.generated.cc:153:56: error: too few arguments to function call, single argument 'context' was not specified
inReal[i] = inReal_JS->Get(i)->NumberValue();
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:2608:3: note: 'NumberValue' declared here
V8_WARN_UNUSED_RESULT Maybe<double> NumberValue(Local<Context> context) const;
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8config.h:351:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
^
../src/talib-binding.generated.cc:155:73: error: too few arguments to function call, single argument 'context' was not specified
startIdx = argc > 1 && info[1]->IsInt32() ? info[1]->Int32Value() : startIdx;
~~~~~~~~~~~~~~~~~~~ ^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:2613:3: note: 'Int32Value' declared here
V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8config.h:351:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
^
../src/talib-binding.generated.cc:156:71: error: too few arguments to function call, single argument 'context' was not specified
endIdx = argc > 2 && info[2]->IsInt32() ? info[2]->Int32Value() : endIdx;
~~~~~~~~~~~~~~~~~~~ ^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:2613:3: note: 'Int32Value' declared here
V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8config.h:351:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
^
../src/talib-binding.generated.cc:158:53: error: no matching member function for call to 'ToString'
v8::Local<v8::String> inRealName = info[1]->ToString();
~~~~~~~~~^~~~~~~~
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate function not viable: requires single argument 'context', but no arguments were provided
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate function not viable: requires single argument 'isolate', but no arguments were provided
Local<String> ToString(Isolate* isolate) const);
^
../src/talib-binding.generated.cc:161:33: warning: 'Get' is deprecated: Use maybe version [-Wdeprecated-declarations]
inObject = inFirst->Get(i)->ToObject();
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:3461:3: note: 'Get' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index));
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
../src/talib-binding.generated.cc:161:41: error: no matching member function for call to 'ToObject'
inObject = inFirst->Get(i)->ToObject();
~~~~~~~~~~~~~~~~~^~~~~~~~
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:2576:44: note: candidate function not viable: requires single argument 'context', but no arguments were provided
V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:2590:31: note: candidate function not viable: requires single argument 'isolate', but no arguments were provided
Local<Object> ToObject(Isolate* isolate) const);
^
../src/talib-binding.generated.cc:162:35: warning: 'Get' is deprecated: Use maybe version [-Wdeprecated-declarations]
inReal[i] = inObject->Get(inRealName)->NumberValue();
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:3457:3: note: 'Get' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
../src/talib-binding.generated.cc:162:64: error: too few arguments to function call, single argument 'context' was not specified
inReal[i] = inObject->Get(inRealName)->NumberValue();
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/xxx/.node-gyp/12.13.0/include/node/v8.h:2608:3: note: 'NumberValue' declared here
V8_WARN_UNUSED_RESULT Maybe<double> NumberValue(Local<Context> context) const;
^
/Users/xxx/.node-gyp/12.13.0/include/node/v8config.h:351:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
24 warnings and 20 errors generated.
make: *** [Release/obj.target/talib_binding/src/talib-binding.generated.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/xxx/workplace/yyy/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:210:5)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Darwin 18.7.0
gyp ERR! command "/Users/xxx/.nvm/versions/node/v12.13.0/bin/node" "/Users/xxx/workplace/yyy/node_modules/talib-binding/node_modules/.bin/node-gyp" "configure" "build" "-j4"
gyp ERR! cwd /Users/xxx/workplace/yyy/node_modules/talib-binding
gyp ERR! node -v v12.13.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
Any clues? Thanks!
acrazing commented
Well, thanks for report this problem, I fixed it and tested with Node.js v8.16.2
, v12.10.0
, and v13.3.0
, all of them are fine. You can try to install the latest version by npm or yarn.
And if you meet something like
No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'.
No receipt for 'com.apple.pkg.DeveloperToolsCLILeo' found at '/'.
No receipt for 'com.apple.pkg.DeveloperToolsCLI' found at '/'.
you can try to follow this comment: nodejs/node-gyp#1927 (comment).
matteoantoci commented
@acrazing it worked like a charm, thanks!!