# How to compile SDL version with VS2012?

**URL:** <https://discourse.cataclysmdda.org/t/how-to-compile-sdl-version-with-vs2012/2220>\
**Category:** The Garage\
**Created:** [July 15, 2013, 5:04am UTC](https://discourse.cataclysmdda.org/t/how-to-compile-sdl-version-with-vs2012/2220 "2013-07-15T05:04:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Konata](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/konata/32/110_2.png) [@Konata](https://discourse.cataclysmdda.org/u/Konata)\
**Post date:** [July 15, 2013, 5:04am UTC](https://discourse.cataclysmdda.org/t/how-to-compile-sdl-version-with-vs2012/2220/1 "2013-07-15T05:04:11Z")

</div>

my operating system is Windows8.  
But i can’t compile the release SDL successful. there is something wrong prevent me from generate EXE.  
I’m already setup the SDL include the VS, and there is still some error in it.  
1.can’t open mapitemsdef.cpp  
2."strcasecmp"The identifier not found

* * *

![](https://us1.discourse-cdn.com/flex016/uploads/cataclysmdda/original/1X/fe63a71b696d33f279f16f75299cdb40bfa86c1c.jpg)

![](https://us1.discourse-cdn.com/flex016/uploads/cataclysmdda/original/1X/5567b26629840f6b1487660cdf409cf97c997d29.jpg)

---

<div class="post-metadata">

**Author:** ![utunnels](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/utunnels/32/81_2.png) [@utunnels](https://discourse.cataclysmdda.org/u/utunnels)\
**Post date:** [July 15, 2013, 5:08am UTC](https://discourse.cataclysmdda.org/t/how-to-compile-sdl-version-with-vs2012/2220/2 "2013-07-15T05:08:15Z")

</div>

Looks like msvc project has not been updated after recent changes so there are missing files.

---

<div class="post-metadata">

**Author:** ![ejseto](https://avatars.discourse-cdn.com/v4/letter/e/9dc877/32.png) [@ejseto](https://discourse.cataclysmdda.org/u/ejseto)\
**Post date:** [July 15, 2013, 8:07am UTC](https://discourse.cataclysmdda.org/t/how-to-compile-sdl-version-with-vs2012/2220/3 "2013-07-15T08:07:07Z")

</div>

1. mapitemsdef.cpp was removed, and its functionality moved to json files. Just remove it from the project.
2. see [http://stackoverflow.com/questions/3694723/error-c3861-strcasecmp-identifier-not-found-in-visual-studio-2008](http://stackoverflow.com/questions/3694723/error-c3861-strcasecmp-identifier-not-found-in-visual-studio-2008) and [http://stackoverflow.com/questions/7248509/strcasecmp-was-not-declared-in-this-scope](http://stackoverflow.com/questions/7248509/strcasecmp-was-not-declared-in-this-scope)

---

<div class="post-metadata">

**Author:** ![Konata](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/konata/32/110_2.png) [@Konata](https://discourse.cataclysmdda.org/u/Konata)\
**Post date:** [July 15, 2013, 8:39am UTC](https://discourse.cataclysmdda.org/t/how-to-compile-sdl-version-with-vs2012/2220/4 "2013-07-15T08:39:59Z")

</div>

> [@utunnels](#):
>
> Looks like msvc project has not been updated after recent changes so there are missing files.

thanks, It’s updating now.  
and i can’t find the reason of the lost file .so I redownload it.

* * *

![](https://us1.discourse-cdn.com/flex016/uploads/cataclysmdda/original/1X/3508866366e59e930d467eba3cd0dc3385cccc45.jpg)

---

<div class="post-metadata">

**Author:** ![Konata](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/konata/32/110_2.png) [@Konata](https://discourse.cataclysmdda.org/u/Konata)\
**Post date:** [July 15, 2013, 9:09am UTC](https://discourse.cataclysmdda.org/t/how-to-compile-sdl-version-with-vs2012/2220/5 "2013-07-15T09:09:37Z")

</div>

thank you!successful!wonderful!
