June 27, 2009 3:17 PM PDT
Fortran Compiler Help in Visual Studio 2008 Shell
I have just installed VF 11.1.035 for IA32 and and Intel 64 with Visual Studio 2008 Shell. When I try to access the Compiler Help from the Help menu, I get a broken link message. The relevant main_for.chm file can be found, however, in the Documentation folder of the compiler installation. Is there any way of repairing the link ?
The documentation from inside VS is actually not from that .chm. In C:\Program Files\Intel\Compiler\11.1\035\help should be a file H2Reg_log.txt. Please attach that to a reply here.
The documentation from inside VS is actually not from that .chm. In C:\Program Files\Intel\Compiler\11.1\035\help should be a file H2Reg_log.txt. Please attach that to a reply here.
Steve, there is no H2Reg_log.txt in my 11.1.035 installation. This is surely the problem. What now ? How about uninstalling the Compiler, leaving the VS 2008 Shell, and then reinstalling just the VF IA32 Compiler ?
I tried the "repair" option in the full IA32 & Intel 64 & VS2008Shell installation package. That did not work. I uninstalled the 11.1.035 compiler and removed all traces of the installation package in the download folder, then installed the IA32 package (I only use 32 bit). I now have the VF help OK. But now, I have the "rc.exe not found" problem. There is no Microsoft SDKs\Windows\V6.0A\bin folder with rc.exe in it as mentioned in another of your interventions. You suggected repairing the VS2008Shell. How would I go about doing that using the full IA32 & Intel 64 & VS2008Shell package, which is the only package I have with the Shell ? Is there another way of putting the rc.exe file in the SDKs ?
Visual Studio 2008 Shell should appear as a separate entry in Add or Remove programs. Does it have a Change button? If so, click that and you should be offered a chance to repair it.
Visual Studio 2008 Shell should appear as a separate entry in Add or Remove programs. Does it have a Change button? If so, click that and you should be offered a chance to repair it.
Found the repair option. That did not change the contents of the SDKs.
I had to reinstall a version with VS2008 Shell to see what it does...
When you're using VS2008 Shell, rc.exe is in Program Files\Microsoft Visual Studio 9.0\VC\bin. In Visual Studio, select Tools > Options > Intel Visual Fortran > Compiler and click on the ... button next to Executables. One of the lines listed should be:
$(VCInstallDir)BIN
That's how Visual Studio will locate rc.exe (and link.exe).
I had to reinstall a version with VS2008 Shell to see what it does...
When you're using VS2008 Shell, rc.exe is in Program Files\Microsoft Visual Studio 9.0\VC\bin. In Visual Studio, select Tools > Options > Intel Visual Fortran > Compiler and click on the ... button next to Executables. One of the lines listed should be:
$(VCInstallDir)BIN
That's how Visual Studio will locate rc.exe (and link.exe).
What do you have in the VC\bin folder?
Although there is a $(VCInstallDir)BIN line in Executables, there is no Program Files\Microsoft Visual Studio 9.0\VC\bin folder.
Yes, but no \bin. The problem is quite severe as other links in the VS Options Executable are non existant. I noticed the rc.exe file is in the VS *.cab file in the download of the initial package I used. The package for some reason did not properly install (perhaps because I did a custom install, not installing the 64 bit MKL which I do not use; this might have perturbed the installer). Maybe I should uninstall everything and try a fresh install again ?
Well, Steve, this is the weirdest. I uninstalled everything. I then installed "Intel® Visual Fortran for IA-32 and Intel® 64 (with Microsoft Visual Studio 2008 Shell and Libraries*)". The rc.exe file was installed but the VF Compiler Help was not available in VS9 (back to the beginning of the post). So I uninstalled the 11.1.035 Compiler. But this also removed rc.exe which I know was not installed by "Intel® Visual Fortran for IA-32 (for customers who have Microsoft Visual Studio* already installed)". So I reinstalled the full fackage. Lo and behold, rc.exe AND the Help file link were restored. So everything is now OK (tested with a previously run Fortran code). I will never remove this 11.1.035 version ! So thank you for your help. The problem was with the installation which perhaps has glitches on a system running Vista SP1.
I don't think Vista is relevant, but I have seen issues before with files being inappropriately removed. rc.exe is part of Visual Studio 2008 Shell, so you should be able to uninstall the 11.1.035 compiler in the future and the VS08 components will stay (it's SUPPOSED to work that way, anyway.)