# Link error when compiling the zoom sdk demo

**URL:** <https://devforum.zoom.us/t/link-error-when-compiling-the-zoom-sdk-demo/37424>\
**Category:** Windows\
**Created:** [December 2, 2020, 2:19pm UTC](https://devforum.zoom.us/t/link-error-when-compiling-the-zoom-sdk-demo/37424 "2020-12-02T14:19:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kiyevin101](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kiyevin101](https://devforum.zoom.us/u/kiyevin101)\
**Post date:** [December 2, 2020, 2:19pm UTC](https://devforum.zoom.us/t/link-error-when-compiling-the-zoom-sdk-demo/37424/1 "2020-12-02T14:19:32Z")

</div>

**Description**  
when compiling the zoom sdk demo (downloaded from [https://github.com/zoom/zoom-sdk-windows](https://github.com/zoom/zoom-sdk-windows))  
I get some linking error, it seems due to duilib, but I am not sure.

**Error**

| Severity | Code | Description | Project | File | Line | Suppression State |
| --- | --- | --- | --- | --- | --- | --- |
| Error | LNK2038 | mismatch detected for ‘\_ITERATOR\_DEBUG\_LEVEL’: value ‘0’ doesn’t match value ‘2’ in AnnotateBarWindow.obj | sdk\_demo\_v2 | E:\zoom-sdk\demo\sdk\_demo\_v2\duilib.lib(UIBase.obj) | 1 | |
| Error | LNK2038 | mismatch detected for ‘RuntimeLibrary’: value ‘MD\_DynamicRelease’ doesn’t match value ‘MDd\_DynamicDebug’ in AnnotateBarWindow.obj | sdk\_demo\_v2 | E:\zoom-sdk\demo\sdk\_demo\_v2\duilib.lib(UIBase.obj) | 1 | |
| Error | LNK2038 | mismatch detected for ‘\_ITERATOR\_DEBUG\_LEVEL’: value ‘0’ doesn’t match value ‘2’ in AnnotateBarWindow.obj | sdk\_demo\_v2 | E:\zoom-sdk\demo\sdk\_demo\_v2\duilib.lib(UIList.obj) | 1 | |
| Error | LNK2038 | mismatch detected for ‘RuntimeLibrary’: value ‘MD\_DynamicRelease’ doesn’t match value ‘MDd\_DynamicDebug’ in AnnotateBarWindow.obj | sdk\_demo\_v2 | E:\zoom-sdk\demo\sdk\_demo\_v2\duilib.lib(UIList.obj) | 1 | |
| Error | LNK2038 | mismatch detected for ‘\_ITERATOR\_DEBUG\_LEVEL’: value ‘0’ doesn’t match value ‘2’ in AnnotateBarWindow.obj | sdk\_demo\_v2 | E:\zoom-sdk\demo\sdk\_demo\_v2\duilib.lib(UIControl.obj) | 1 | |

…

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
zoom sdk windows

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:

1. download zoom sdk windows from github
2. open sdk\_demo\_v2.sln
3. set include path of zoom-sdk\demo\duilib and zoom-sdk\h
4. set link/input duilib.lib
5. compile
6. see link error

**Additional context**  
I am using visual studio 2019. here is said that zoom use vs 2017 as default ([https://marketplace.zoom.us/docs/sdk/native-sdks/windows/getting-started/prerequisites](https://marketplace.zoom.us/docs/sdk/native-sdks/windows/getting-started/prerequisites)). But zoom sdk github said vs 2019 should be used

Thanks for your time!

---

<div class="post-metadata">

**Author:** ![kiyevin101](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kiyevin101](https://devforum.zoom.us/u/kiyevin101)\
**Post date:** [December 2, 2020, 2:30pm UTC](https://devforum.zoom.us/t/link-error-when-compiling-the-zoom-sdk-demo/37424/2 "2020-12-02T14:30:27Z")

</div>

The issue is fixed after change to release .

I am wondering where can i find the debug version for duilib.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [December 3, 2020, 10:19pm UTC](https://devforum.zoom.us/t/link-error-when-compiling-the-zoom-sdk-demo/37424/3 "2020-12-03T22:19:25Z")

</div>

Hey @kiyevin101,

I’m glad to hear that you were able to resolve your issue! For further information in regard to the Zoom Windows SDK, please submit a post in the #client-desktop-sdk:windows category. I’m also switching this post to the #client-desktop-sdk:windows category.

Thanks,  
Max

---

<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:** [January 3, 2021, 8:19am UTC](https://devforum.zoom.us/t/link-error-when-compiling-the-zoom-sdk-demo/37424/4 "2021-01-03T08:19:41Z")

</div>

Closed on January 3, 2021, 8:19am UTC

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