Intel® System Studio
Share information with other developers using Intel® System Studio.

visual studio+intell system studio 编译失败

thiyee
Beginner
1,902 Views

1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Platforms\x64\PlatformToolsets\Intel C++ Compiler 19.1\Toolset.targets(347,5): error MSB4018: “ICL”任务意外失败。
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Platforms\x64\PlatformToolsets\Intel C++ Compiler 19.1\Toolset.targets(347,5): error MSB4018: System.ArgumentNullException: 值不能为 null。
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Platforms\x64\PlatformToolsets\Intel C++ Compiler 19.1\Toolset.targets(347,5): error MSB4018: 参数名: key
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Platforms\x64\PlatformToolsets\Intel C++ Compiler 19.1\Toolset.targets(347,5): error MSB4018: 在 System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Platforms\x64\PlatformToolsets\Intel C++ Compiler 19.1\Toolset.targets(347,5): error MSB4018: 在 System.Collections.Generic.Dictionary`2.TryGetValue(TKey key, TValue& value)
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Platforms\x64\PlatformToolsets\Intel C++ Compiler 19.1\Toolset.targets(347,5): error MSB4018: 在 Intel.Build.ICLTasks.ICL.IsOMPDisabled()
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Platforms\x64\PlatformToolsets\Intel C++ Compiler 19.1\Toolset.targets(347,5): error MSB4018: 在 Intel.Build.ICLTasks.ICL.set_OffloadOpenMPTarget(String value)
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Platforms\x64\PlatformToolsets\Intel C++ Compiler 19.1\Toolset.targets(471,7): error MSB4026: “ICL”任务的“OffloadOpenMPTarget=%(ClCompile.OffloadOpenMPTarget)”参数无效。
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Platforms\x64\PlatformToolsets\Intel C++ Compiler 19.1\Toolset.targets(347,5): error MSB4063: 未能使用“ICL”任务的输入参数初始化该任务。


根据错误信息我发现他并不是我的源代码的错误    我的系统也是最新安装的 我可以保证的系统是没有问题的,  在上一次重装系统 安装的visual studio +intell system studio插件后就再也无法编译成功了 即使是一个使用空项目类型的hello world程序  并显示以上错误  希望能够得到解决 谢谢

0 Kudos
3 Replies
Juhi_B_Intel
Moderator
1,882 Views

Hi

Have you tried uninstalling and reinstalling the ISS to see the plugin issues gets fixed?


0 Kudos
thiyee
Beginner
1,873 Views
what's ISS? 我不知道intel complier做了什么改动才会出现这个问题 我的操作系统镜像 visualstudio, intel complier 安装包都是没有改变过的
0 Kudos
Juhi_B_Intel
Moderator
1,852 Views

Hi

ISS means Intel system studio. Since this forum is for Intel system studio questions please post those here if its not then post it in a related forum.

Sometimes integrations issues occur if you have had some installation issues or your MS Visual studio is not up to date,

So I would like to know which version of Visual studio and ISS you are using and have you tried uninstalling and installing it again?


0 Kudos
Reply