clipboard-watch icon indicating copy to clipboard operation
clipboard-watch copied to clipboard

Error building against [email protected]

Open sachetsharma1 opened this issue 5 years ago • 0 comments

I am trying to build it against [email protected] on Mac OS 10.13.6 but running into following errors:

An unhandled error occurred inside electron-rebuild CXX(target) Release/obj.target/binding/src/binding.o ../src/binding.cc:360:23: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations] String::Utf8Value str(in); ^ .electron-gyp/4.0.6/include/node/v8.h:3006:5: note: 'Utf8Value' has been explicitly marked deprecated here V8_DEPRECATED("Use Isolate version", ^ electron-gyp/4.0.6/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED' declarator attribute((deprecated)) ^ ../src/binding.cc:435:23: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations] String::Utf8Value str(in); ^ electron-gyp/4.0.6/include/node/v8.h:3006:5: note: 'Utf8Value' has been explicitly marked deprecated here V8_DEPRECATED("Use Isolate version", ^ .electron-gyp/4.0.6/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED' declarator attribute((deprecated)) ^ ../src/binding.cc:619:11: error: no member named 'ForceSet' in 'v8::Object' target->ForceSet(Nan::Newv8::String("endianness").ToLocalChecked(), Nan::Newv8::String(CheckEndianness()).ToLocalChecked(), static_cast<PropertyAttribute>(ReadOnly|DontDelete));

../src/binding.cc:620:11: error: no member named 'ForceSet' in 'v8::Object'
target->ForceSet(Nan::New<v8::String>("NULL").ToLocalChecked(), WrapNullPointer(), static_cast<PropertyAttribute>(ReadOnly|DontDelete));

sachetsharma1 avatar May 15 '19 13:05 sachetsharma1