Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous message
keltor is currently offline  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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [Solved] Default compiler flags
Next Topic: Feature request: build flags to resource compiler
Goto Forum:
  


Current Time: Thu Apr 25 22:50:22 CEST 2024

Total time taken to generate the page: 0.02892 seconds