what compiler does visual studio 2012 use for C++ and is it compatible/can I use it with codeblocks? - c++

What compiler does visual studio 2012 use for C++ and is it compatible/can I use it with codeblocks?
I want to know because we're required to use Visual Studio 2012 for this school project and I would like to be able to trial some things with codeblocks.

Visual Studio 2012 is using the Microsoft compiler cl.exe. But anyway, you can maintain two projects (one for Visual Studio and one for CodeBlocks) - sharing the same source code.

Related

how to make the same project solution work on both visual studio 2015 and 2017?

I am using Microsoft visual studio 2015 and my friend using visual studio 2017, we both are working on single c++ project, if i take his code into my studio it shows errors,
I want the same solution and same project file into my MSVS 2015 but he has version 141 and I have v140,
Is there any way to make the same project solution work on both visual studio 2015 and 2017.
I heard it's possible with externalizing targeting parameters. But i don't know much about it.
Please give me any information about that.

I upgraded C++ projects from Visual Studio 2010 to 2015 still its showing Visual Studio (2010)

The configuration window image. Just click on it.
I upgraded C++ projects from Visual Studio 2010 to Visual Studio 2015, but it's still showing (Visual Studio 2010) in the Solution Explorer.
Please inform me if there is any change I need to do to solve this error.
This is displayed in the Solution Explorer:
This is not an error, it simply means that the project is using the toolkit that came with Visual Studio 2010. This doesn't prevent your projects from being compiled however.
To upgrade the project to the Visual Studio 2015 toolkit right click on the projects showing (Visual Studio 2010) and select the desired toolkit under General->Platform Toolset.

MEX can't locate VS Express 2013 compiler - MATLAB R2013a

While setting up mex on my machine using mex -setup -v, VS Express 2013 compiler can't be found
for some reasons (see above screenshot). I still have VS 2010 installed on my machine, but I'd like to have the option to select the Express 2013 compiler on C:\Program Files (x86)\Microsoft Visual Studio 12.0\ . Has someone experienced such an issue so as to share his experience?
Thanks
Express Visual Studio compilers are not supported by Matlab.

Visual Studio 2013 compile like visual studio 2008

I have C++ VS2008 project and my lovely IDE VS13. How can I work into VS13, but compile and debug project like in would be VS08. When I open VS2008 *.sln files that wrote to me about one-way upgrade, and how you i guess you understand, project after open in vs2013 don't open in vs2008.
For now, I use VS13 like notepad then copy all files text to alt+tab opening VS 2008 IDE and there are run project. And again work in VS13.
Based on Microsoft product lifecycle policies,
https://support.microsoft.com/en-us/lifecycle/search?sort=PN&alpha=Visual%20Studio&wa=wsignin1.0
Visual Studio 2008's mainstream support ended in April 2013, while Visual Studio 2013 was released in Jan 2014. That means Visual Studio 2013 will not support Visual Studio 2008 bits, so not a surprise if native multi targeting does not show v80.
I don't think you can easily get side by side, as VS2008 is too old, and its C++ project is not even MSBuild script. Once converted to VS2013, there is no way back.
Why cannot you just let VS2008 go? I guess that's why you get so many down votes.
You can't convert the solution to Visual Studio 2013 and still open it in Visual Studio 2008. You can, however, tell Visual Studio 2013 to use the Visual Studio 2008 compiler.
To do that, convert your solution to Visual Studio 2013 (don't forget to keep a copy of the original file, just in case), then open the project properties, go to the General options and select the Visual Studio 2008 platform toolset.

Changing the default compiler in visual studio 2010

I have the Visual Studio 2010 installed in my system. However, my company has a different central build system and uses the compiler from Visual Studio 6. Is it possible for me to use this compiler for compiling my C++ projects in Visual Studio 2010? If yes, where to configure this?
I checked in the project settings dialog, but couldn't find any option for this. I know how to use the old compiler from the command line and I don't want to do that.
The Daffodil for Visual Studio extension (http://daffodil.codeplex.com) allows you to set any installed toolset/compiler under Project settings in VS 2010.