Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

How to integrate Intel Composer XE 2011 with Visual Studio 2012

zer0nes
Beginner
378 Views

My company currently uses VS 2012 but only has licenses for Intel Composer 2011. How can I set up the integration between the Composer and VS so that I can use Intel compiler for C++ project?

Thanks.

P/S: this is not a MKL question but for some reason, I cannot post in other more appropriate forums.

0 Kudos
3 Replies
TimP
Honored Contributor III
378 Views

GUI integration isn't supported for this combination. Composer XE 2013 is needed for integration in VS2012.  2011 should work for command line compilation, if you set up the option /Qlocation,link to point to the folder where link.exe is.

0 Kudos
SergeyKostrov
Valued Contributor II
378 Views
A manual integration could be easily done using a VS Makefile project(s). I used that technique to integrate several C/C++ compilers ( including legacy ones ) with VS 2005 and VS 2008 Professional Editions. Note: Only compilation & linking / no debugging / for debugging use MS C++ compiler This is how Output looks like when 5 ptojects selected in Batch Build: ... ------ Build started: Project: TccTestApp, Configuration: Debug Win32 ------ Performing Makefile project actions Could Not Find ..\TccTestApp\Debug\*.lib Could Not Find ..\TccTestApp\Lib\*.obj ... Turbo C++ Version 3.00 Copyright (c) 1992 Borland International tcctes~1.cpp: Available memory 3378828 TLIB 3.02 Copyright (c) 1991 Borland International TccTestApp - 0 error(s), 0 warning(s) ------ Build started: Project: MscTestApp, Configuration: Debug Win32 ------ Note: Microsoft C++ compiler Compiling... Stdphf.cpp ... Compiling... MscTestApp.cpp Compiling manifest to resources... Linking... Creating library Debug/MscTestAppD.lib and object Debug/MscTestAppD.exp Embedding manifest... MscTestApp - 0 error(s), 0 warning(s) ------ Build started: Project: BccTestApp, Configuration: Debug Win32 ------ Performing Makefile project actions Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland BccTestApp.cpp: ... Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland BccTestApp - 0 error(s), 0 warning(s) ------ Build started: Project: IccTestApp, Configuration: Debug Win32 ------ Compiling with Intel(R) C++ Compiler XE 12.1.7.371 [IA-32]... (Intel C++ Environment) Stdphf.cpp ... IccTestApp.cpp Compiling manifest to resources... (Microsoft VC++ Environment) Linking... (Intel C++ Environment) xilink: executing 'link' Creating library C:\WorkEnv\AppsWorkDev\AppsTst\IccTestApp\Debug\IccTestAppD.lib and object C:\WorkEnv\AppsWorkDev\AppsTst\IccTestApp\Debug\IccTestAppD.exp Embedding manifest... (Microsoft VC++ Environment) IccTestApp - 0 error(s), 0 warning(s), 0 remark(s) ------ Build started: Project: MgwTestApp, Configuration: Debug Win32 ------ Note: MinGW C++ compiler Performing Makefile project actions ... MgwTestApp - 0 error(s), 0 warning(s) ========== Build: 5 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========
0 Kudos
SergeyKostrov
Valued Contributor II
378 Views
>>...GUI integration isn't supported for this combination... That is correct and as Tim mentioned command line integration works ( see my previous post ).
0 Kudos
Reply