- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I use
Intel® C++ Compiler Classic – toolkit version: 2022.3.1, extension version 19.2.10.17, Package ID: w_oneAPI_2022.2.1.14974,
with
Microsoft Visual Studio Enterprise 2022 (64-bit) - Current Version 17.4.2
and become errors.
Repro:
Visual Studio -> File -> New -> Project -> Console App:
#include <iostream>
int main()
{
std::cout << "Hello World!\n";
}
In the solution context menu Intel Compiler -> Use Intel Compiler Classic:
1>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\include\xmemory(69): error : no instance of overloaded function "std::max" matches the argument list
1>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\include\xmemory(835): error : no instance of function template "std::_Allocate" matches the argument list
1>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\include\xmemory(668): error : no instance of function template "std::_Deallocate" matches the argument list
1>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\include\xmemory(835): error : no instance of function template "std::_Allocate" matches the argument list
1>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\include\xmemory(830): error : no instance of function template "std::_Deallocate" matches the argument list
1>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\include\xmemory(835): error : no instance of function template "std::_Allocate" matches the argument list
1>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\include\xmemory(835): error : no instance of function template "std::_Allocate" matches the argument list
1>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\include\xmemory(835): error : no instance of function template "std::_Allocate" matches the argument list
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for posting in the Intel forums.
We can see that you are using Microsoft Visual Studio Version 17.4.2, which is not compatible with Intel compilers. We recommend you to use the Intel compilers with any one of the compatible microsoft visual studio versions.
For Intel oneAPI 2022.3 release, given below are the compatible & validated microsoft visual studio versions:
- VS2022 17.3
- VS2019 16.11.15
- VS2017 15.9.48
- VS2022 17.2.6
For more information, please refer to the Intel® Compilers Compatibility with Microsoft Visual Studio* and Xcode*.
Thanks & Regards,
Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We haven't heard back from you. Could you please provide us with an update on your issue?
Thanks & Regards,
Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We assume that your issue is resolved. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.
Thanks & Regards,
Santosh
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page