# Not compiling (Visual Studio)

**URL:** <https://discourse.cataclysmdda.org/t/not-compiling-visual-studio/14139>\
**Category:** The Garage\
**Created:** [August 18, 2017, 11:13am UTC](https://discourse.cataclysmdda.org/t/not-compiling-visual-studio/14139 "2017-08-18T11:13:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![skai\_rue](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/skai_rue/32/6864_2.png) [@skai\_rue](https://discourse.cataclysmdda.org/u/skai_rue)\
**Post date:** [August 18, 2017, 11:13am UTC](https://discourse.cataclysmdda.org/t/not-compiling-visual-studio/14139/1 "2017-08-18T11:13:09Z")

</div>

Over the years, I’ve tinkered with my own personal copy of the game, but have always wanted to actually try doing something more complex. However, every time I’ve ever tried to actually compile the source (without any changes) it has always failed with one error or another, no matter how closely I follow instructions.

This time I noticed instructions for compiling in visual studio, so I tried doing that. After some fiddling, I got the process to start (I’m pretty unfamiliar with visual studio), but partway through I get the error “‘non\_normal’ cannot be implicitly captured because no default capture mode has been specified” in pathfinding.cpp.

Am I an idiot, or is there a reason there would be compile errors in a completely unaltered project? It seems odd that in something like ten attempts to do this over the years, it has never worked even once, no matter what process I use. I just want to get to a point where the default project compiles so that I can at least be having compile errors from my own horrible mistakes.

---

<div class="post-metadata">

**Author:** ![Alec\_White](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/alec_white/32/509_2.png) [@Alec\_White](https://discourse.cataclysmdda.org/u/Alec_White)\
**Post date:** [August 18, 2017, 1:40pm UTC](https://discourse.cataclysmdda.org/t/not-compiling-visual-studio/14139/2 "2017-08-18T13:40:12Z")

</div>

> <https://github.com/CleverRaven/Cataclysm-DDA/pull/21647>

---

<div class="post-metadata">

**Author:** ![skai\_rue](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/skai_rue/32/6864_2.png) [@skai\_rue](https://discourse.cataclysmdda.org/u/skai_rue)\
**Post date:** [August 18, 2017, 8:27pm UTC](https://discourse.cataclysmdda.org/t/not-compiling-visual-studio/14139/3 "2017-08-18T20:27:59Z")

</div>

Thank you very much. I probably never would have been able to fix that on my own.

---

<div class="post-metadata">

**Author:** ![Alec\_White](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/alec_white/32/509_2.png) [@Alec\_White](https://discourse.cataclysmdda.org/u/Alec_White)\
**Post date:** [August 18, 2017, 9:26pm UTC](https://discourse.cataclysmdda.org/t/not-compiling-visual-studio/14139/4 "2017-08-18T21:26:43Z")

</div>

Don’t thank me, thank Maddremor and Coolthulhu.
