- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm using Visual Studio 2012 and Intel Composer 2011.
I have a very simple HelloWorld program. When I tried to compile this program using icl
[plain]& 'C:/Program Files (x86)/Intel/ComposerXE-2011/bin/intel64/icl.exe' HelloWorld.cpp[/plain]
I got the following long list of errors.
[plain]
C:/Program Files (x86)/Microsoft Visual Studio 11.0/VC/INCLUDE/xtr1common(414): error: "auto" type cannot appear in top-level function type
_HAS_ONE_TYPE(result_type);
^
C:/Program Files (x86)/Microsoft Visual Studio 11.0/VC/INCLUDE/xtr1common(414): error: expected a ";"
_HAS_ONE_TYPE(result_type);
^
C:/Program Files (x86)/Microsoft Visual Studio 11.0/VC/INCLUDE/stddef.h(36): error: identifier "__nullptr" is undefined
namespace std { typedef decltype(__nullptr) nullptr_t; }
...
[/plain]
What am I doing wrong?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My guess is that I didn't load the variables. However, when I tried to "iclvars.bat intel64", I got the following error.
[plain]ERROR: Visual Studio 2005, 2008 or 2010 is not found in the system.[/plain]
I have Visual Studio 2012.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The 12.0 compiler doesn't support VS2012, as the 13.0 compiler does. If you need to operate this way, maybe C mode will work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
TimP is right, the Intel C++ Composer XE 12.x does not support VS2012.
Upgrade to Intel C++ Composer XE 2013. You can download the eval of Intel C++ Composer XE 2013 for Windows.
Jennifer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I know that Composer XE 2011 can't integrate with the VS2012 IDE.
Is it also true that the Intel compiler included in Composer XE 2011 is not compatible with the Visual C++ compiler included in VS2012?
Please confirm.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You've just demonstrated how Microsoft changed the C++ include files so as require updates for plug-in compilers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sergey Kostrov wrote:
>>...Is it also true that the Intel compiler included in Composer XE 2011 is not compatible with the Visual C++ compiler
>>included in VS2012?No, that is Not true.
Let's say we don't consider C++11 standard. Do you have any test case(s) you can't compile with Intel C++ compiler v12 and can compile with Visual C++ compiler from VS 2012?
No Sergey. The VS2012's header contains new features that ICL 12.x may not support. you should use ICL 13.x if you have VS2012.
Here is the compatibility options of ICL 13.x:
/Qvc<arg> enable compatibility with a specific Microsoft* Visual Studio version
- 9 - Microsoft* Visual Studio 2008 compatibility
- 10 - Microsoft* Visual Studio 2010 compatibility
- 11 - Microsoft* Visual Studio 2012 compatibility ------------ this option is not available in ICL 12.x
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page