|
|
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
|
|
|
|
Re: Visual Studio 2012 [message #37513 is a reply to message #37499] |
Fri, 12 October 2012 22:50 |
keltor
Messages: 73 Registered: February 2012
|
Member |
|
|
You're welcome BioBytes, glad to help.
Actually, even though VS Express (as well as the rest of VS versions) targets the new Windows 8, it can be installed on older Windows flavours, and the applications it builds are also compatible with those older versions.
If you follow the link from my previous post, you'll find several versions of Express to download. There is one that indeed works on Windows 8 only, but then there is one called "Windows Desktop" which is the one you probably want:
Quote: | Supported operating systems
Windows 7 SP1 (x86 and x64)
Windows 8 (x86 and x64)
Windows Server 2008 R2 SP1 (x64)
Windows Server 2012 (x64)
|
[Updated on: Fri, 12 October 2012 23:00] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Wed Dec 04 17:32:04 CET 2024
Total time taken to generate the page: 0.01710 seconds
|
|
|