- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I got a link error:
LINK : fatal error LNK1104: cannot open file 'ifconsol.lib'
The file is there but the compiler not finding it.
I am making a 32bit version on Xeon with Intel Fortran 9.1 [IA32].
My lib environment which I get from "Options" under "Tool" menu is:
$(IFORTInstallDir)Lib
$(VCInstallDir)lib
$(VCInstallDir)atlmfclib
$(VCInstallDir)atlmfclibi386
$(VCInstallDir)PlatformSDKlib
$(FrameworkSDKDir)lib
$(VSInstallDir)
$(VSInstallDir)lib
C:Program Files (x86)Microsoft Visual Studio 8VCATLMFCLIB
C:Program Files (x86)Microsoft Visual Studio 8VCLIB
C:Program Files (x86)Microsoft Visual Studio 8VCPlatformSDKlib
C:Program Files (x86)Microsoft Visual Studio 8SDKv2.0lib
%IFORT_COMPILER91%IA32Lib
%IFORT_COMPILER91%EM64TLib
Could you please let me know what's wrong?
-BO
Link Copied
- « Previous
- Next »
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Peter, that would have no effect for a Fortran project. Please set the project property Linker > General > Show Progress > Show some progress messages), do a rebuild, and then attach a zip of the buildlog.htm from the Debug folder.
- 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
Ok - well, that didn't tell me much.
What do you have listed under Tools > Options > Intel Composer XE > Visual Fortran > Compiler > Libraries?
I assume you saw the compile error for the directive that is missing the routine name. I had fixed this when I was playing with your project earlier.
- 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
You didn't provide the information from Tools > Options I asked for.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oops. I did not noitice the ..,
$(IFortInstallDir)lib\ia32
$(VCInstallDir)atlmfc\lib
$(VCInstallDir)lib
$(WindowsSdkDir)lib
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That looks ok. Try putting in the full path to the lib\ia32 folder in that list as a workaround.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks. Thr patch works provided the full path is first e.g.
'C:\Program Files (x86)\Intel\Composer XE 2013\compiler\lib\ia32'
$(IFortInstallDir)lib\ia32
$(VCInstallDir)atlmfc\lib
$(VCInstallDir)lib
$(WindowsSdkDir)lib
How can I find the value of my "$(IFortInstallDir)" or some other sysmbol? ThoughI guess if it was wrong nothing would work?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I too would have expected it would either work everywhere or nowhere. I know we had some issue with these pseudo-environment-variables in Update 2 that were fixed in Update 3, but perhaps there is some lingering issue. The values come from the registry when Fortran is installed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve
The problem has returned and I cannot name any changes.
- The " Try putting in the full path to the lib\ia32 fold" patch is still in place.
- I tried adding the path to the project libraries
- I even tried rebootiing .. but no,luck.
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What if you put the path in Linker > General > Additional library directories? This is all very strange... Please attach another zipped buildlog.htm after trying this (if it doesn't work.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Steve
The recent problem was solved by remoiving my quotes e.g.
C:\Program Files (x86)\Intel\Composer XE 2013\compiler\lib\ia32
and is fine in " Tools > Options > Intel Composer XE > Visual Fortran > Compiler > Libraries?"
But, as I "cut and pasted way above" the quotes were there whan we fixed it!
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Right - you should not use quotes here.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- « Previous
- Next »