# Building using Visual Studio 2017

**URL:** <https://discourse.libcinder.org/t/building-using-visual-studio-2017/593>\
**Category:** Using Cinder\
**Created:** [March 6, 2017, 12:54pm UTC](https://discourse.libcinder.org/t/building-using-visual-studio-2017/593 "2017-03-06T12:54:25Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![areriff](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/areriff/32/307_2.png) [@areriff](https://discourse.libcinder.org/u/areriff)\
**Post date:** [March 6, 2017, 12:54pm UTC](https://discourse.libcinder.org/t/building-using-visual-studio-2017/593/1 "2017-03-06T12:54:25Z")

</div>

Does cinder supports VS 2017 yet? Tried to building from fresh source from git, not working though.  
If anybody do got it to work, please tell me how?

---

<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:** [March 6, 2017, 7:57pm UTC](https://discourse.libcinder.org/t/building-using-visual-studio-2017/593/2 "2017-03-06T19:57:22Z")

</div>

VS 2017 hasn’t been officially released yet (I believe it drops tomorrow), however I tested with the latest RC and it worked for me, both building with v140 and v141. The IDE itself was still a bit buggy, though, and was hanging up so I switched back to 2015.

cheers,  
Rich

---

<div class="post-metadata">

**Author:** ![areriff](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/areriff/32/307_2.png) [@areriff](https://discourse.libcinder.org/u/areriff)\
**Post date:** [March 7, 2017, 9:16am UTC](https://discourse.libcinder.org/t/building-using-visual-studio-2017/593/3 "2017-03-07T09:16:18Z")

</div>

Is the instructions is still the same?  
I followed one here:  
[https://libcinder.org/docs/guides/git/index.html](https://libcinder.org/docs/guides/git/index.html)  
and here:  
[https://libcinder.org/docs/guides/windows-setup/index.html](https://libcinder.org/docs/guides/windows-setup/index.html)

in windows setup page, the link in the bottom is broken ([https://libcinder.org/docs/guides/windows-setup/GitSetup.html](https://libcinder.org/docs/guides/windows-setup/GitSetup.html)).

---

<div class="post-metadata">

**Author:** ![brucelane](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/brucelane/32/541_2.png) [@brucelane](https://discourse.libcinder.org/u/brucelane)\
**Post date:** [March 8, 2017, 10:10am UTC](https://discourse.libcinder.org/t/building-using-visual-studio-2017/593/4 "2017-03-08T10:10:17Z")

</div>

It works fine with VS 2017 Community, using Windows 8.1 SDK and v141 (I haven’t tested with Windows 10 SDK)

---

<div class="post-metadata">

**Author:** ![areriff](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/areriff/32/307_2.png) [@areriff](https://discourse.libcinder.org/u/areriff)\
**Post date:** [March 10, 2017, 10:03am UTC](https://discourse.libcinder.org/t/building-using-visual-studio-2017/593/5 "2017-03-10T10:03:21Z")

</div>

I guess that’s the problem I have. I didn’t have Windows 8.1 SDK. I only have Windows 10 SDK.

---

<div class="post-metadata">

**Author:** ![areriff](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/areriff/32/307_2.png) [@areriff](https://discourse.libcinder.org/u/areriff)\
**Post date:** [August 14, 2017, 5:49pm UTC](https://discourse.libcinder.org/t/building-using-visual-studio-2017/593/6 "2017-08-14T17:49:20Z")

</div>

I’m revisiting cinder after few months. Still couldn’t get it to build using Windows 8.1 SDK and v141. I must have missed something here.  
I’m using VS2017 latest patch.  
I tried the VS2015 solution from the cinder\_master\proj and retarget to Windows 8.1 SDK and v141. The build failed with missing include file: ‘corecrt.h’.  
I tried making VS2017 solution using latest Cmake, failed to build again. with bunch of errors.  
What are the correct steps here??  
I prefer not to install VS2015 because of lack of space on my SSD.

---

<div class="post-metadata">

**Author:** ![xumo](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/xumo/32/75_2.png) [@xumo](https://discourse.libcinder.org/u/xumo)\
**Post date:** [August 14, 2017, 11:32pm UTC](https://discourse.libcinder.org/t/building-using-visual-studio-2017/593/7 "2017-08-14T23:32:02Z")

</div>

I’m working with vs2017 and think I have both 8.1 and 10 SDK’s.  
Have you tried just opening the cinder.sln located in cinder\_master\proj\vc2015 with vs2017?  
That’s what I did, just agreed to upgrade to v141 comlpiler when promped.

---

<div class="post-metadata">

**Author:** ![areriff](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/areriff/32/307_2.png) [@areriff](https://discourse.libcinder.org/u/areriff)\
**Post date:** [August 15, 2017, 1:50am UTC](https://discourse.libcinder.org/t/building-using-visual-studio-2017/593/8 "2017-08-15T01:50:56Z")

</div>

Yes, that’s exactly what I did. vc2015.sln.  
I install 8.1 SDK.  
seems like corecrt.h is the only missing file here. Do you know what the file is for? it doesn;t look it belong to cinder.

---

<div class="post-metadata">

**Author:** ![xumo](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/xumo/32/75_2.png) [@xumo](https://discourse.libcinder.org/u/xumo)\
**Post date:** [August 15, 2017, 8:30am UTC](https://discourse.libcinder.org/t/building-using-visual-studio-2017/593/9 "2017-08-15T08:30:05Z")

</div>

> [@areriff](#):
>
> corecrt.h

The project shows it’s located at  
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt

Looks I’m with SDK 10.

---

<div class="post-metadata">

**Author:** ![lithium](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/lithium/32/38_2.png) [@lithium](https://discourse.libcinder.org/u/lithium)\
**Post date:** [August 15, 2017, 8:43am UTC](https://discourse.libcinder.org/t/building-using-visual-studio-2017/593/10 "2017-08-15T08:43:14Z")

</div>

Hey, just a thing to try, but for me when it prompts me to convert, even after it says it’s successfully completed, i still have to manually right click on the project and edit the SDK and occasionally platform toolset, because visual studio is a piece of shit. Any chance the same is happening to you?

---

<div class="post-metadata">

**Author:** ![areriff](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/areriff/32/307_2.png) [@areriff](https://discourse.libcinder.org/u/areriff)\
**Post date:** [August 15, 2017, 5:42pm UTC](https://discourse.libcinder.org/t/building-using-visual-studio-2017/593/11 "2017-08-15T17:42:25Z")

</div>

I change from W8.1 to W10 SDK. It magically succeed the build. 😃  
How do I close this thread?
