Zoom-sdk-electron rebuild error

Description
log trace==>

In file included from …/lib/node_add_on/mac/zoom_native_sdk_wrap_core.mm:2:
In file included from …/lib/node_add_on/mac/…/zoom_native_sdk_wrap_core.h:4:
In file included from …/lib/node_add_on/mac/…/auth_service_wrap_core.h:3:
In file included from …/lib/node_add_on/mac/…/directshare_helper_wrap_core.h:3:
…/lib/node_add_on/mac/…/zoom_sinks_wrap_class.h:125:9: error: no matching member function for call
to ‘Set’
node->Set(v8::String::NewFromUtf8(isolate, “PremeetingAPIResult”), v8::Integ…
^
/Users/roy/Library/Caches/node-gyp/7.1.1/include/node/v8.h:3455:37: note: candidate function not
viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe Set(Local context,
^
/Users/roy/Library/Caches/node-gyp/7.1.1/include/node/v8.h:3458:37: note: candidate function not
viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index,
^
In file included from …/lib/node_add_on/mac/zoom_native_sdk_wrap_core.mm:2:
In file included from …/lib/node_add_on/mac/…/zoom_native_sdk_wrap_core.h:4:
In file included from …/lib/node_add_on/mac/…/auth_service_wrap_core.h:3:
In file included from …/lib/node_add_on/mac/…/directshare_helper_wrap_core.h:3:
…/lib/node_add_on/mac/…/zoom_sinks_wrap_class.h:132:3: warning: ignoring return value of function
declared with ‘warn_unused_result’ attribute [-Wunused-result]
fn->Call(context, global, argc, argv);
^
~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/lib/node_add_on/mac/…/zoom_sinks_wrap_class.h:154:10: error: no matching member function for
call to ‘Set’
node->Set(v8::String::NewFromUtf8(isolate, “meetingID”), v8::Number:…
~~~~^
/Users/roy/Library/Caches/node-gyp/7.1.1/include/node/v8.h:3455:37: note: candidate function not
viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe Set(Local context,
^
/Users/roy/Library/Caches/node-gyp/7.1.1/include/node/v8.h:3458:37: note: candidate function not
viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index,
^

            fn->Call(context, global, argc, argv);
            ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~

…/lib/node_add_on/mac/…/zoom_sinks_wrap_class.h:443:10: error: no matching member function for
call to ‘Set’
node->Set(v8::String::NewFromUtf8(isolate, “userid”), v8::Integer::N…
^
/Users/roy/Library/Caches/node-gyp/7.1.1/include/node/v8.h:3455:37: note: candidate function not
viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe Set(Local context,
^
/Users/roy/Library/Caches/node-gyp/7.1.1/include/node/v8.h:3458:37: note: candidate function not
viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index,
^
In file included from …/lib/node_add_on/mac/zoom_native_sdk_wrap_core.mm:2:
In file included from …/lib/node_add_on/mac/…/zoom_native_sdk_wrap_core.h:4:
In file included from …/lib/node_add_on/mac/…/auth_service_wrap_core.h:3:
In file included from …/lib/node_add_on/mac/…/directshare_helper_wrap_core.h:3:
…/lib/node_add_on/mac/…/zoom_sinks_wrap_class.h:444:11: error: no matching member function for
call to ‘Set’
nodes->Set(i, node);
~^
/Users/roy/Library/Caches/node-gyp/7.1.1/include/node/v8.h:3455:37: note: candidate function not
viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe Set(Local context,
^
/Users/roy/Library/Caches/node-gyp/7.1.1/include/node/v8.h:3458:37: note: candidate function not
viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index,
^
In file included from …/lib/node_add_on/mac/zoom_native_sdk_wrap_core.mm:2:
In file included from …/lib/node_add_on/mac/…/zoom_native_sdk_wrap_core.h:4:
In file included from …/lib/node_add_on/mac/…/auth_service_wrap_core.h:3:
In file included from …/lib/node_add_on/mac/…/directshare_helper_wrap_core.h:3:
…/lib/node_add_on/mac/…/zoom_sinks_wrap_class.h:451:3: warning: ignoring return value of function
declared with ‘warn_unused_result’ attribute [-Wunused-result]
fn->Call(context, global, argc, argv);
^
~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/lib/node_add_on/mac/…/zoom_sinks_wrap_class.h:471:3: warning: ignoring return value of function
declared with ‘warn_unused_result’ attribute [-Wunused-result]
fn->Call(context, global, argc, argv);
^
~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/lib/node_add_on/mac/…/zoom_sinks_wrap_class.h:495:3: warning: ignoring return value of function
declared with ‘warn_unused_result’ attribute [-Wunused-result]
fn->Call(context, global, argc, argv);
^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/lib/node_add_on/mac/…/zoom_sinks_wrap_class.h:516:9: error: no matching member function for call
to ‘Set’
node->Set(v8::String::NewFromUtf8(isolate, “giftUrl”), v8::String::NewFromUt…
~~~~^
/Users/roy/Library/Caches/node-gyp/7.1.1/include/node/v8.h:3455:37: note: candidate function not
viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe Set(Local context,
^


package.json ==>

{
“name”: “test1”,
“version”: “1.0.0”,
“description”: “test”,
“main”: “main.js”,
“scripts”: {
“start”: “./node_modules/.bin/electron .”,
“test”: “echo “Error: no test specified” && exit 1”,
“packager-win”: “electron-packager ./ zoomsdkapp --ia32 --out ./OutApp --version 1.4.0 --overwrite --icon=./app.ico”,
“packager-mac”: “electron-packager ./ zoomsdkapp --platform=darwin --arch=x64 --out ./OutApp --electron-version=7.1.1 --overwrite --icon=./app.icns&& yes|cp -R -H …/lib ./OutApp/zoomsdkapp-darwin-x64/zoomsdkapp.app/Contents/Resources/ && rm -rf …/sdk/win32 && rm -rf …/sdk/win64 && yes|cp -R -H …/sdk ./OutApp/zoomsdkapp-darwin-x64/zoomsdkapp.app/Contents/Resources/ &&yes|cp -R -H …/sdk/mac/Plugins ./OutApp/zoomsdkapp-darwin-x64/zoomsdkapp.app/Contents/ && yes|cp -R -H …/sdk/mac/Resources ./OutApp/zoomsdkapp-darwin-x64/zoomsdkapp.app/Contents/&& yes|cp -R -H …/sdk/mac/ZoomSDK/* ./OutApp/zoomsdkapp-darwin-x64/zoomsdkapp.app/Contents/Frameworks”,
“postinstall-mac”: “yes|cp -R -H …/sdk/mac/Plugins ./node_modules/electron/dist/Electron.app/Contents/&& yes|cp -R -H …/sdk/mac/Resources ./node_modules/electron/dist/Electron.app/Contents/ && yes|cp -R -H …/sdk/mac/ZoomSDK/ ./node_modules/electron/dist/Electron.app/Contents/Frameworks”
},
“author”: “”,
“license”: “ISC”,
“gypfile”: true,
“devDependencies”: {
“electron-packager”: “^12.0.0”,
“electron-rebuild”: “^1.5.10”,
“electron”: “^7.1.1”
},
“dependencies”: {
“electron”: “^7.1.1”,
“electron-rebuild”: “^1.5.10”,
“electron-packager”: “^12.0.0”
}
}

Which version?

macos 10.14.6
node -v v12.13.0
node-gyp -v v5.0.5
electron -v v7.1.1

any one can help me?

Hi bevalbiz,

Thanks for using Zoom SDK. Which Electron SDK version are you using?

Thanks!

Hi, I am experiencing the same issue when trying to build for electron 7.1.1.

Hi olgerdan,

Thanks for using Zoom SDK. Currently, we do not support Electron 7.1.1, it is recommended to use Electron 5. I will pass this as an enhancement request to our engineering team and we will investigate the possibility of adding the support for Electron 7 in future releases.

Thank you!