node-libvirt icon indicating copy to clipboard operation
node-libvirt copied to clipboard

Can't install on Centos 7

Open crxtech opened this issue 5 years ago • 0 comments

Hello.

I get following error when I try to node-gyp build node-libvirt on Centos 7, node 15.2, npm 7.0.8, node-gyp 7.1.2, python 3.6.8 and libvirt 6.5. node-gyp configure returns ok.

make: Entering directory `/home/userName/projectName/node_modules/libvirt/build' CXX(target) Release/obj.target/libvirt/src/domain.o In file included from /home/userName/.cache/node-gyp/15.2.0/include/node/node.h:63:0, from ../src/nan.h:56, from ../src/node_libvirt.h:8, from ../src/error.h:5, from ../src/domain.cc:3: /home/userName/.cache/node-gyp/15.2.0/include/node/v8.h: In member function 'void v8::TracedReferenceBase<T>::SetSlotThreadSafe(T*)': /home/userName/.cache/node-gyp/15.2.0/include/node/v8.h:912:22:error: expected type-specifier reinterpret_cast<std::atomic<T*>*>(&val_)->store(new_val,

crxtech avatar Dec 08 '20 16:12 crxtech