Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

rc.exe not found

Bvn_Kambhammettu
Beginner
1,528 Views
Hi Everyone,

I have downloaded the trail version of "Microsoft Visual Studio 2008 Shell (isolated mode) Redistributable Package", and the "Visual Studio 2008 SDK" packages, and then installed them into my computer.

Then, I have downloaded the "Intel Visual Fortran Compiler Professional Edition for IA-32 and Intel 64 (for customers who have Microsoft Visual Studio* already installed) (File w_cprof_p_11.1.051_novsshell.exe) " and installed into my computer.

When I opened my intel visual fortran file, and trying tobuild it, I am getting an error message as "rc.exe was not found".

Could you plese tell me, how to resolve this problem ?

I am working on a 64 bit computer with windows os.

Thank you
0 Kudos
7 Replies
Steven_L_Intel1
Employee
1,528 Views

Your use of the separately installed VS2008 Shell is not a supported configuration. Assuming that the install did integrate Fortran into that VS2008 Shell, you want to go to Tools > Options > Intel Visual Fortran > Compilers. Select Intel 64 (might read x64 - I can't check right now) as the platform. Then click on the ... button next to Excecutables and add the path top the SDK folder that contains rc.exe.
0 Kudos
Bvn_Kambhammettu
Beginner
1,528 Views

If theuse of the separately installed VS2008 Shell is not a supported configuration,

could you please tell me the best version of Microsofts IDE that can be downloaded for free that suits best for Intel Visual Fortran applications.

Please guide me the procedure of installing Visual Fortran (along with the IDE) on to my 64 bit computer.

Thank you
0 Kudos
Steven_L_Intel1
Employee
1,528 Views

There is none that meets that requirement. Unless you have a Student or Evaluation license, Intel Visual Fortran includes the necessary Microsoft IDE, tools and library bits. Otherwise you must separately obtain and install Visual Studio Standard Edition (or higher). For evaluation customers, Microsoft has a free 90-day trial of Visual Studio. Student users typically already have access to Visual Studio for free.
0 Kudos
kjc
Beginner
1,528 Views

Hello,

I am not sure that this is the right place to air my problem but here goes. I am trying to build a project with my evaluation license copy of Visual Fortran Compiler Professional for Windows 11.1.060. I have previously successfully built and run this project using my non-commercial license Intel Fortran compiler for Linux. Prior to installing the Windows compiler I installed a evaluation copy of MS Visual Studio 2008. Unfortunately this installation did not go smoothly because of a disk space problem. I had to custom reinstall/repair VS 2008 to install into a non-default directory ( E:\visual studio) before installing the compiler on E:\intel. Subsequently the Build process successfully compiled all my source files but then produced an error message "rc.exe not found" and failed to link. I see that this problem has been previously reported, albeit under slightly different circumstances with earlier releases of the compiler. I have had no success trying any of the suggested workarounds I have seen proposed. I would be very grateful for any suggestions as to how I might get my evaluation underway.

Thanks

KJC
0 Kudos
TimP
Honored Contributor III
1,528 Views
In my experience with VS2008, I have run into the missing rc.exe only on Windows 7. The repair option never fixed it; it was necessary to remove and re-install from scratch until rc.exe was provided, then apply update.
If you add rc.exe to the folder where it would have been expected in VS2005, it is ignored. In the corrected installation, it was found under SDK.
0 Kudos
Steven_L_Intel1
Employee
1,528 Views
KJC, I think the problem you're having is due to the incomplete install of Visual Studio. The issue reported in this thread is only when the bundled Visual Studio Premier Partner Edition or Shell was installed, not a separate VS install.

In Visual Studio, select Tools > Options > Intel Visual Fortran > Compilers. Click on the button for Executables. It should look like this (with a critical line highlighted):

$(IFortInstallDir)bin\ia32
$(CommonProgramFiles)\Intel\Shared Files\Ia32\Bin
$(VSInstallDir)Common7\IDE
$(VCInstallDir)BIN
$(VSInstallDir)Common7\Tools
$(VSInstallDir)Common7\Tools\bin
$(FrameworkDir)$(FrameworkVersion)
$(WindowsSdkDir)bin
$(PATH)

If it does not, click Reset All on the Options dialog to reset this.

If that does appear, make sure that rc.exe is present in C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin - this is where VS puts it. You may need to uninstall Visual Studio and reinstall, making sure that the "Visual C++" component is selected. If you are building 64-bit applications, choose a Custom install and check the box under Visual C++ for "x64 Compiler and Tools". Then reinstall Intel Visual Fortran.
0 Kudos
kjc
Beginner
1,528 Views
Steve

I have followed your advice and my build is now successful. Thank you

kjc
0 Kudos
Reply