Open maltheism opened 7 years ago
Anyone that has this issue can checkout this discussion for alternative branch that works. Link: https://github.com/octalmage/robotjs/issues/243
Still not sure what the issue is for the master branch not working.
It only happens for latest macOS. The root cause is macOS is deprecating libstdc++ and in favor of libc++. Mixed use of both two libraries will cause such oddballs. See nodejs/node-gyp#469.
Currently a workaround is to change all links to libstdc++
in binding.gyp
to libc++
, and change MACOSX_DEPLOYMENT_TARGET
to 10.9
.
nw-gyp rebuild for v0.18.1 fails on rebuild for module robotjs and I tested nw-gyp rebuild for v0.14.7 and it doesn't fail.
Steps to reproduce on macOS 10.12 with nwjs-sdk-v0.18.1-osx-x64
cd node_modules/robotjs sudo nw-gyp configure --target=0.18.1 sudo nw-gyp rebuild --target=0.18.1