# Errors at time compile in c++ application

**URL:** <https://devforum.zoom.us/t/errors-at-time-compile-in-c-application/44454>\
**Category:** Windows\
**Created:** [February 28, 2021, 10:30am UTC](https://devforum.zoom.us/t/errors-at-time-compile-in-c-application/44454 "2021-02-28T10:30:55Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![genaa.ru](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/genaa.ru/32/23470_2.png) [@genaa.ru](https://devforum.zoom.us/u/genaa.ru)\
**Post date:** [February 28, 2021, 10:30am UTC](https://devforum.zoom.us/t/errors-at-time-compile-in-c-application/44454/1 "2021-02-28T10:30:55Z")

</div>

Hi everyone. I followed the steps from the zoom sdk integration instruction [[https://marketplace.zoom.us/docs/sdk/native-sdks/windows/getting-started/integration](https://marketplace.zoom.us/docs/sdk/native-sdks/windows/getting-started/integration)]. But when I include zoom\_sdk.h, I get the following errors.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/2/b/2b39ec111230c48329c5de78ad5c923f95e69cec.png)  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/f/6f1537c339791d64309ff13d651d41ea93659a26.png)

Maybe someone can help me?

- OS: Windows 10
- SDK version: v5.4.54802.0124
- Compiler: msvc2019 32bit
- Config: release + win32

---

<div class="post-metadata">

**Author:** ![tom\_nicholsfaber](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tom_nicholsfaber/32/21736_2.png) [@tom\_nicholsfaber](https://devforum.zoom.us/u/tom_nicholsfaber)\
**Post date:** [March 1, 2021, 8:48pm UTC](https://devforum.zoom.us/t/errors-at-time-compile-in-c-application/44454/2 "2021-03-01T20:48:26Z")

</div>

Hello,

I receive similar errors. I also followed the SDK integration instructions for the Windows client SDK.

[https://marketplace.zoom.us/docs/sdk/native-sdks/windows/getting-started/integration](https://marketplace.zoom.us/docs/sdk/native-sdks/windows/getting-started/integration)

It looks like all the errors come from the zoom\_sdk\_def.h included in other header files (in my case so far, zoom\_sdk.h and auth\_service\_interface.h).

 ![Zoom_SDK_compile_errors.png](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/a/7/a739a05e6f51ade291bad88ab559565257183276.jpeg)

- OS: Windows 10
- SDK Version: 5.4.54802.0124
- Config: Release x86

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [March 1, 2021, 11:45pm UTC](https://devforum.zoom.us/t/errors-at-time-compile-in-c-application/44454/3 "2021-03-01T23:45:54Z")

</div>

Hey @tom_nicholsfaber & @genaa.ru,

Thanks for using the dev forum!

Can you compare your linking settings with the one in the demo application? Can you also compare your DLL folder location to the one in the demo application? My suspicion is that your applications are having trouble finding all the necessary DLL’s.

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![genaa.ru](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/genaa.ru/32/23470_2.png) [@genaa.ru](https://devforum.zoom.us/u/genaa.ru)\
**Post date:** [March 10, 2021, 5:38pm UTC](https://devforum.zoom.us/t/errors-at-time-compile-in-c-application/44454/4 "2021-03-10T17:38:04Z")

</div>

Excuse for troubling, I checked all the project properties, but I get the same errors, here are screenshots. The bin, h and lib folders are in the project folder.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/2/0/20a854187ed4e198729836e731e109548ab206cc.png)  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/0/7/07ce0117f70e24018274a297045b09a2cdc37d55.png)  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/5/1/51cc03c53e8ac3267d940c065c8fdadb1f882735.png)  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/9/69828918176cca8fdba19047e979c09c7257b60c.png)

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [March 10, 2021, 5:42pm UTC](https://devforum.zoom.us/t/errors-at-time-compile-in-c-application/44454/5 "2021-03-10T17:42:39Z")

</div>

Hey @genaa.ru,

Thanks for using the dev forum!

Can you provide screenshots of your bin folder, your release folder, and the folder that your .sln file is in?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![genaa.ru](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/genaa.ru/32/23470_2.png) [@genaa.ru](https://devforum.zoom.us/u/genaa.ru)\
**Post date:** [March 10, 2021, 7:29pm UTC](https://devforum.zoom.us/t/errors-at-time-compile-in-c-application/44454/6 "2021-03-10T19:29:12Z")

</div>

Thank you for helping. Here’s what you asked for.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/2/7/27e3287e819813aacfb8f903c257b38ae3967490.png)  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/8/4/841c2e23933495dc41cd44286e841b01e2213a34.png)

---

<div class="post-metadata">

**Author:** ![tom\_nicholsfaber](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tom_nicholsfaber/32/21736_2.png) [@tom\_nicholsfaber](https://devforum.zoom.us/u/tom_nicholsfaber)\
**Post date:** [March 10, 2021, 8:32pm UTC](https://devforum.zoom.us/t/errors-at-time-compile-in-c-application/44454/7 "2021-03-10T20:32:25Z")

</div>

Hello, Michael! Thank you! I’m attaching screenshots of my project configs and the folders you requested.

General config properties:

 ![Zoom_config_general.png](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/4/b/4b724aa12a25afd7e1f4453e3119cfebbdf41c11.jpeg)

VC++ Directories:

 ![Zoom_VCpp_directories.png](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/b/8/b8d56c7eb0d19101cc2429f157bf82880593cb60.jpeg)

Linker General config:

 ![Zoom_linker_general](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/5/4/5460091f65c020e94d0b82e16c244293e9207381.jpeg)

C/C++ General config:

 ![Zoom_Cpp_general](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/f/2/f2af0b78a92a7e2bcb4c6fe733400c2c087e48e8.jpeg)

Project base folder:  
 ![Zoom_project_folder](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/f/7/f7a7dcc34f0a18efd50c52fcab7961def16cf33b.jpeg)

Project bin folder:

 ![Zoom_project_bin_folder](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/d/3/d334d5bc2cd3ab516547c0514278d62858ae33f2.jpeg)

Project sln folder:  
 ![Zoom_project_sln_folder](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/5/3/53562ed5e35e7c4f7cd43bec05f4228de223e69e.jpeg)

Project Release folder:  
 ![Zoom_project_release_folder](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/4/6/468a937fac9e622483fd4dd6c3e391ca893e48bf.jpeg)

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [March 10, 2021, 11:29pm UTC](https://devforum.zoom.us/t/errors-at-time-compile-in-c-application/44454/8 "2021-03-10T23:29:16Z")

</div>

Hey @tom_nicholsfaber and @genaa.ru,

Sorry, can you also provide a screenshot of your Linker-\>Input settings in VS?  
Also @tom_nicholsfaber, I believe you need to add the path to your header file in the C/C+±\>General-\>Additional Include Directories. For example, Mine looks like this:

 ![Capture](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/f/b/fb506642b59422fe3ea21e6521b05a1963bb8408.png)

One other thing I noticed, that was different: Under Linker-\>General-\> I am adding the path to the lib folder:

 ![Capture](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/c/2/c2a71519768ac77f7515840fd2767ac060765224.png)

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![genaa.ru](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/genaa.ru/32/23470_2.png) [@genaa.ru](https://devforum.zoom.us/u/genaa.ru)\
**Post date:** [March 15, 2021, 10:04pm UTC](https://devforum.zoom.us/t/errors-at-time-compile-in-c-application/44454/9 "2021-03-15T22:04:53Z")

</div>

Thanks for your reply. All settings are the same, but unfortunately, there are still errors.

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [March 15, 2021, 10:18pm UTC](https://devforum.zoom.us/t/errors-at-time-compile-in-c-application/44454/10 "2021-03-15T22:18:41Z")

</div>

Hey @genaa.ru,

Would you be able to email your project over to [DeveloperSupport@zoom.us](mailto:DeveloperSupport@zoom.us) so that I can look at it? Please include my name and a link to this post in the email.

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![tom\_nicholsfaber](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tom_nicholsfaber/32/21736_2.png) [@tom\_nicholsfaber](https://devforum.zoom.us/u/tom_nicholsfaber)\
**Post date:** [March 16, 2021, 6:13pm UTC](https://devforum.zoom.us/t/errors-at-time-compile-in-c-application/44454/11 "2021-03-16T18:13:43Z")

</div>

Hi, Michael. Thanks again! Here is the screenshot for my Linker-\>Input settings:

 ![Zoom_linker_input](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/5/657113810039ad35e567efa1a5481c6c106d8846.jpeg)

I added the header directory to the C/C+±\>General-\>Additional Include Directories and the lib directory to Linker-\>General-\>Additional Library Directories. When I compile now, I get fewer errors. I notice you also have the duilib. I tried including that as well, but that hasn’t seemed to help.

Updated Linker-\>General:

 ![Zoom_linker_general_2](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/c/3/c3b0a4f7e21a6f88ae8c7e62a8f8481fea509f7d.jpeg)

Updated C/C+±\>General:

 ![Zoom_Cpp_general_2](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/9/8/986645af19cabd0120613b0dc0a03993466017d9.jpeg)

Updated (shorter) list of compile errors:

 ![Zoom_SDK_compile_errors_2](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/4/0/40619abd0c84356002935c9134696c510c5978a6.jpeg)

Thank you!  
Tom

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [March 16, 2021, 9:28pm UTC](https://devforum.zoom.us/t/errors-at-time-compile-in-c-application/44454/12 "2021-03-16T21:28:00Z")

</div>

Hey @tom_nicholsfaber,

You dont need DUILib unless you are trying to run the demo application or you actually want to use DUILib for your UI. Can you add sdk.lib to your additional dependencies for Linker-\>Input?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![tom\_nicholsfaber](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tom_nicholsfaber/32/21736_2.png) [@tom\_nicholsfaber](https://devforum.zoom.us/u/tom_nicholsfaber)\
**Post date:** [March 17, 2021, 7:22pm UTC](https://devforum.zoom.us/t/errors-at-time-compile-in-c-application/44454/13 "2021-03-17T19:22:35Z")

</div>

Hi Michael,

I took out the duilib references as I won’t need them, and I added the sdk.lib path into Linker-\>Input-\>Additional Directories. Unfortunately, I’ll still getting the same compile errors as the last message.

 ![Zoom_linker_input_2](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/4/642c17d96e723be3d3781a2ab0e04752d0d4383c.jpeg)

Thank you!  
Tom

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [March 18, 2021, 11:13pm UTC](https://devforum.zoom.us/t/errors-at-time-compile-in-c-application/44454/14 "2021-03-18T23:13:17Z")

</div>

Hey @tom_nicholsfaber,

Hmm, interesting. Would you be able to zip up your project and email it to me at [DeveloperSupport@zoom.us](mailto:DeveloperSupport@zoom.us) so that I can investigate further? Please do not include any private information in the project. When emailing developer support, please mention my name and provide a link to this post.

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [March 23, 2021, 7:04pm UTC](https://devforum.zoom.us/t/errors-at-time-compile-in-c-application/44454/15 "2021-03-23T19:04:28Z")

</div>

Hey @tom_nicholsfaber,

I looked at your project and saw that Windows.h was not included. You need to add  
#include \<Windows.h\> as the SDK is dependent on the Windows API.

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![tom\_nicholsfaber](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tom_nicholsfaber/32/21736_2.png) [@tom\_nicholsfaber](https://devforum.zoom.us/u/tom_nicholsfaber)\
**Post date:** [March 23, 2021, 7:44pm UTC](https://devforum.zoom.us/t/errors-at-time-compile-in-c-application/44454/16 "2021-03-23T19:44:21Z")

</div>

Hey @Michael_Condon ,

Thank you very much! I added that to the top of my includes, and almost all of the compiler errors have vanished. There are just two now, both for the GetVersion() function declaration in zoom\_sdk.h.

 ![Zoom_SDK_compile_errors_3](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/5/a/5ab31b5b57f00b89ad18dc8cf7f16b1f13fec3be.jpeg)

Thanks again!

–Tom

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [March 23, 2021, 8:26pm UTC](https://devforum.zoom.us/t/errors-at-time-compile-in-c-application/44454/17 "2021-03-23T20:26:31Z")

</div>

Hey @tom_nicholsfaber,

Ahh yes that is a naming collision between the windows api and the Zoom SDK. I would say just comment that function out in the header file it belongs in. You can get the version number in the version.txt file instead. I will submit a bug report for that.

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![tom\_nicholsfaber](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tom_nicholsfaber/32/21736_2.png) [@tom\_nicholsfaber](https://devforum.zoom.us/u/tom_nicholsfaber)\
**Post date:** [March 24, 2021, 4:42pm UTC](https://devforum.zoom.us/t/errors-at-time-compile-in-c-application/44454/18 "2021-03-24T16:42:23Z")

</div>

Hey @Michael_Condon

Ah, okay. That makes sense. I’ll go ahead and comment that out.

Thank you much!

–Tom

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [March 24, 2021, 6:13pm UTC](https://devforum.zoom.us/t/errors-at-time-compile-in-c-application/44454/19 "2021-03-24T18:13:03Z")

</div>

Hey @tom_nicholsfaber,

You’re welcome! 🙂  
Please let us know if you run into anything else.

Michael

---

<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:** [April 24, 2021, 4:14am UTC](https://devforum.zoom.us/t/errors-at-time-compile-in-c-application/44454/20 "2021-04-24T04:14:03Z")

</div>

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