# Demo build problems "cannot instantiate abstract class"

**URL:** <https://devforum.zoom.us/t/demo-build-problems-cannot-instantiate-abstract-class/17644>\
**Category:** Meeting SDK\
**Created:** [May 14, 2020, 12:25pm UTC](https://devforum.zoom.us/t/demo-build-problems-cannot-instantiate-abstract-class/17644 "2020-05-14T12:25:54Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![congoblue](https://avatars.discourse-cdn.com/v4/letter/c/ec9cab/32.png) [@congoblue](https://devforum.zoom.us/u/congoblue)\
**Post date:** [May 14, 2020, 12:25pm UTC](https://devforum.zoom.us/t/demo-build-problems-cannot-instantiate-abstract-class/17644/1 "2020-05-14T12:25:54Z")

</div>

Hi, having problems getting the Desktop SDK demo to build using Visual Studio Community 2017. This is probably a simple configuration problem in VS but I have so far failed to find the problem. VS 2019 community has the same problem.  
\zoom-sdk-windows-master\demo\sdk\_demo\demoui.cpp(13): error C2259: ‘CMeetingServiceMgr’: cannot instantiate abstract class

Desktop SDK v4.6.21666.0428  
Visual Studio Community 2017 (2019 behaves the same)

This is using the SDK zip downloaded from the Zoom site, loading /demo/sdk\_demo/sdk\_demo\_2017.sdk, change build to “Release”, platform “x86”, press “Build solution”

I am probably missing something really obvious. Hope someone can point it out.

---

<div class="post-metadata">

**Author:** ![congoblue](https://avatars.discourse-cdn.com/v4/letter/c/ec9cab/32.png) [@congoblue](https://devforum.zoom.us/u/congoblue)\
**Post date:** [May 14, 2020, 2:26pm UTC](https://devforum.zoom.us/t/demo-build-problems-cannot-instantiate-abstract-class/17644/2 "2020-05-14T14:26:03Z")

</div>

Sorry to reply to my own topic.  
But there appears to be a line missing in MeetingServiceMgr.h

If I add this line at line 141 in the file then the demo will build successfully  
virtual void onBreakoutRoomBtnClicked() {}

I am not sure if this is a problem with my particular setup of Visual Studio or if I am just the first person to attempt to build this version of the SDK demo.

---

<div class="post-metadata">

**Author:** ![rodo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rodo/32/8553_2.png) [@rodo](https://devforum.zoom.us/u/rodo)\
**Post date:** [May 15, 2020, 5:17pm UTC](https://devforum.zoom.us/t/demo-build-problems-cannot-instantiate-abstract-class/17644/3 "2020-05-15T17:17:39Z")

</div>

Cheers man! This fixes me as well.

Wasn’t sure if it was because I retargeted to Windows 10 SDK (SLN was set to 8.1… lol)

Anyways, ZOOM please fix your demos!!

Rodrigo

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [May 15, 2020, 8:13pm UTC](https://devforum.zoom.us/t/demo-build-problems-cannot-instantiate-abstract-class/17644/4 "2020-05-15T20:13:18Z")

</div>

Hi [congoblue](https://devforum.zoom.us/u/congoblue),

Thanks for using Zoom SDK and glad you found the solution. The sdk\_demo project has been deprecated, and we will remove it in the near future. Please have a try with the sdk\_demo\_v2([https://github.com/zoom/zoom-sdk-windows/tree/master/demo/sdk\_demo\_v2](https://github.com/zoom/zoom-sdk-windows/tree/master/demo/sdk_demo_v2)), it includes everything that is covered in sdk\_demo, and it has more. Please use sdk\_demo\_v2 as the reference for your implementation.

Thanks!

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [May 15, 2020, 8:16pm UTC](https://devforum.zoom.us/t/demo-build-problems-cannot-instantiate-abstract-class/17644/5 "2020-05-15T20:16:05Z")

</div>

Hi Rodrigo,

Thanks for using Zoom SDK and thanks for the feedback. Please have a try with the sdk\_demo\_v2([https://github.com/zoom/zoom-sdk-windows/tree/master/demo/sdk\_demo\_v2](https://github.com/zoom/zoom-sdk-windows/tree/master/demo/sdk_demo_v2)).

Thanks!

---

<div class="post-metadata">

**Author:** ![congoblue](https://avatars.discourse-cdn.com/v4/letter/c/ec9cab/32.png) [@congoblue](https://devforum.zoom.us/u/congoblue)\
**Post date:** [May 16, 2020, 7:55am UTC](https://devforum.zoom.us/t/demo-build-problems-cannot-instantiate-abstract-class/17644/6 "2020-05-16T07:55:13Z")

</div>

Hi, I could not get the sdk\_demo\_v2 to build either using Visual Studio 2017 Community.

I get many errors relating to missing atlbase.h

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [May 19, 2020, 4:18am UTC](https://devforum.zoom.us/t/demo-build-problems-cannot-instantiate-abstract-class/17644/7 "2020-05-19T04:18:41Z")

</div>

Hi [congoblue](https://devforum.zoom.us/u/congoblue),

Thanks for the reply. Are you opening the sdk\_demo\_v2 project by opening the sdk\_demo\_v2\_2017.sln file([https://github.com/zoom/zoom-sdk-windows/blob/master/demo/sdk\_demo\_v2/sdk\_demo\_v2\_2017.sln](https://github.com/zoom/zoom-sdk-windows/blob/master/demo/sdk_demo_v2/sdk_demo_v2_2017.sln))? You could follow the instruction in our doc to build and to run our demo app: [https://marketplace.zoom.us/docs/sdk/native-sdks/windows/getting-started/install-sdk](https://marketplace.zoom.us/docs/sdk/native-sdks/windows/getting-started/install-sdk)

If the error persists, please let me know. Thanks!

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 9:23pm UTC](https://devforum.zoom.us/t/demo-build-problems-cannot-instantiate-abstract-class/17644/8 "2020-08-21T21:23:35Z")

</div>

Closed on August 21, 2020, 9:23pm UTC


