# Visual Studio 2013 or Visual Studio 2015, can't compile either way

**URL:** https://discourse.cataclysmdda.org/t/visual-studio-2013-or-visual-studio-2015-cant-compile-either-way/9994
**Category:** The Toolbox
**Created:** [July 6, 2015, 2:16pm UTC](https://discourse.cataclysmdda.org/t/visual-studio-2013-or-visual-studio-2015-cant-compile-either-way/9994 "2015-07-06T14:16:53Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Iunnrais](https://avatars.discourse-cdn.com/v4/letter/i/bbce88/32.png) [@Iunnrais](https://discourse.cataclysmdda.org/u/Iunnrais)
#### Post date: [July 6, 2015, 2:16pm UTC](https://discourse.cataclysmdda.org/t/visual-studio-2013-or-visual-studio-2015-cant-compile-either-way/9994/1 "2015-07-06T14:16:53Z")

</div>

The docs suggest that the Visual Studio 2013 compiler will not be able to compile cdda correctly, but that Visual Studio 2015 will. However, Visual Studio 2015 has… issues, when it comes to using SDL 2, and it seems like you have to not only recompile the libraries, but also alter the source code of the libraries to make it compatible.

So with that in mind… is it actually a fools errand to even try setting cdda up under VS2013? My bare efforts have not worked so far, but I haven’t deeply troubleshot yet once I saw the notice.

If it is a fool’s errand, then: Does anyone have the dependency libraries working with VS2015 that they could upload somewhere?

---

<div class="post-metadata">

### Author: ![kevin.granade](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kevin.granade/32/1316_2.png) [@kevin.granade](https://discourse.cataclysmdda.org/u/kevin.granade)
#### Post date: [July 13, 2015, 3:26pm UTC](https://discourse.cataclysmdda.org/t/visual-studio-2013-or-visual-studio-2015-cant-compile-either-way/9994/2 "2015-07-13T15:26:20Z")

</div>

VS2013 is out unless you can convince it to use a compiler that supports the C++11 features we use.  
No idea about the libraries, not a windows user.

---

<div class="post-metadata">

### Author: ![karlnp](https://avatars.discourse-cdn.com/v4/letter/k/f08c70/32.png) [@karlnp](https://discourse.cataclysmdda.org/u/karlnp)
#### Post date: [July 13, 2015, 8:53pm UTC](https://discourse.cataclysmdda.org/t/visual-studio-2013-or-visual-studio-2015-cant-compile-either-way/9994/3 "2015-07-13T20:53:00Z")

</div>

I would recommend taking the [MSYS2](https://github.com/CleverRaven/Cataclysm-DDA/blob/master/COMPILING-CMAKE.md#windows-environment-msys2) approach for compilation, unless you really need to compile from VS2015.

In which case… I’ll add it to my list of compilation methods to verify & write up, but CLion took enough time & frustration that it won’t be for a week or so at the very minimum.

---

<div class="post-metadata">

### Author: ![jaked122](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/jaked122/32/473_2.png) [@jaked122](https://discourse.cataclysmdda.org/u/jaked122)
#### Post date: [July 31, 2015, 10:12pm UTC](https://discourse.cataclysmdda.org/t/visual-studio-2013-or-visual-studio-2015-cant-compile-either-way/9994/4 "2015-07-31T22:12:11Z")

</div>

I checked the visual studio 2015 C++11 support, and it still looks a bit patchy for my liking. It looks good enough to me, nothing that I’ve observed in use in the codebase is unsupported.

Nevertheless, I would strongly recommend that you try to use msys 2 or whatever nonsense for compiling linux things for windows.

I like Visual Studio’s interface too, but this looks like too much work for me to want to do it.
