The following is a fortran code.
! Body of test4
print *, 'Hello World'
end program test4
After running a fortran code, the following Error appeared.
Severity Code Description Project File Line Suppression State
Error rc.exe not found.
Warning warning #31001 The dll for reading and writing the pdb (for example, mspdb110.dll) could not be found on your path. This is usually a configuration error. Compilation will continue using /Z7 instead of /Zi, but expect a similar error when you link your program. E:\Temp-window\test4\test4\test4\test4.f90 1
The error you got had nothing to do with your Fortran code and was not while running it. This error occurred while building the application, It suggests that the build environment was either not set up properly or you're missing required software (such as the Windows SDK.) Was this a build from inside Microsoft Visual Studio? Which version of Intel Parallel Studio XE and which version of Microsoft Visual Studio are you using? Please create a ZIP of the buildlog.htm from the Debug folder and attach it to a reply here.
Hello, I have a similar problem. This is the very first time I try to program in fortran.
I had installed Visual Studio Community 2015 and then I installed INTEL Parallel Studio XE 2016 with update1.
The buildlog says:
Compiling with Intel(R) Visual Fortran Compiler 16.0 [IA-32]...
ifort /nologo /debug:full /Od /warn:interfaces /module:"Debug\\" /object:"Debug\\" /Fd"Debug\vc140.pdb" /traceback /check:bounds /check:stack /libs:dll /threads /dbglibs /c /Qlocation,link,"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\\bin" "d:\documents\visual studio 2015\Projects\Console1\Console1\Console1.f90"
rc.exe not found.
Console1 - 1 error(s), 0 warning(s)
Below, I attached a screenshot about the versions of softwares I use.
The screenshot you attached doesn't show all the needed information. Please click "Copy Info" on that About screen and paste it into a reply here. Did you check the box for C++ support when you installed VS2015?
I believe I checked it, although I have used VS only for C# so far.
Here's the Copy Info list:
Microsoft Visual Studio Community 2015
Version 14.0.25431.01 Update 3
Microsoft .NET Framework
Installed Version: Community
Microsoft Visual Studio Tools for Applications 2015 00322-20000-00000-AA301
Microsoft Visual Studio Tools for Applications 2015
Visual Basic 2015 00322-20000-00000-AA301
Microsoft Visual Basic 2015
Visual C# 2015 00322-20000-00000-AA301
Microsoft Visual C# 2015
Visual C++ 2015 00322-20000-00000-AA301
Microsoft Visual C++ 2015
Application Insights Tools for Visual Studio Package 7.8.00927.1
Application Insights Tools for Visual Studio
ASP.NET and Web Tools 2015.1 14.1.20907.0
ASP.NET and Web Tools 2015.1
ASP.NET Web Frameworks and Tools 2012.2 4.1.41102.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563
ASP.NET Web Frameworks and Tools 2013 5.2.40314.0
For additional information, visit http://www.asp.net/
Azure App Service Tools v2.9.5 14.0.20810.0
Azure App Service Tools v2.9.5
Azure Data Lake Node 1.0
This package contains the Data Lake integration nodes for Server Explorer.
Azure Data Lake Tools for Visual Studio 2.1.0000.0
Microsoft Azure Data Lake Tools for Visual Studio
Common Azure Tools 1.8
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Intel® Advisor XE 2016 Update 1
Intel® Advisor XE 2016 Update 1, (build 435351), Copyright © 2009-2015 Intel Corporation. All rights reserved.
Intel® Inspector XE 2016 Update 1
Intel® Inspector XE 2016 Update 1, (build 434495), Copyright © 2009-2015 Intel Corporation. All rights reserved.
Intel® Parallel Studio XE 2016 Composer Edition for C++ Windows* Package ID: w_comp_lib_2016.1.146
Intel® Parallel Studio XE 2016 Update 1 Composer Edition for C++ Windows* Integration for Microsoft* Visual Studio* 2015, Version 188.8.131.52, Copyright © 2002-2015 Intel Corporation. All rights reserved.
* Other names and brands may be claimed as the property of others.
Intel® Parallel Studio XE 2016 Update 1 Composer Edition for Fortran Windows* Package ID: w_comp_lib_2016.1.146
Intel® Parallel Studio XE 2016 Update 1 Composer Edition for Fortran Windows* Integration for Microsoft Visual Studio* 2015, Version 16.0.0058.14, Copyright © 2002-2015 Intel Corporation. All rights reserved.
* Other names and brands may be claimed as the property of others.
Intel® VTune™ Amplifier XE 2016 Update 1
Intel® VTune™ Amplifier XE 2016 Update 1, (build 434111), Copyright © 2009-2015 Intel Corporation. All rights reserved.
Microsoft .NET Core Tools (Preview 2) 14.1.20907.0
Microsoft .NET Core Tools (Preview 2)
Microsoft Azure Hive Query Language Service 2.1.0000.0
Language service for Hive query
Microsoft Azure Mobile Services Tools 1.4
Microsoft Azure Mobile Services Tools
Microsoft Azure Tools 2.9
Microsoft Azure Tools for Microsoft Visual Studio 2015 - v2.9.40923.2
NuGet Package Manager 3.5.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
PreEmptive Analytics Visualizer 1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.
SQL Server Analysis Services 13.0.1700.281
Microsoft SQL Server Analysis Services Designer
SQL Server Data Tools 14.0.60923.0
Microsoft SQL Server Data Tools
SQL Server Integration Services
Microsoft SQL Server Integration Services Designer
SQL Server Reporting Services 13.0.1700.281
Microsoft SQL Server Reporting Services Designers
Extend Visual Studio with CodeMAP, Intelligent Code Flow Lines, Code Highlighters, SuperFind, Rich Code, Magic Comments etc. More info: http://supercharger.tools
Hosting json editor into a tool window
TypeScript tools for Visual Studio
Ok. The next thing I would do is, in VS, go to Tools > Options > Intel Compilers and Tools > Visual Fortran > Compilers. Click the Reset button and then click OK. Click on the x64 tab and repeat.
If this doesn't solve the problem, search your computer for rc.exe. It should be in C:\Program Files (x86)\Windows Kits\8.1\bin\x86 (and C:\Program Files (x86)\Windows Kits\8.1\bin\x64). If it is there, put the full path into the Executables list on that Compilers page I mentioned above. Make sure you put the x86 path on the Win32 platform tab and the x64 path on the x64 tab.
There aren't any rc.exe files located in the folders you mentioned. I could only find one in "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Microsoft Azure Data Lake Tools for Visual Studio 2015\2.1.0000.0\CppSDK\SDK\bin". I don't know if it's a relevant info, but I found some other executables named Preparation_rc1 and _rc2; SetupBlocked_rc1 and _rc2 in other folders.
In that case you're missing an important part of Visual Studio 2015, the Windows SDK. I suggest running the Visual Studio installer again, select Change or Modify, make sure the box for "Programming Languages > Visual C++ > Common Tools for Visual C++ 2015" is checked, and complete the install. Look to see if rc.exe is then there.
If not, install the Windows SDK for Windows 8.1 (this is supported on Windows 7 and up). See https://software.intel.com/en-us/vs2013shell-windowssdk for instructions on that.
First I had uninstalled the VS2015 u3 and the c++ 2015 redistributables and then I reinstalled VS2015 u3 and made sure that I check the option you mentioned above. Now the compiler works. Thank you Steve.