简体   繁体   English

VS Studio 编译 Fortran 代码时出现编译错误

[英]Compilation Error in VS Studio compiling Fortran code

I am getting this error while compiling my Fortran code in VS Studio:在 VS Studio 中编译 Fortran 代码时出现此错误:

warning #31001: The dll for reading and writing the pdb (for example, mspdb110.dll) could not be found on your path.

I also looked to change the Base Platform Toolset in Project Properties, but in VS 2019 IDE I couldn't find this option to edit it.我还希望在项目属性中更改基础平台工具集,但在 VS 2019 IDE 中我找不到此选项来编辑它。 I am using Intel Compiler 2021. I have also tried upgrading my VS Studio to latest version but the problem persists.我正在使用 Intel Compiler 2021。我也尝试将我的 VS Studio 升级到最新版本,但问题仍然存在。 Please tell how to fix this.请告诉如何解决这个问题。

This message is saying that your Visual Studio is misconfigured.此消息表示您的 Visual Studio 配置错误。 Make sure that you have the "Desktop Development for C++" and "Windows 10 SDK" components of Visual Studio installed (see https://www.intel.com/content/www/us/en/developer/articles/guide/installing-microsoft-visual-studio-2019-for-use-with-intel-compilers.html ) You may need to uninstall both the Intel compiler and Visual Studio, then reinstall.确保您已安装 Visual Studio 的“C++ 桌面开发”和“Windows 10 SDK”组件(请参阅https://www.intel.com/content/www/us/en/developer/articles/guide/installing -microsoft-visual-studio-2019-for-use-with-intel-compilers.html ) 您可能需要卸载英特尔编译器和 Visual Studio,然后重新安装。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM