- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I recently had to reinstall my Visual Studio 2008 standard edition and Intel(R) Visual Fortran Compiler XE 13.1.0.149 [IA-32]. A copy of Help|About is given below.
Now, although the Visual Studio integration seems to be OK (See the data from Tools|Intel Composer XE|Visual Fortran|Compilers given below), I get the following errors when building from the IDE:
fatal error RC1015: cannot open include file 'afxres.h', when trying to compile resources, and
error #10037: could not find 'link', when trying to build existing applications
It seems that somehow $(VSInstallDir) and $(VCInstallDir) do not resolve to VS and VC install folders. 'afxres.h' and 'link.exe' are available under $(VCInstallDir)atlmfc\include resp. $(VCInstallDir)BIN
I have uninstalled and reinstalled several times (actually spend the entire weekend trying to find a solution), but without result.
I hope someone has a solution for this issue.
kind regards,
Walter Kramer
- Executables: $(IFortInstallDir)bin\ia32;$(VSInstallDir)Common7\IDE;$(VCInstallDir)BIN;$(VSInstallDir)Common7\Tools;$(VSInstallDir)Common7\Tools\bin;$(FrameworkDir)$(FrameworkVersion);$(WindowsSdkDir)bin;$(PATH)
- Libraries: $(IFortInstallDir)compiler\lib\ia32;$(IFortInstallDir)mkl\lib\ia32;$(VCInstallDir)atlmfc\lib;$(VCInstallDir)lib;$(WindowsSdkDir)lib;$(FrameworkSDKDir)lib;
- Includes: $(IFortInstallDir)compiler\include;$(IFortInstallDir)compiler\include\ia32;$(IFortInstallDir)mkl\include;$(VCInstallDir)atlmfc\include;$(VCInstallDir)include;$(WindowsSdkDir)include;$(FrameworkSDKDir)include
Microsoft Visual Studio 2008
Version 9.0.30729.1 SP
Microsoft .NET Framework
Version 3.5 SP1
Installed Edition: Standard
Microsoft Visual Basic 2008 91851-136-2607274-60684
Microsoft Visual Basic 2008
Microsoft Visual C# 2008 91851-136-2607274-60684
Microsoft Visual C# 2008
Microsoft Visual C++ 2008 91851-136-2607274-60684
Microsoft Visual C++ 2008
Microsoft Visual Web Developer 2008 91851-136-2607274-60684
Microsoft Visual Web Developer 2008
Hotfix for Microsoft Visual Studio 2008 Standard Edition - ENU (KB2538241) KB2538241
This hotfix is for Microsoft Visual Studio 2008 Standard Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/2538241.
Hotfix for Microsoft Visual Studio 2008 Standard Edition - ENU (KB944899) KB944899
This hotfix is for Microsoft Visual Studio 2008 Standard Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/944899.
Hotfix for Microsoft Visual Studio 2008 Standard Edition - ENU (KB945282) KB945282
This hotfix is for Microsoft Visual Studio 2008 Standard Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/945282.
Hotfix for Microsoft Visual Studio 2008 Standard Edition - ENU (KB946040) KB946040
This hotfix is for Microsoft Visual Studio 2008 Standard Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/946040.
Hotfix for Microsoft Visual Studio 2008 Standard Edition - ENU (KB946308) KB946308
This hotfix is for Microsoft Visual Studio 2008 Standard Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/946308.
Hotfix for Microsoft Visual Studio 2008 Standard Edition - ENU (KB946344) KB946344
This hotfix is for Microsoft Visual Studio 2008 Standard Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/946344.
Hotfix for Microsoft Visual Studio 2008 Standard Edition - ENU (KB946581) KB946581
This hotfix is for Microsoft Visual Studio 2008 Standard Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/946581.
Hotfix for Microsoft Visual Studio 2008 Standard Edition - ENU (KB947173) KB947173
This hotfix is for Microsoft Visual Studio 2008 Standard Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947173.
Hotfix for Microsoft Visual Studio 2008 Standard Edition - ENU (KB947540) KB947540
This hotfix is for Microsoft Visual Studio 2008 Standard Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947540.
Hotfix for Microsoft Visual Studio 2008 Standard Edition - ENU (KB947789) KB947789
This hotfix is for Microsoft Visual Studio 2008 Standard Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947789.
Hotfix for Microsoft Visual Studio 2008 Standard Edition - ENU (KB948127) KB948127
This hotfix is for Microsoft Visual Studio 2008 Standard Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/948127.
Hotfix for Microsoft Visual Studio 2008 Standard Edition - ENU (KB953256) KB953256
This hotfix is for Microsoft Visual Studio 2008 Standard Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/953256.
Hotfix for Microsoft Visual Studio 2008 Standard Edition - ENU (KB971091) KB971091
This hotfix is for Microsoft Visual Studio 2008 Standard Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/971091.
Hotfix for Microsoft Visual Studio 2008 Standard Edition - ENU (KB971092) KB971092
This hotfix is for Microsoft Visual Studio 2008 Standard Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/971092.
Intel(R) Visual Fortran Package ID: w_fcompxe_2013.2.149
Intel(R) Visual Fortran Composer XE 2013 Update 2 Integration for Microsoft Visual Studio* 2008, 13.0.3615.2008, Copyright (C) 2002-2013 Intel Corporation
* Other names and brands may be claimed as the property of others.
Microsoft Visual Studio 2008 Standard Edition - ENU Service Pack 1 (KB945140) KB945140
This service pack is for Microsoft Visual Studio 2008 Standard Edition - ENU.
If you later install a more recent service pack, this service pack will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/945140.
Microsoft Visual Studio 2008 Standard Edition - ENU Service Pack 1 (KB947888) KB947888
This service pack is for Microsoft Visual Studio 2008 Standard Edition - ENU.
If you later install a more recent service pack, this service pack will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947888.
Microsoft Visual Studio 2008 Standard Edition - ENU Service Pack 1 (KB948484) KB948484
This service pack is for Microsoft Visual Studio 2008 Standard Edition - ENU.
If you later install a more recent service pack, this service pack will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/948484.
Security Update for Microsoft Visual Studio 2008 Standard Edition - ENU (KB2251487) KB2251487
This security update is for Microsoft Visual Studio 2008 Standard Edition - ENU.
If you later install a more recent service pack, this security update will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/2251487.
Security Update for Microsoft Visual Studio 2008 Standard Edition - ENU (KB2669970) KB2669970
This security update is for Microsoft Visual Studio 2008 Standard Edition - ENU.
If you later install a more recent service pack, this security update will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/2669970.
Update for Microsoft Visual Studio 2008 Standard Edition - ENU (KB956453) KB956453
This update is for Microsoft Visual Studio 2008 Standard Edition - ENU.
If you later install a more recent service pack, this update will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/956453.
Update for Microsoft Visual Studio 2008 Standard Edition - ENU (KB967143) KB967143
This update is for Microsoft Visual Studio 2008 Standard Edition - ENU.
If you later install a more recent service pack, this update will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/967143.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That you get "cannot find link" is a more serious concern to me. Try adding the direct path to the C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin folder (omit (x86) if on a 32-bit system) to the executables path.
I have seen an ongoing issue with rc.exe not being able to find the various .h files even though the include path is filled in correctly. It appears that when rc is called from a Fortran project it doesn't get its include path right. I already escalated this to development (issue DPD200235387) and will see if I can get an update. I noted when I first encountered this that I couldn't reproduce it in VS2008, I could in VS2010 but only on a system that also had VS2012 installed. It is baffling.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Adding the direct path(s) does indeed solve the problem, both for link and for the resource header files.
$(IFortInstallDir) seems to be set correctly (resolves into the Fortran installation folder) because the fortran source files compile without a problem. However $(VCInstallDir) seems not to be set correctly or is somehow not recognized.
I have tried to use the SET command (from Visual Studio) to see if the variables are set correctly in the local environment, but I didn't succeed (could use tools.shell cmd an then set, but the variables did not show up). I have no idea when, where and how the variables are or should be defined.
If I run vsvars32.bat (located in Microsoft Visual Studio 9.0\Common7\Tools\), the environment variables VCInstallDir and VSInstalldir appear after calling SET and refer to the correct folders, however this doesn't make them available from within the VS IDE (and don't appear when calling SET command from VS IDE)
Any idea?
Thanks,
Walter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You would have tro start the VS environment with "devenv /useenv" in order to use those environment variables, otherwise the values stored in the registry (as shown in Tools > Options) are used. VCInstallDir and FortranInstallDir aren't real environment variables - they're created by VS based on registry entries.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
See my reply above.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am told that the issue from this thread is fixed in update 3, which should be out this week.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks so far, as soon as the the update is available I will do a test and let you know the outcome in this thread.
Walter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Update 3 indeed fixes the issue from this thread.
Thanks,
Walter Kramer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hooray!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Intel Parallel Studio XE 2013 Update 3 includes Intel Visual Fortran Composer XE 2013 Update 3, so either is ok. If you have a PSXE license you can install individual components, but the Studio suites nowadays update at the same frequency as Composer XE.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page