Link error when compiling the zoom sdk demo

Description
when compiling the zoom sdk demo (downloaded from 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). But zoom sdk github said vs 2019 should be used

Thanks for your time!

The issue is fixed after change to release .

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

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

1 Like

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