If you are building your own version of the Electron SDK, you will need to follow these steps:
Download the protobuf 3.4.0 source file and rename the src folder to protobuf_src.
Copy the src folder into the lib/node_add_on folder.
Run the build_nodeaddon script:
What i did is i have downloaded the source code(zip) file of protobuf from this link Release Protocol Buffers v3.4.0 · protocolbuffers/protobuf · GitHub. Extracted it and copy the src folder and renamed it to protobuf_src and placed this protobuf_src inside lib/node_add_on
Now when I run “>run_demo_win.bat” the following error occurs-
"zoom-sdk-electron-5.7.1.643\lib\node_add_on\electron_sdk.pb.h
(10,10): fatal error C1083: Cannot open include file: ‘google/protobuf/port_def.inc’: No such file or directory [c:***\zoom-sdk-electron-5.7.1.643\build\zoomsdk.vcxproj]
I had the same issue, you have to use a recent version of protobuf(>3.17), port_def.inc doesn’t exist on version 3.4.0. Seems that the Zoom documentation is outdated…
fatal error C1189: #error: This file was generated by an older version of protoc which is path\to\zoom-demo\zoom-sdk-electron-5.7.1.643\build\zoomsdk.vcxproj