简体   繁体   English

如何解决 Visual Studio 2022 中的“找不到 rc.exe”问题? "

[英]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.

相关问题 部署逻辑应用程序 visual studio 2022 - deploy logic apps visual studio 2022 AWS Toolkit for Visual Studio 2022 部署失败 lambda - AWS Toolkit for Visual Studio 2022 failing on deploy lambda 从 Visual Studio 2022 调试 Azure Function 应用程序 - Debug Azure Function App from Visual Studio 2022 Visual Studio 2022 Create Azure TimeTrigger function 导致没有文件的空解决方案 - Visual Studio 2022 Create Azure TimeTrigger function results in empty solution with no files Azure 功能未显示在 visual studio 2022 中的“添加新项目”下 - Azure functions not showing under "Add new item" in visual studio 2022 如何修复通过 Visual Studio 发布的 function 应用程序中的错误 - How to fix error in function app publish through visual studio Visual Studio Professional 2022 将 Azure 函数的默认模板放在哪里? - Where does Visual Studio Professional 2022 put the default templates for Azure Functions? Firebase.auth 是未解析的引用。 我该如何解决? - Firebase.auth is a unresolved reference. How can I fix it? 如何为 Typescript 配置 Visual Studio Code? - How do I configure Visual Studio Code for Typescript? 如何将firebase sdk添加到最新的android studio version 2022? - How to add firebase sdk to latest android studio version 2022?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM