Search code examples
visual-studiofortranintel-fortranvisual-studio-2022intel-oneapi

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.

I've created a very simple Fortran project in Microsoft Visual Studio Community 2022 (the source file is a .f90 file). 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".

enter image description here

How can I solve?

Here the Intel software development kits I've installed: enter image description here


Solution

  • Problem Solved! I've reinstalled C++ build tools within workloads group!