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.
29285 Discussions

fatal error LNK1104: cannot open file 'ifconsol.lib'

wong_j
Beginner
965 Views
I am trying to build an application out of several source files. Compilation goes on OK, but at linking I keep getting the message:

LINK: fatal error LNK1104: cannot open file 'ifconsol.lib'

It works if I am using the 11.0.074 compiler. However when I am using the 11.1038, I get the error.

The file is located in C:\Program Files\Intel\Compiler\11.1\038\lib\ia32
0 Kudos
3 Replies
Steven_L_Intel1
Employee
965 Views

Please attach the buildlog.htm from the Debug or Release folder after a failed build.
0 Kudos
wong_j
Beginner
965 Views
[cpp]Build started: Project: MERGE, Configuration: Debug|Win32
 Command Lines      Creating temporary file "c:devMERGEMERGEDebugRSP0000222642512.rsp" with contents
[
/OUT:"C:devMERGEDebugMERGE.exe" /INCREMENTAL /MANIFEST /MANIFESTFILE:"DebugMERGE.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"C:devMERGEDebugMERGE.pdb" /SUBSYSTEM:CONSOLE /DYNAMICBASE /NXCOMPAT /MACHINE:X86 C:devOCC600ProjectsMERGE_LIBDebugMERGE_LIB.lib C:devOCC600TEMP_LIBDebugOCC600_LIB.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib

".DebugMainProg.obj"

".DebugMERGE.exe.embed.manifest.res"
]
Creating command line "link.exe @c:devMERGEMERGEDebugRSP0000222642512.rsp /NOLOGO /ERRORREPORT:PROMPT"
 Output Window      Linking...
LINK : fatal error LNK1104: cannot open file 'ifconsol.lib'
 Results      Build log was saved at "file://c:devMERGEMERGEDebugBuildLog.htm"
MERGE - 1 error(s), 0 warning(s)
 [/cpp]
Quoting - wong.j
I am trying to build an application out of several source files. Compilation goes on OK, but at linking I keep getting the message:

LINK: fatal error LNK1104: cannot open file 'ifconsol.lib'

It works if I am using the 11.0.074 compiler. However when I am using the 11.1038, I get the error.

The file is located in C:Program FilesIntelCompiler11.1�38libia32

0 Kudos
Steven_L_Intel1
Employee
965 Views
Is this a Fortran or C++ project type? If C++, you need to configure C++ for mixed-language programming.

But try this. Go to Tools > Options > Intel Fortran > Compilers. Make sure that is selected. Click the Reset button. Close and rebuild. Does this help?
0 Kudos
Reply