# Can't get Microsoft Visual C++ 2010 to compile

**URL:** <https://discourse.cataclysmdda.org/t/cant-get-microsoft-visual-c-2010-to-compile/6267>\
**Category:** The Toolbox\
**Created:** [May 26, 2014, 8:45pm UTC](https://discourse.cataclysmdda.org/t/cant-get-microsoft-visual-c-2010-to-compile/6267 "2014-05-26T20:45:01Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Funk](https://avatars.discourse-cdn.com/v4/letter/f/d07c76/32.png) [@Funk](https://discourse.cataclysmdda.org/u/Funk)\
**Post date:** [May 26, 2014, 8:45pm UTC](https://discourse.cataclysmdda.org/t/cant-get-microsoft-visual-c-2010-to-compile/6267/1 "2014-05-26T20:45:01Z")

</div>

It give me and error message

1\>------ Build started: Project: Cataclysm, Configuration: Debug Win32 ------  
1\>Project file contains ToolsVersion=“12.0”, which is not supported by this version of MSBuild. Treating the project as if it had ToolsVersion=“4.0”.  
1\>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.  
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

edit i should add that it was a clean untouched copy of the code that id just down loaded from CleverRaven’s github

---

<div class="post-metadata">

**Author:** ![KA101](https://avatars.discourse-cdn.com/v4/letter/k/278dde/32.png) [@KA101](https://discourse.cataclysmdda.org/u/KA101)\
**Post date:** [May 26, 2014, 9:50pm UTC](https://discourse.cataclysmdda.org/t/cant-get-microsoft-visual-c-2010-to-compile/6267/2 "2014-05-26T21:50:45Z")

</div>

Yep. We were afraid of this, but VC++ doesn’t fully support the C++11 standard. So we finally gave up on supporting Visual C++, etc.

I’m gonna recommend Code::Blocks, for what it’s worth. Sorry, Funk. ☹

---

<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:** [May 26, 2014, 10:14pm UTC](https://discourse.cataclysmdda.org/t/cant-get-microsoft-visual-c-2010-to-compile/6267/3 "2014-05-26T22:14:34Z")

</div>

You might have better luck with VC 2012 or 2013, but since Microsoft doesn’t fully support C++11, it might be a lost cause.

---

<div class="post-metadata">

**Author:** ![Funk](https://avatars.discourse-cdn.com/v4/letter/f/d07c76/32.png) [@Funk](https://discourse.cataclysmdda.org/u/Funk)\
**Post date:** [May 26, 2014, 11:43pm UTC](https://discourse.cataclysmdda.org/t/cant-get-microsoft-visual-c-2010-to-compile/6267/4 "2014-05-26T23:43:43Z")

</div>

Microsoft doesn’t fully support VC 2012 or 2013 on my system.

## Ok so have installed Code::Blocks, i start it up and tell it to open CataclysmWin then it give me an error message.

## Deactivating the compiler plugin is most unwise. If you intend to open a project, you have to re-activate the compiler plugin first.

i guess this will be “fun”.

---

<div class="post-metadata">

**Author:** ![Funk](https://avatars.discourse-cdn.com/v4/letter/f/d07c76/32.png) [@Funk](https://discourse.cataclysmdda.org/u/Funk)\
**Post date:** [May 26, 2014, 11:56pm UTC](https://discourse.cataclysmdda.org/t/cant-get-microsoft-visual-c-2010-to-compile/6267/5 "2014-05-26T23:56:27Z")

</div>

Ok so i’ve reinstalled Code::Blocks, it turns out i was missing a compiler.  
I must say it is nice to be able to choose.

Does GNU GCC compiler work?

---

<div class="post-metadata">

**Author:** ![KA101](https://avatars.discourse-cdn.com/v4/letter/k/278dde/32.png) [@KA101](https://discourse.cataclysmdda.org/u/KA101)\
**Post date:** [May 27, 2014, 12:26am UTC](https://discourse.cataclysmdda.org/t/cant-get-microsoft-visual-c-2010-to-compile/6267/6 "2014-05-27T00:26:59Z")

</div>

[quote=“Funk, post:5, topic:6267”]Ok so i’ve reinstalled Code::Blocks, it turns out i was missing a compiler.  
I must say it is nice to be able to choose.

Does GNU GCC compiler work?[/quote]

That’s the one I use, I think: says MinGW when I hit the Build button FWIW.

---

<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:** [May 27, 2014, 2:19am UTC](https://discourse.cataclysmdda.org/t/cant-get-microsoft-visual-c-2010-to-compile/6267/7 "2014-05-27T02:19:50Z")

</div>

gcc, mingw, mingw-64, and clang all work fine, it’s really just the microsoft compiler sucking.

---

<div class="post-metadata">

**Author:** ![CIB](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/cib/32/903_2.png) [@CIB](https://discourse.cataclysmdda.org/u/CIB)\
**Post date:** [June 28, 2014, 6:46am UTC](https://discourse.cataclysmdda.org/t/cant-get-microsoft-visual-c-2010-to-compile/6267/8 "2014-06-28T06:46:20Z")

</div>

> [@Kevin Granade](#):
>
> gcc, mingw, mingw-64, and clang all work fine, it’s really just the microsoft compiler sucking.

To be fair, the first three are gcc-variants, whereas clang is a direct gcc replacement for Apple, so really all you’re saying is that compilation works with gcc, and gcc happens to be very popular. =P

---

<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:** [June 28, 2014, 8:37am UTC](https://discourse.cataclysmdda.org/t/cant-get-microsoft-visual-c-2010-to-compile/6267/9 "2014-06-28T08:37:30Z")

</div>

And as a totally separate issue, VC, and MS in general, suck mightily.  
This isn’t a matter of some particular feature, this is supporting the language.  
And alternately supporting backwards compat with VC 2013.

Don’t get me wrong, VC is a great IDE, it’s just too bad it’s bolted onto a compiler that’s more interested in business strategy than compiling your code for you.

---

<div class="post-metadata">

**Author:** ![Reaper](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/reaper/32/74_2.png) [@Reaper](https://discourse.cataclysmdda.org/u/Reaper)\
**Post date:** [June 29, 2014, 7:09am UTC](https://discourse.cataclysmdda.org/t/cant-get-microsoft-visual-c-2010-to-compile/6267/10 "2014-06-29T07:09:51Z")

</div>

Vurtual Box + Debian/Ubuntu + ncurses,sdl2,gcc… -\> cross build to win32 with tiles. It’s easier than build with MSVC.
