[ad_1]
When putting in Intel oneAPI Base Toolkit, v. 2024 there may be an choice to combine with Microsoft C++ Construct Instruments 2022.
This selection solely seems when Construct Instruments for Visible Studio 2022 and Construct Instruments for Visible Studio 2022 is the one occasion of VS put in on this particular machine, so I assume that the choice if for integrating into Construct Instruments for Visible Studio 2022.
Nonetheless, after set up compilation of our Resolution with MSBuild fails as a result of it fails to search out the platform toolset “Intel C++ Compiler 2024”.
Exact error:
C:Program Recordsdata (x86)Microsoft Visible Studio2022BuildToolsMSBuildMicrosoftVCv170Microsoft.CppBuild.targets(456,5): error MSB8020: The construct instruments for Intel C++ Compiler 2024 (Platform Device
set="Intel C++ Compiler 2024") can't be discovered. To construct utilizing the Intel C++ Compiler 2024 construct instruments, please set up Intel C++ Compiler 2024 construct instruments. Alternatively, chances are you'll improve to the
present Visible Studio instruments by deciding on the Challenge menu or right-click the answer, after which deciding on "Retarget answer".
By comparability, set up of Group and Intel oneAPI Base Toolkit 2024 w/ Integration works simply high quality.
Performing some digging, I discovered the folder that defines the platform toolset within the Group integration at
C:Program FilesMicrosoft Visible Studio2022CommunityMSBuildMicrosoftVCv170Platformsx64PlatformToolsetsIntel C++ Compiler 2024
Trying in an analogous location on the Construct Instruments occasion
C:Program Recordsdata (x86)Microsoft Visible Studio2022BuildToolsMSBuildMicrosoftVCv170Platformsx64PlatformToolsets
reveals clearly that no such Platform Toolset exists. Surprisingly although, the next Platform Toolsets are put in:
- Intel(R) oneAPI DPC++ Compiler 2022
- Intel(R) oneAPI DPC++ Compiler 2023
- Intel(R) oneAPI DPC++ Compiler 2024
This made me assume nothing basic was damaged, so I attempted copying the “Intel C++ Compiler 2024” platform toolset from
C:Program FilesMicrosoft Visible Studio2022CommunityMSBuildMicrosoftVCv170Platformsx64PlatformToolsetsIntel C++ Compiler 2024
to
C:Program Recordsdata (x86)Microsoft Visible Studio2022BuildToolsMSBuildMicrosoftVCv170Platformsx64PlatformToolsetsIntel C++ Compiler 2024
The undertaking now compiles and runs accurately in keeping with our testing. Nonetheless, I fear about refined variations or errors that is likely to be missed.
Is there a repair out there to correctly combine Intel oneAPI Base Toolkit 2024 with Construct Instruments for Visible Studio 2022?
[ad_2]