# Build cinder as shared library on windows

**URL:** <https://discourse.libcinder.org/t/build-cinder-as-shared-library-on-windows/999>\
**Category:** Using Cinder\
**Created:** [December 21, 2017, 11:25am UTC](https://discourse.libcinder.org/t/build-cinder-as-shared-library-on-windows/999 "2017-12-21T11:25:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![noobusdeer](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/noobusdeer/32/460_2.png) [@noobusdeer](https://discourse.libcinder.org/u/noobusdeer)\
**Post date:** [December 21, 2017, 11:25am UTC](https://discourse.libcinder.org/t/build-cinder-as-shared-library-on-windows/999/1 "2017-12-21T11:25:08Z")

</div>

Hi!  
Is it posible to build cinder as shared library on windows as cmake … -DBUILD\_SHARED\_LIBS=1 on linux.  
I’m trying to make with cmake on windows buit get many unresolved external symbol errors.  
I’m making application with cinder and this app use shared libraries.  
App and libraries used cinder types  
So i don’t wont to iclude multiple copies of cinder.  
Thanks:slight\_smile:

---

<div class="post-metadata">

**Author:** ![rich.e](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/rich.e/32/1025_2.png) [@rich.e](https://discourse.libcinder.org/u/rich.e)\
**Post date:** [December 25, 2017, 4:10am UTC](https://discourse.libcinder.org/t/build-cinder-as-shared-library-on-windows/999/2 "2017-12-25T04:10:57Z")

</div>

Hi there,

Cmake support on Windows is pretty experimental, but you can make shared libraries within one of the Visual Studio configurations in github master branch, either Debug\_Shared or Release\_Shared.

cheers,  
Rich

---

<div class="post-metadata">

**Author:** ![Stefan\_Monov](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/stefan_monov/32/476_2.png) [@Stefan\_Monov](https://discourse.libcinder.org/u/Stefan_Monov)\
**Post date:** [July 7, 2024, 9:51am UTC](https://discourse.libcinder.org/t/build-cinder-as-shared-library-on-windows/999/3 "2024-07-07T09:51:17Z")

</div>

[7 years later…]

Is there any way to get cinder to build as a shared library on Windows _without_ using the master branch (which is probably not production-ready)? 🙂

---

<div class="post-metadata">

**Author:** ![rich.e](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/rich.e/32/1025_2.png) [@rich.e](https://discourse.libcinder.org/u/rich.e)\
**Post date:** [September 7, 2024, 10:08pm UTC](https://discourse.libcinder.org/t/build-cinder-as-shared-library-on-windows/999/4 "2024-09-07T22:08:48Z")

</div>

Sorry for the late reply, I haven’t been on a computer much as of late - the master branch is indeed production ready, it’s actually all we’ve ever used during production (unless we are using a private branch for some specific feature we need).

cheers,  
Rich
