# Google/protobuf

**URL:** <https://devforum.zoom.us/t/google-protobuf/55774>\
**Category:** Electron\
**Created:** [August 13, 2021, 6:25pm UTC](https://devforum.zoom.us/t/google-protobuf/55774 "2021-08-13T18:25:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anuragnagarkota](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/anuragnagarkota/32/3217_2.png) [@anuragnagarkota](https://devforum.zoom.us/u/anuragnagarkota)\
**Post date:** [August 13, 2021, 6:25pm UTC](https://devforum.zoom.us/t/google-protobuf/55774/1 "2021-08-13T18:25:06Z")

</div>

I have a doubt in the following documentation

Rebuilding zoom node file

If you are building your own version of the Electron SDK, you will need to follow these steps:

1. Download the protobuf 3.4.0 source file and rename the src folder to protobuf\_src.
2. Copy the src folder into the lib/node\_add\_on folder.
3. 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](https://github.com/protocolbuffers/protobuf/releases/tag/v3.4.0). 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]

Please help

---

<div class="post-metadata">

**Author:** ![giancarlo1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/giancarlo1/32/25030_2.png) [@giancarlo1](https://devforum.zoom.us/u/giancarlo1)\
**Post date:** [August 16, 2021, 5:51pm UTC](https://devforum.zoom.us/t/google-protobuf/55774/2 "2021-08-16T17:51:17Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![green-mint](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/green-mint/32/30260_2.png) [@green-mint](https://devforum.zoom.us/u/green-mint)\
**Post date:** [August 19, 2021, 5:04pm UTC](https://devforum.zoom.us/t/google-protobuf/55774/3 "2021-08-19T17:04:46Z")

</div>

But I am seeing another error:

```auto
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

```

Would appreciate if you can solve this issue.

---

<div class="post-metadata">

**Author:** ![karens](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/karens/32/42121_2.png) [@karens](https://devforum.zoom.us/u/karens)\
**Post date:** [August 24, 2021, 5:11pm UTC](https://devforum.zoom.us/t/google-protobuf/55774/4 "2021-08-24T17:11:37Z")

</div>

Any updates?  
Having the same issue as @green-mint

---

<div class="post-metadata">

**Author:** ![f.barone](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/f.barone/32/9216_2.png) [@f.barone](https://devforum.zoom.us/u/f.barone)\
**Post date:** [September 1, 2021, 12:41pm UTC](https://devforum.zoom.us/t/google-protobuf/55774/5 "2021-09-01T12:41:59Z")

</div>

the correct version is GOOGLE\_PROTOBUF\_VERSION 3013000  
[https://github.com/protocolbuffers/protobuf/archive/refs/heads/3.13.x.zip](https://github.com/protocolbuffers/protobuf/archive/refs/heads/3.13.x.zip)

is hidden in  
.\lib\node\_add\_on\electron\_sdk.pb.h

with this the build works fine !

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [October 1, 2021, 10:42pm UTC](https://devforum.zoom.us/t/google-protobuf/55774/6 "2021-10-01T22:42:57Z")

</div>

Closed on October 1, 2021, 10:42pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
