MoneroOcean / node-cryptoforknote-util

NodeJS wrappers for Cryptonode/Forknote coins
11 stars 83 forks source link

Generates an error when compiling #5

Closed newpoolpw closed 1 year ago

newpoolpw commented 5 years ago

After updating 3 days ago gives an error.

make: Entering directory '/home/sanich/poollethean/node_modules/cryptoforknote-util/build' CXX(target) Release/obj.target/cryptoforknote/src/main.o ../src/main.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE convert_blob(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/main.cc:154:10: error: use of enum ‘POW_TYPE’ without previous declaration enum POW_TYPE pow_type = POW_TYPE_NOT_SET; ^ ../src/main.cc:154:30: error: ‘POW_TYPE_NOT_SET’ was not declared in this scope enum POW_TYPE pow_type = POW_TYPE_NOT_SET; ^ ../src/main.cc:157:37: error: use of enum ‘POW_TYPE’ without previous declaration pow_type = static_cast(Nan::To(info[3]).FromMaybe(0)); ^ ../src/main.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE construct_block_blob(Nan::NAN_METHOD_ARGS_TYPE)’: ...