0

我尝试使用 Visual Studio 2019 运行 Fortran 代码 (.FOR) 并安装了 Intel OneAPI 基本工具包。当我运行 Fortran 代码时,我收到“ifort:错误 #10037:找不到‘链接’”。有谁知道解决方案?谢谢。

4

1 回答 1

0

您需要将 Microsoft Visual Studio 配置为包含用于桌面应用程序的 C++。有关更多详细信息,请参阅https://www.intel.com/content/www/us/en/developer/articles/guide/installing-microsoft-visual-studio-2019-for-use-with-intel-compilers.html。您可能需要更改/修改 Intel oneAPI HPC 工具包(从 Windows 设置 > 应用程序对话框)以使其被识别。

于 2022-01-16T19:10:13.853 回答