after installation of the oneAPI base toolkit I noticed that I cannot switch to the Intel C++ compiler if my C++ project configuration contains a solution platform other than x64 and win32.
This is the menue with x64 only
This is the menu with x64 and Linux - as you can see no Intel C++ Compiler to select.
Is there any way to fix this problem other than delete 'Linux' from the configuration platform?
Hi Daniel_Droste, I installed VS2019 professional 16.8.4 and oneAPI gold version. But I couldn't set to Linux platform. And I learned from dev team, cross-platform compilation isn't supported now. I have several questions to ask,
1 . How to set to x64 and Linux platform?
2 . Did you configure the platform like this before with Intel compiler(IPSXE)?
1. I use VisualGDB to manage my linux version. I would be happy to switch my windows configuration to use the Intel compiler. But this is not possible since I have a Linux-configuration. The linux configuration uses gcc on a remote linux machine. I do not want to switch that one to use the intel compiler.
2. No, I just noticed that I can switch to Intel compiler on projects that uses 'default' MS configurations. But if you use a custom configuration you cannot switch to Intel since the menu is not available.
yes, I understand. I do not want to use Intel for a Linux configuration. I try to use it for the x64 configuration, but the Intel compiler it does NOT show up. Here is my configuration:
And here is the Intel Compiler Menue:
I want to use the Intel compiler for the x64 configuration, NOT the Linux config. But I see only "Use Visual C++" - although it is already VC++.
If I have a solution with just MS default configurations ("Win32", "X64") I can switch to Intel without any issues. This problem appears on my system only, if a project of a solutions contains a non-MS configuration.
We can't reproduce your issue. But you can use the below method to select the intel compiler,
Go to Project->Properties->Configuration Properties->General, and change the Platform Tools.