Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Visual Studio 2012
Visual Studio 2012 [message #37499] |
Thu, 11 October 2012 16:57 |
keltor
Messages: 73 Registered: February 2012
|
Member |
|
|
Hi fellas,
Most of you will already be aware of this, but for those who aren't, Microsoft has released the latest version of Visual Studio, very originally named 2012. Interesting new features, especially the extended C++11 support and the possibility to compile native code to work on the GPU with the C++ AMP technology.
Additionally, the Express (i.e. free) version includes both the x86 and x64 flavours of the compiler, unlike previous editions, and also OpenMP support.
So, you want to use VC++2012 with U++, you say? No problem. I spent some time fiddling with the options and managed to make the current version of theIde to work with it. It's not difficult, it just takes some time, so here it is for you:
From Setup/Build Methods, create a new Method and use MSC9 as builder.
Assuming you have installed VC on the default dir, the options are as follows:
PATH- executable directories:
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Ide
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Vc\Bin
C:\Program Files (x86)\Windows Kits\8.0\bin\x86
INCLUDE directories:
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Vc\Include
C:\Program Files (x86)\Windows Kits\8.0\Include\um
C:\Program Files (x86)\Windows Kits\8.0\Include\shared
C:\Program Files (x86)\Windows Kits\8.0\Include\winrt
LIB directories:
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Vc\Lib
C:\Program Files (x86)\Windows Kits\8.0\Lib\win8\um\x86
UPDATE: As pointed out by lectus, if you're running a 32 bit version of Windows, keep in mind that the first part of the path must be C:\Program Files\ in all cases, instead of C:\Program Files (x86)\
Voilą - you can now compile your U++ programs.
If you'd like to take advantage of the x64 compiler as well, the directories are these:
PATH- executable directories:
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Ide
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Vc\Bin\x86_amd64
C:\Program Files (x86)\Windows Kits\8.0\bin\x64
INCLUDE directories: same as for the x86 version (see above)
LIB directories:
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Vc\Lib\amd64
C:\Program Files (x86)\Windows Kits\8.0\Lib\win8\um\x64
Hope this helps some of you.
Kel
PS: Get VS here
[Updated on: Fri, 14 December 2012 11:10] Report message to a moderator
|
|
|
|
|
Visual Studio 2012
By: keltor on Thu, 11 October 2012 16:57
|
|
|
Re: Visual Studio 2012
By: BioBytes on Fri, 12 October 2012 21:35
|
|
|
Re: Visual Studio 2012
By: keltor on Fri, 12 October 2012 22:50
|
|
|
Re: Visual Studio 2012
By: BioBytes on Sat, 13 October 2012 09:36
|
|
|
Re: Visual Studio 2012
|
|
|
Re: Visual Studio 2012
By: 281264 on Sun, 09 December 2012 10:50
|
|
|
Re: Visual Studio 2012
By: 281264 on Mon, 10 December 2012 23:38
|
|
|
Re: Visual Studio 2012
By: keltor on Thu, 13 December 2012 09:05
|
|
|
Re: Visual Studio 2012
By: lectus on Thu, 13 December 2012 10:49
|
|
|
Re: Visual Studio 2012
By: keltor on Thu, 13 December 2012 11:10
|
|
|
Re: Visual Studio 2012
By: lectus on Thu, 13 December 2012 13:39
|
|
|
Re: Visual Studio 2012
By: keltor on Sun, 28 April 2013 11:59
|
|
|
Re: Visual Studio 2012
|
|
|
Re: Visual Studio 2012
By: 281264 on Mon, 02 September 2013 22:32
|
|
|
Re: Visual Studio 2012
By: lectus on Thu, 13 December 2012 02:29
|
|
|
Re: Visual Studio 2012
By: lectus on Thu, 13 December 2012 03:02
|
|
|
Re: Visual Studio 2012
By: keltor on Thu, 13 December 2012 09:03
|
|
|
Re: Visual Studio 2012
By: lectus on Fri, 14 December 2012 01:50
|
|
|
Re: Visual Studio 2012
By: keltor on Fri, 14 December 2012 11:05
|
|
|
Re: Visual Studio 2012
By: lectus on Wed, 19 December 2012 12:54
|
|
|
Re: Visual Studio 2012
By: Lance on Mon, 07 January 2013 23:15
|
|
|
Re: Visual Studio 2012
|
|
|
Re: Visual Studio 2012
By: Lance on Sat, 23 February 2013 21:01
|
|
|
Re: Visual Studio 2012
By: keltor on Thu, 05 September 2013 08:28
|
|
|
Re: Visual Studio 2012
By: keltor on Mon, 07 October 2013 12:22
|
Goto Forum:
Current Time: Wed Jun 05 04:30:44 CEST 2024
Total time taken to generate the page: 0.01879 seconds
|