[英]How can I fix the issue "rc.exe not found" in Visual Studio 2022? "
Premise: I'm completely new to Fortran programming and to the Visual Studio environment.前提:我对 Fortran 编程和 Visual Studio 环境完全陌生。
I've created a very simple Fortran project in Microsoft Visual Studio Community 2022 (the source file is a.f90 file).我在 Microsoft Visual Studio Community 2022 中创建了一个非常简单的 Fortran 项目(源文件是 a.f90 文件)。 The code is the following one:代码如下:
program Sum_Main
double precision :: a,b,c
a = 100.d0
b = 60.0d0
c = a+b
write(6,'(f8.2)') c
end program Sum_Main
I'm in debug mode and when I compile the project everything is ok.我处于调试模式,当我编译项目时一切正常。 But when I press "Build solution", I get the error: "rc.exe not found".但是当我按下“构建解决方案”时,我收到错误:“rc.exe not found”。
How can I solve?我该如何解决?
Here the Intel software development kits I've installed:这里是我安装的英特尔软件开发套件:
Problem Solved!问题解决了! I've reinstalled C++ build tools within workloads group!我已经在工作负载组中重新安装了 C++ 构建工具!
I met the same problem.我遇到了同样的问题。 Could I please ask how to fix it?请问如何解决? How to reinstall C++ build tools within workloads group?如何在工作负载组中重新安装 C++ 构建工具? Thanks a lot.非常感谢。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.